James Graham
612b5d7f47
Move all the enums for push rules into their own header file
2024-01-01 16:15:40 +00:00
James Graham
7e9f206348
Clear the emoji picker search when the dialog is closed
...
Clear the emoji picker search when the dialog is closed
BUG: 472873
2024-01-01 16:15:29 +00:00
James Graham
e807ad9908
Improve the unread marker behaviour
...
The fixes include:
- improving the timer to make it more reliable
- making sure a read marker is added when changin rooms, this is needed when the messages have already been loaded.
- increase the default timer to 10s to avoid the read marker disappearing and being re-added when a message arrive in quick succession.
BUG: 465300
2023-12-31 17:47:27 +00:00
Tobias Fella
2d8ad834a7
Fix showing stickers
2023-12-31 18:15:43 +01:00
Tobias Fella
d02eee6daa
Port away from and remove Controller::initiated
2023-12-23 13:39:41 +00:00
James Graham
4e141e05f0
Cleanup leftover issues from moving ReplyComponent away from GridLayout
...
Cleanup leftover issues from moving ReplyComponent away from GridLayout.
- Remove leftover GridLayout properties or references to them or convert as required
- Remove unneeded Item wrapper
2023-12-23 11:37:01 +00:00
Akseli Lahtinen
d1f421994d
Add config import to ReactionDelegate
...
Forgot to add this in https://invent.kde.org/network/neochat/-/merge_requests/1484
2023-12-18 21:16:47 +00:00
Carl Schwan
b043cbedc9
Make BanSheet frameless
...
Similar to https://invent.kde.org/network/neochat/-/merge_requests/1487
2023-12-18 19:24:31 +00:00
Carl Schwan
5a469ed126
Make ReportSheet frameless
...
Similar to https://invent.kde.org/network/neochat/-/merge_requests/1487
2023-12-18 16:45:34 +00:00
Akseli Lahtinen
8d209a5424
Make it easier to spot reaction buttons
...
In dark themes it can be very hard to spot the reaction
buttons when using compact mode.
Before:

After:

