Volker Krause
30f8573dfc
Show live location shares on the room map as well
2023-06-22 15:17:40 +00:00
Volker Krause
7f067b698e
Unify map markers on the full screen and room maps as well
2023-06-22 15:17:40 +00:00
Volker Krause
898f0c962a
Factor out map marker into its own QML element for reuse
2023-06-22 15:17:40 +00:00
Tobias Fella
5b4ae764cf
Show a map for location events
2023-06-22 15:17:40 +00:00
Carl Schwan
bd5ed0f46c
Fix toolbar of RoomList when using font size 11px
...
We don't need to use a ToolBar for the titleDelegate since the
titleDelegate is already included inside a toolbar. This work magically
when using the default font size of 10px Noto Sans but breaks with 11px
BUG: 467242
2023-06-18 07:00:47 +00:00
Carl Schwan
5552cd60f6
Group pageStack properties of the ApplicationWindow together
2023-06-17 21:29:15 +02:00
Tobias Fella
c51a1f4851
Fix another missing import
2023-06-17 14:32:03 +02:00
James Graham
a27f4765e4
Fix permission model
...
Make sure `Permissions.qml` uses the right role.
2023-06-17 09:34:42 +00:00
James Graham
402f99923c
Fix NeoChatRoom type QML
...
Make sure import `org.kde.neochat 1.0` is included where `NeoChatRoom` is used as a type
2023-06-17 09:26:22 +00:00
Volker Krause
25f9c7e125
Compute live location bounding box and center the map accordingly
2023-06-16 14:12:15 +00:00
Volker Krause
59495a1452
Show starting live location beacons as location delegates in the timeline
...
Also, hide ending live location beacon state changes.
2023-06-16 14:12:15 +00:00
Volker Krause
09ded20409
Fix location map asset check
2023-06-11 10:26:41 +02:00
Tobias Fella
1de160cb19
Fix the search page
...
The search model needed to adapted to the changes in messageeventmodel
2023-06-10 13:57:03 +00:00
Volker Krause
7c75a2fd06
Create the OSM QtLocation plugin only once
...
Just loading that plugin already triggers an HTTP request, so lets only
do that when really needed and even more importantly, not for every single
location delegate again.
2023-06-09 18:39:38 +02:00
James Graham
105be518c7
Further improvements to the ChatBox API
...
Further improvements to the ChatBox API so that outside components no longer access the ChatBar item directly.
2023-06-09 15:02:42 +00:00
Tobias Fella
47c28ce9a2
Improve QML types
2023-06-08 20:26:34 +00:00
Tobias Fella
72c85af407
Implement creating spaces
2023-06-08 20:05:53 +00:00
Tobias Fella
a02232dc19
Fix custom emojis being visible in the sticker selector
2023-06-08 19:43:52 +00:00
Joshua Goins
c2580c1d2d
Use correct placeholder message when there's no stickers
...
Instead of saying "No emojis" which doesn't make sense on the sticker
page.
2023-06-08 14:43:11 -04:00
Tobias Fella
bc4c4f8519
Refactor login
...
BUG: 469486
2023-06-08 17:29:09 +00:00
Volker Krause
9e78ab3328
Fix location markers not being shown on the map
2023-06-07 17:30:06 +02:00
Tobias Fella
8b71e56a5f
Remove unneeded fallback
2023-06-05 21:41:13 +02:00
Tobias Fella
f5aa5ac7f4
Remove unneeded fallback for user's display name
...
The display name falls back to the user id internally.
2023-06-05 21:38:48 +02:00
James Graham
075d2fda4d
Small chatbox api improvement
...
Small improvement to the chatbox api by making currentRoom explicit and removing redundant properties.
2023-06-05 18:20:12 +00:00
Tobias Fella
1f4b984664
Unify emoji and sticker settings pages
2023-06-04 08:11:36 +00:00
James Graham
d5a6c7683e
Fix missing end of comment block.
2023-05-31 17:13:18 +01:00
James Graham
fa37f28c94
Improve Delegate Width Sizing
...
Create a cpp helper class to calculate the correct delegate width given it's parent width.
This is designed to be more robust and hopefully easier to understand than the current mass of javascript calcs.
BUG: 470167
2023-05-30 18:14:25 +00:00
James Graham
d09cd5d71b
Cleanup the list of required properties for MessageDelegateContextMenu
2023-05-29 15:03:34 +00:00
James Graham
4e40f5c7d9
getUser UserDetailDialog
...
Use `NeoChatRoom::getUser` to provide the user properties in `UserDetailDialog`
2023-05-29 13:43:24 +00:00
James Graham
e1d4b66479
Unify getUser
...
Always use `NeoChatRoom::getUser` for getting user details in a room context.
- `MessageEventModel` now calls `getUser`
- `getUser` is now overloaded to also be able to take a `NeoChatUser*`
- add params to `getUser` that are needed for the model outputs
2023-05-27 18:27:28 +00:00
Tobias Fella
f2aa375b43
Rename AccountStickerModel to AccountEmoticonModel
...
In preparation for using it for custom emojis as well
2023-05-27 16:38:25 +00:00
James Graham
ee53793a6d
Fix replying and editing from chatbox
...
Restore the functionality to edit or reply to the last message in the `chatbar`.
This is achieved be moving the functions `getLastLocalUserMessageEventId` and `getLatestMessageFromRow` to `NeoChatRoom` as `editLastMessage` and `replyLastMessage` as `chatbar` no longer has access to `messageEventModel`.
The functions are also simplified as they only need to find the `eventId` and always from row 0 as this was the only use of the functions.
BUG: 469733
2023-05-27 16:36:09 +00:00
James Graham
528d46be9f
Fix the room timeline being dragged when selecting text by making it non...
...
Fix the room timeline being dragged when selecting text by making it non interactive in desktop mode.
BUG: 467163
2023-05-27 16:06:20 +00:00
James Graham
09ced090f2
Use replyId role for reply ID
2023-05-27 16:12:21 +01:00
James Graham
8ad23e7a40
Timeline required properties
...
Move to using required properties for timeline delegates.
2023-05-27 14:57:34 +00:00
Shubham Arora
aae5519bed
NeochatMaximizeComponent.qml: Add sourceWidth and sourceHeight
...
Depends on: https://invent.kde.org/libraries/kirigami-addons/-/merge_requests/103
2023-05-23 16:41:14 +00:00
James Graham
8741fd8fed
Refactor hover actions
...
Refactor hover actions into their own component.
2023-05-21 15:36:43 +00:00
Tobias Fella
4dcb19edb7
Fix avatar source warning
2023-05-20 19:47:12 +00:00
Tobias Fella
838abc9af3
Fix binding loop in GroupChatDrawerHeader
2023-05-20 19:29:35 +00:00
Tobias Fella
7283b2dd4d
Use NavigationTabButtons for Emoji and sticker categories
2023-05-20 17:03:56 +00:00
Nate Graham
69bfa1394c
Focus message search window's search field by default
...
BUG: 469879
2023-05-19 13:16:21 +00:00
Tobias Fella
e42c1c1f69
Use NavigationTabBar for emoji/sticker picker
2023-05-17 14:02:03 +00:00
Tobias Fella
f7881d0661
Fix spacedrawer being visible when there are no spaces
...
We can't (easily) make this declarative, since there are no spaces on startup, causing the loader to be disabled,
making the repeater not load anything, which means the loader stays disabled.
We should figure out a better solution, since this means that the drawer doesn't open immediately when joining a space,
but for now this fix is better then the current bug.
2023-05-17 15:38:10 +02:00
James Graham
a5a2c0b03e
Reaction Model
...
Create a reaction model that provides all the required data for `ReactionDelegate` so that none need to be calculated in QML.
This also cleans up the API for `ReactionDelegate`
2023-05-16 16:44:02 +00:00
Tobias Fella
4d2e64cb80
Cleanup name handling in RoomListModel
...
Replace NameRole with DisplayNameRole entirely.
2023-05-16 16:38:53 +02:00
Tobias Fella
5bdd67dcc1
Fix background color of TypingPane
2023-05-16 14:36:37 +00:00
Tobias Fella
2ff92bea70
Fix warning for empty avatar source
2023-05-16 14:11:38 +00:00
Tobias Fella
4c575f18d1
Fix avatar name
2023-05-14 23:57:32 +02:00
Tobias Fella
b629961a70
Create account sticker editor
2023-05-14 20:33:51 +00:00
Akseli Lahtinen
3d687a283e
Add more bottom margin
...
Adds more bottom margin so the Now Typing box wont cover the text
BUG: 469616
2023-05-13 17:21:31 +00:00