Carl Schwan
7d3240c597
Refactor completion menu
...
- Use new Avatar
- Use required property in delegate
(cherry picked from commit 75cd77facb )
2023-07-24 10:46:57 +02:00
Carl Schwan
9906ba8b7d
Move no connection info message to the top
...
(cherry picked from commit f8d3e25f8e )
2023-07-24 10:46:35 +02:00
Carl Schwan
ef5d67e5bf
Add back some spacing around the avatar in the timeline
...
(cherry picked from commit b486cb905c )
2023-07-22 22:32:28 +02:00
Carl Schwan
1688b00f48
Port Avatar usage in Settings KirigamiAddons
...
(cherry picked from commit 3e6c426397 )
2023-07-22 22:32:27 +02:00
Carl Schwan
410befa4bf
Port most Avatar usage to new KirigamiAddons Avatar
...
(cherry picked from commit 847f41e1ad )
2023-07-22 22:32:27 +02:00
Carl Schwan
b380c74b0e
Remove hover effect on timeline events
2023-07-22 22:32:20 +02:00
Carl Schwan
da8227931f
Remove duplicated code in QuickSwitcher for RoomDelegate
2023-07-22 22:31:42 +02:00
Carl Schwan
fdc45ec5c8
Redesign room list
...
Use KirigamiAddons.Delegated.RoundedItemDelegate
2023-07-22 22:31:38 +02:00
Tobias Fella
fc04af536d
Fix opening user mentions
...
(cherry picked from commit 646c8ba8fe )
2023-07-18 08:06:16 +02:00
Laurent Montel
0e1c7f8c47
Fix qml Audio/Video support in qt6 too.
...
in Audio qt6 we don't have autoload feature but we disable it in qt5 => it seems ok
In Video qml qt6 we don't have flushMode.
2023-07-15 12:51:13 +00:00
Laurent Montel
98e86f887b
Adapt qml for qt5 and qt6
2023-07-12 22:28:08 +00:00
Carl Schwan
213aaf3ac4
Ensure chat box and userInfo have the same height
2023-07-09 22:32:46 +00:00
James Graham
c55b40c9c6
Media Model
...
Create a media model for all the media message in the timeline and then setup `NeoChatMaximizeComponent` so that it can use the media model to scroll through all loaded images and video in the current room.
Depends upon libraries/kirigami-addons!105
FEATURE: 467411
2023-07-08 11:07:04 +00:00
Volker Krause
2f65cbeb36
Show location descriptions in the timeline when available
2023-07-06 15:08:42 +00:00
Volker Krause
53719b971d
Show a placeholder message if there are no shared locations
2023-06-22 15:17:40 +00:00
Volker Krause
64a1316f9b
Zoom/center the page map so that all locations are in view
2023-06-22 15:17:40 +00:00
Volker Krause
c06e69931a
Add fullscreen map to live location delegates as well
2023-06-22 15:17:40 +00:00
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
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
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
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
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
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
7283b2dd4d
Use NavigationTabButtons for Emoji and sticker categories
2023-05-20 17:03:56 +00:00
Tobias Fella
e42c1c1f69
Use NavigationTabBar for emoji/sticker picker
2023-05-17 14:02:03 +00: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
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