James Graham
c2398b19dc
Fix mark all read on room change
...
Fix it so that the view is correctly positioned at the bottom when the room is changed and make sure this is not seen as a scroll event (i.e. messages are not automatically marked as read but the timer has to time out first and all visible on screen).
2023-08-05 17:38:21 +00:00
James Graham
4b3dac025f
Declare currentRoom property
...
Make sure `currentRoom` is a property for every qml component where it's used in `chatbar`.
2023-08-05 16:50:06 +00:00
James Graham
bc4431462a
Chatbox id for all property refs
...
Change the chatbox id to root and use for all references to it properties. Using root.currentRoom is needed for the chatbar to be visible in KF6
2023-08-04 13:56:26 +00:00
James Graham
25e0e3fa8e
Remove NeoChatUser and just use Quotient::User this simplifies things and avoids casting from one to the other which address santizer didn't like
2023-08-01 15:57:58 +00:00
Volker Krause
00c0d1c276
Add heading indicator for live locations
...
Heading isn't covered by any MSC so far, so that is using Itinerary's
vendor prefix for now.
2023-07-31 18:06:52 +02:00
Tobias Fella
f9514fe925
Add accessible name to chatbar
2023-07-30 22:57:43 +02:00
Carl Schwan
f8d3e25f8e
Move no connection info message to the top
2023-07-24 08:45:10 +00:00
Carl Schwan
75cd77facb
Refactor completion menu
...
- Use new Avatar
- Use required property in delegate
2023-07-24 08:44:49 +00:00
Carl Schwan
b486cb905c
Add back some spacing around the avatar in the timeline
2023-07-22 18:41:09 +00:00
Carl Schwan
3e6c426397
Port Avatar usage in Settings KirigamiAddons
2023-07-22 18:41:09 +00:00
Carl Schwan
847f41e1ad
Port most Avatar usage to new KirigamiAddons Avatar
2023-07-22 18:41:09 +00:00
Carl Schwan
dbf67b984e
Fix reply error message when the reply is not loaded yet
2023-07-21 11:24:10 +02:00
Tobias Fella
13988da4fc
Add login appium test
2023-07-20 07:14:23 +00:00
Carl Schwan
0847839abc
Remove hover effect on timeline events
2023-07-20 08:40:15 +02:00
Carl Schwan
6b55e502a0
Remove duplicated code in QuickSwitcher for RoomDelegate
2023-07-20 08:39:59 +02:00
Carl Schwan
8f81629ac1
Redesign room list
...
Use KirigamiAddons.Delegated.RoundedItemDelegate
2023-07-20 08:39:57 +02:00
Carl Schwan
7f459cb90f
Redesign timeline
...
Remove border von bubbles and only hilight the bubble on hover
2023-07-20 08:38:51 +02:00
Tobias Fella
646c8ba8fe
Fix opening user mentions
2023-07-18 05:54:15 +00: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