James Graham
799ffa18c4
Fix the javascript when using .?
2024-07-20 22:35:41 +00:00
Tobias Fella
34fc1f6a6b
Fix text alignment in ReadMarkerDelegate
2024-07-20 21:54:55 +02:00
James Graham
73de99f661
Create a list model for readmarkers
...
Create a list model for read markers. The primary reason is to stop `RoomMembers` being accessed after their state event is deleted. With this the read marker doesn't pass and `RoomMember` objects to qml.
2024-07-20 18:05:15 +00:00
Andreas Gattringer
d5e400e8a4
stop video on destruction to avoid segfault
2024-07-17 11:08:53 +00:00
Andreas Gattringer
c525ea55ce
fix typo in PollComponent that causes polls to not be checked correctly
2024-07-16 21:41:25 +02:00
Andreas Gattringer
8ca45f298f
show thumbail when video is stopped
2024-07-16 12:27:35 +02:00
Andreas Gattringer
cb4c6cb677
Audio filename, caption and seeking
...
- display caption independent of filename (consistancy to File)
- fix audio seeking not working
- change two comments and a variable name
2024-07-16 12:27:35 +02:00
Andreas Gattringer
20f9a86ad9
stop assigning undefined to bool in TimelineView and MessageDelegate
2024-07-16 12:27:35 +02:00
Andreas Gattringer
a4a411cf1f
correctly display filename in MimeComponents
...
(previously it would include the caption text and save with it as
filename)
Don't append filename to the caption.
Relevant spec: https://spec.matrix.org/latest/client-server-api/#mfile
2024-07-16 12:27:35 +02:00
Andreas Gattringer
0fd578e6aa
Refactor MimeComponent
...
- Fix size and duration not showing in MimeComponents in replies
- Display Itinerary in replies as MimeComponent (in consistency with media
components)
2024-07-16 12:27:35 +02:00
James Graham
68ce6c4ed7
It seems like it's possible for contentModel.Author to be accessed before the contentModel is set so make sure this fails nicely
2024-07-06 20:05:16 +00:00
Tobias Fella
e0c3a1c143
Port to ecm_add_qml_module
2024-07-06 19:50:20 +02:00
Tobias Fella
abbbd9d705
Use RoomMember object for code component
2024-07-06 16:27:08 +02:00
Tobias Fella
9db162d0fc
Fix avatar in state delegates
2024-07-06 16:16:44 +02:00
James Graham
068161719e
Update author documentation now we've moved to RoomMember
2024-06-30 17:59:40 +01:00
James Graham
52d07320ef
Make the author line in the bubble and reply be part of the content model
2024-06-30 17:59:40 +01:00
Tobias Fella
b3bd6ee176
Fix showing avatar image in HiddenDelegate
2024-06-30 15:53:02 +02:00
Tobias Fella
04696b27eb
Use type for member property
2024-06-30 15:53:02 +02:00
James Graham
430bafafe7
Make use of new RoomMember item from libquotient
...
Depends on https://github.com/quotient-im/libQuotient/pull/695
Currently basic just to show a working implementation using RoomMember. Currently only the room event and search models are moved over. Will change everything else over once the dependent pr is complete.
2024-06-29 17:30:28 +02:00
Joshua Goins
6275d7afaa
Switch from QQC2.ApplicationWindow.overlay to QQC2.Overlay.overlay
...
Closes #648
2024-06-08 11:47:30 -04:00
Joshua Goins
be66ffef0f
Fix map copyright link activation
...
The argument was missing, so it wasn't possible to actually click and
visit the copyright notices linked on maps.
2024-06-08 14:34:48 +00:00
James Graham
efb72652ce
Use MessageContentModel for replies
...
This allows code and other components to be displayed nicely.
2024-05-27 14:54:42 +00:00
Nicolas Fella
8186ee0e3f
Add missing dependencies to QML modules
2024-05-26 16:15:57 +02:00
James Graham
31f0e39617
Convert TimelineDelegate to cpp
...
There are 2 main reason for doing this:
1. Because I can, I wanted to see if I could do it
2. It gets rid of the janky qml re parenting stuff so should be faster.
2024-05-25 17:06:13 +00:00
James Graham
c9ddd9d513
Improve the behaviour of jump to last unread message.
...
Improve the behaviour of jump to last unread message. The view will now jump as high as possible if the last unread message isn't loaded. This at least triggers more items to load which will eventually get the user to the last unread message.
2024-05-24 07:55:05 +00:00
James Graham
0dfeec6cae
Make sure that the link preview sizes correctly so that there is no bubble overflow
2024-05-12 13:13:11 +00:00
Tobias Fella
47242aa66c
Remove remaining uses of MatrixImageProvider and remove it
2024-05-06 18:18:48 +02:00
Tobias Fella
85ff8cdd4a
Fix spacing of HiddenDelegate
2024-05-03 14:57:18 +02:00
Tobias Fella
affb911d97
Create QML module for chatbar
2024-04-25 23:02:59 +02:00
James Graham
de40701cf6
Multiple Link Previews
...
- Show a preview for each link in the text below the block in which it appears.
- Allow link previews to be dismissed
2024-04-23 19:45:33 +00:00
Tobias Fella
d74fd1a560
Force author display name in HiddenDelegate to PlainText
2024-04-22 23:14:31 +02:00
James Graham
ab0c8b8170
Use new cornerRadius Kirigami unit across the app
2024-04-21 19:19:57 +02:00
Tobias Fella
92895a7d00
Improve CodeComponent background
2024-04-21 18:21:54 +02:00
James Graham
012d30ee9f
Elide the Hidden delegate text
2024-04-21 13:33:00 +02:00
James Graham
8b63c18f65
Implement devtoool to show hidden timeline messages
2024-04-21 10:50:59 +00:00
James Graham
e5e0405401
Fix typo
2024-04-16 21:16:21 +01:00
James Graham
1e24bde9a9
Add hover button for maximising a code block
...
Forgot to add it with the maximize mr
2024-04-14 16:32:12 +00:00
Tobias Fella
3c4c538de8
Use declarative type registration for remaining types
2024-04-12 22:17:39 +02:00
James Graham
6a32d1e961
Create component for showing a maximize version of a code snippet
2024-04-01 11:20:10 +00:00
Tobias Fella
92351edcd0
Fix location delegates
...
- Mark OSMLocationPlugina as singleton in cmake
- Use this plugin for the LocationChooser
2024-03-31 20:57:58 +02:00
Tobias Fella
217f9e2e02
Set OUTPUT_DIRECTORY for qml modules
...
This fixes some cmake warning and might make qmlls happier
2024-03-29 20:06:26 +01:00
Tobias Fella
ab4519dedd
Show custom delegate for in-room user verification
...
This is independent of the in-room verification actually working, but prevents a fallback from appearing
2024-03-28 22:03:58 +01:00
James Graham
fbb4b962fa
Support selected text for replies in the right click menu
...
Support selected text for replies in the right click menu
BUG: 463885
2024-03-28 21:01:21 +00:00
James Graham
ceef2167fd
Don't Maximize Stickers
...
Make sure that sticker don't open the maximize component as they aren't in the media model
BUG: 482701
2024-03-24 10:01:41 +00:00
James Graham
aef9b7375a
Fix Opening Maximized Media
...
Make sure the Image and Video Components can correctly get the index for opening the Maximize Media component.
2024-03-23 17:52:29 +00:00
James Graham
ba45318b56
Improved itinerary delegates
...
Steal the look of itinerary items from itinerary but simplified. Also includes new support for flights and restaurants

2024-03-23 09:33:51 +00:00
James Graham
1671e05d12
More file previews
...
This adds previews for downloaded pdfs and code files.


2024-03-19 20:06:32 +00:00
Tobias Fella
33c55d1563
Add back errouneously removed import
2024-03-19 21:00:48 +01:00
James Graham
6f9a273d39
Timeline Module
...
Move all the timeline QML files into their own QML module. Having them all in the same location is annoying and hard to work with.
2024-03-18 18:39:59 +00:00