Also this uses the given colorscheme so it will work everywhere 😄
2023-12-18 16:23:00 +00:00
Carl Schwan
df4eba0191
Make the RemoveSheet frameless
2023-12-17 22:26:05 +00:00
Tobias Fella
862f4363a9
Use HTML-escaped display name in avatar tooltip
2023-12-03 16:40:09 +00:00
Tobias Fella
9b3a3dc562
Always clip roomlist
...
The current behavior is a leftover from some previous component
2023-12-03 14:59:08 +01:00
Tobias Fella
c2641a5fc2
Cleanup error reporting
2023-12-03 14:39:31 +01:00
Tobias Fella
1213ba5916
Don't show notifications view button when room list is collapsed
...
Looks broken
2023-12-03 14:23:33 +01:00
Tobias Fella
0521ff2c4d
Move PasswordStatus out of Controller
2023-12-03 14:09:41 +01:00
Tobias Fella
65c892787e
Don't suggest kicking or banning users with a power level too high for us to kick
2023-12-03 13:56:41 +01:00
James Graham
46fd288a95
Add some clarification around around offical and canonical parents
2023-12-02 13:21:26 +00:00
ivan tkachenko
259b9884c7
Set WrapMode on all TextArea components, and fix up some of the Labels
...
Upstream styles do not provide any wrapping by default, and thus we
should not rely on deceptively convenient override in qqc2-desktop-style.
See https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/331
2023-11-28 22:26:57 +00:00
Tobias Fella
5e12f50899
Wrap text in poll delegates
...
BUG: 477629
2023-11-27 20:44:19 +00:00
James Graham
ab4639926a
Fix isEdit Check MessageEditComponent
...
Stop the console being pinged with qrc:/org/kde/neochat/qml/MessageEditComponent.qml:158: TypeError: Cannot read property 'isEditing' of undefined.
Fixes network/neochat#629
2023-11-26 15:21:18 +00:00
Tobias Fella
89b6c54f25
Fix state delegate spacing
2023-11-26 15:06:35 +01:00
James Graham
27c9c62564
ResolveResource
...
Use ResolveResource rather than calling individual functions like visit user and room
2023-11-26 12:23:28 +00:00
James Graham
201aa82c04
Remove controller::joinRoom
...
Remove controller::joinRoom in favour of using RoomManager::OpenResource
2023-11-25 15:07:15 +00:00
Tobias Fella
410258c478
Join rooms when visiting them
...
BUG: 477261
2023-11-24 19:11:15 +01:00
James Graham
5efd17d370
Loading and End of Timeline Delegates
...
Add delegate for showing the user a loading indicator and for the beginning of the timeline.
BUG: 455045
BUG: 465285
2023-11-20 17:10:56 +00:00
Tobias Fella
6a3df8baf4
Fix initial visual focus in welcomepage
2023-11-19 14:09:08 +01:00
Carl Schwan
94bf2481f0
Fix spacing in login screen
2023-11-16 22:43:45 +01:00
Tobias Fella
5c32520c35
Add appium test for opening the user details sheet and fix some accessibility problems
2023-11-16 19:47:13 +01:00
Carl Schwan
1f8c07fedf
Make room timeline non interactible
...
Currently trying to scroll with this scrollbar is probablematic and it's
unlikely we will find an easy solution to fix it, so make it non interactible.
2023-11-14 19:16:02 +00:00
James Graham
6dc30a9ca7
Fix hover action position when wide
...
Fix the positioning of the hover actions when the window is wide by using the content x pos
2023-11-12 14:20:46 +00:00
Tobias Fella
fc546d4a43
Add notifications view
2023-11-12 13:16:09 +00:00
Tobias Fella
2435a6b953
Fix opening account editor
2023-11-11 23:06:26 +01:00
Tobias Fella
2d55dca508
Don't allow changing the power level for users with a power level higher or equal to ours
...
The server won't allow it anyway
2023-11-11 18:20:54 +00:00
Tobias Fella
bbb0bc3092
Improve and fix powerlevels dialog
2023-11-11 17:37:27 +00:00
James Graham
4065aa6a2e
Fix linkpreview tooltip
...
Fix linkpreview tooltip so that the correct text is always shown.
BUG: 467106
2023-11-11 17:29:15 +00:00
Tobias Fella
5942eac5ed
Force plaintext in permissions settings
2023-11-11 18:09:03 +01:00
Carl Schwan
86ef921cdb
Fix alignment user info
...
Otherwise we end up with two times largeSpacing as right margin for the
user info.
2023-11-11 15:40:15 +01:00
James Graham
aab69c5bae
Suggested rooms spaces
...
Add the ability to set and show suggested rooms for spaces.
This is just adding the basic functionality, we can do more things with it later like sort/filter the space home for example.
2023-11-11 13:32:19 +00:00
Carl Schwan
624578ec77
Improve welcome page
...
- Don't use card for welcome message and instead use same layout as
kwordquiz
- Add separator between login and register button
- Add type annotation in functions
2023-11-11 13:12:56 +00:00
Joshua Goins
31b4eefadd
Move closeDialog signal from Loading to LoginStep
...
This prevents errors because we try to connect to a non-existent signal
if the step is anything but Loading.
2023-11-10 18:40:37 +00:00
Joshua Goins
b8e592f8ba
Fix wrong argument being passed into maximize component creation
...
It's supposed to refer to the attached property on QQC2.Overlay, not
QQC2.ApplicationWindow
2023-11-10 18:36:49 +00:00
Tobias Fella
21bb7dce21
Fix background color of UserInfo
...
Previously, this would change when the window lost focus, which looks strange
2023-11-10 16:16:29 +01:00
Tobias Fella
84cad630cd
Refactor and fix ChatBox layouting
...
BUG: 474616
2023-11-09 20:19:09 +00:00
James Graham
0beb5df08d
Hide the search field for room members in a direct chat.
...
Hide the search field for room members in a direct chat as there are no members to search.
2023-11-09 20:11:38 +00:00
Tobias Fella
4ef44b8e93
Track online status per connection
2023-11-09 19:38:43 +01:00
James Graham
dbbad2cf13
Restricted Room Security
...
Create the required ux to allow the restricted room security setting to be re-enabled
BUG: 471307
2023-11-07 20:43:49 +00:00
Tobias Fella
7f9e709559
Improve initial active connection handling
...
If the last active connection is not reachable (server down, keychain problems,
token revoked, etc.), NeoChat currently fails to load at all, with the only fix
being to delete a line from the config file. This is surprisingly hard to fix with
a nice UX as long as we stick to the principle of loading the user's last active
connection automatically.
This patch thus drops that principle; instead, the user is always asked to choose
the connection to continue with.
2023-11-06 12:26:25 +00:00
Joshua Goins
1a4947b98a
Set accessible press actions for RoomDelegate
2023-11-05 18:09:20 -05:00
Tobias Fella
6ba2b715c3
Port away from Controller::activeConnectionIndex
2023-11-05 21:03:04 +00:00