Commit graph

118 commits

Author SHA1 Message Date
Kévin Commaille
71611bc34e
message-row: Show the sending status of messages
Also logs if a sending error is encountered
2023-11-16 12:43:06 +01:00
Kévin Commaille
98a7fc4c42
members-page: Use AdwNavigationView
Allows to use the default back button behavior of AdwHeaderBar
2023-11-15 14:04:43 +01:00
Kévin Commaille
96b870bd3f
room-details: Rename MemberPage to MembersPage 2023-11-15 11:07:27 +01:00
Maximiliano Sandoval R
41e96536ca window: Add title 2023-11-10 08:30:08 +00:00
Kévin Commaille
198b22618f
room-history: Show popover with list of read receipts on right click 2023-11-07 15:21:17 +01:00
Kévin Commaille
4fcaa2da7f
room-history: Show tooltip for read receipts details 2023-11-07 14:09:03 +01:00
Paul van Tilburg
cd1911fce8
room-history: Add popover to show senders of a reaction
The popover will show for a reaction the list of people that have sent
it and when they did.

* Add a `ReactionPopover` object for the popover
* Add a `ReactionSenderRow` object for senders as rows of the popover
* Add a `MemberReactionSender` object to represent a room member that
  sent a reaction
2023-11-06 20:57:20 +01:00
Kévin Commaille
58a5057b98
misc: Ensure most icons have a tooltip/accessibility label 2023-11-05 15:34:50 +01:00
Kévin Commaille
d2def499e0
member: Do not implement Display for Membership
Otherwise we are asking translators to translate strings that will
probable never be used.
Instead just mark for translation the variants we need.
2023-11-05 13:53:47 +01:00
Kévin Commaille
52c5f51280
room-history: Move message toolbar to a separate module 2023-11-04 12:56:05 +01:00
Kévin Commaille
7faaff93f3
Revert "room: Expose the language of a room"
This reverts commit c4c74c8aba.
2023-11-04 11:22:55 +01:00
Kévin Commaille
c4c74c8aba
room: Expose the language of a room 2023-10-30 12:44:12 +01:00
Kévin Commaille
1e8f1fe769
utils: Add message dialog to confirm leaving a room 2023-10-27 13:46:16 +02:00
Kévin Commaille
2e62541bef
room-details: Display the members list loading state 2023-10-26 13:37:16 +02:00
Kévin Commaille
85c874ed04
components: Rename LoadingListBoxRow to LoadingRow 2023-10-26 13:37:16 +02:00
Kévin Commaille
f40692f975
room-list: Persist Room metainfo between restarts
Allows to restore the RoomList in the exact same state, even without
waiting for the rooms timelines to be loaded
2023-10-22 11:52:14 +02:00
Kévin Commaille
251dd38aa5
item-row: Merge with event_actions
Since it's the only file to use it, it does not make sense to implement
event actions as a trait anymore.
2023-10-20 10:17:12 +02:00
Kévin Commaille
f93b794f5f
room-details: Use the new libadawaita 1.4 APIs
Now that it handles navigation with push and pop, we can reuse
AdwPreferencesWindow. Use also AdwNavigationPage and AdwToolbarView.
2023-09-17 18:11:35 +02:00
Kévin Commaille
d13b03a85e
misc: Put UI files next to the corresponding Rust files 2023-05-21 23:38:58 +02:00
Kévin Commaille
b15c5f0c8b
session: Reorganize submodules between model and view 2023-05-21 17:09:17 +02:00
Kévin Commaille
14ff518929 session: Move under session::model module 2023-05-21 14:56:36 +00:00
Kévin Commaille
faea2b4532
identity-verification: Use widget to show errors 2023-05-21 11:20:34 +02:00
Kévin Commaille
4afba6e736
session: Do not use Session to show toasts
This usually means we are trying to show a toast from a model Object,
which is not right.
2023-05-20 23:43:28 +02:00
Julian Sparber
d6decbebaa create-dm: Add dialog to create DM room 2023-05-16 12:18:28 +00:00
Marco Melorio
a5ef975ff3 history-viewer: Implement AudioHistoryViewer
Also add it as a RoomDetails' subpage.
2023-05-16 09:09:31 +00:00
Marco Melorio
89ed564822 history-viewer: Implement FileHistoryViewer
Also add it as a RoomDetails' subpage.
2023-05-16 09:09:31 +00:00
Marco Melorio
063b1b318c history-viewer: Implement MediaHistoryViewer
Also add it as a RoomDetails' subpage.
2023-05-16 09:09:31 +00:00
Kévin Commaille
4606d2e4eb
media-viewer: Don't use Event
We can only construct Event from timeline items, which we don't have
if we request events manually.
2023-05-14 20:06:11 +02:00
Kévin Commaille
675e39c6fb login: Add SessionVerification as a step of logging in 2023-05-14 13:59:12 +00:00
Kévin Commaille
1c1a52080e login: Split logic for each page
And move "Next" button to each page instead of in the header bar.
2023-05-13 08:54:15 +00:00
Kévin Commaille
beac89dc79
account-settings: Show availability of cross-signing keys 2023-05-11 12:54:42 +02:00
Kévin Commaille
d248af475c room-history: Allow to join or view the successor in a tombstone event 2023-05-05 10:44:33 +00:00
Kévin Commaille
2a07a1b67c
timeline: Group virtual items in a single type
Now that the SDK timeline API handles most of the logic, there is just a
lot of boilerplate code for little to no gain.
2023-04-24 11:46:19 +02:00
Kévin Commaille
3541be94eb
session: Create JoinRoomDialog instead of building it in Session 2023-04-10 10:54:57 +02:00
Kévin Commaille
b41d953e1b
sidebar: Move category types into a subfolder 2023-04-05 14:52:16 +02:00
Kévin Commaille
a48b8ea5f4 room-history: Display an icon when a message has been edited 2023-03-12 16:18:17 +00:00
Julian Sparber
11b80862d1 account-settings: Add entry and subpage to confirm log out
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/823
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/1083
2023-02-14 08:56:43 +00:00
Kévin Commaille
2e1a685e8f room: Move event actions to the event module
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1221>
2023-02-13 16:57:42 +00:00
Harshil Patel
99669d258f room-history: Reorganize buttons of message composer
Fixes GNOME/fractal#1033
2023-02-13 16:07:17 +00:00
Kévin Commaille
dffcc460cc
account-settings: Add basic notifications settings page 2022-11-05 10:31:52 +01:00
Kévin Commaille
1492956a88
session: Add support for notifications 2022-11-05 10:06:59 +01:00
Kévin Commaille
7301d3ff6e
room-history: Display and send typing notifications 2022-11-05 09:30:53 +01:00
Kévin Commaille
0487df15ab login: Split in pages and cleanup 2022-10-11 13:33:41 +00:00
Kévin Commaille
7706441ee8 utils: Reorganize by creating submodules
Improve the docs.

Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1173>
2022-10-10 08:45:13 +00:00
Kévin Commaille
5d7d49a973 session: Allow to join a room by ID, alias or permalink 2022-10-07 17:10:40 +00:00
Kévin Commaille
0232d98dc1
explore: Allow to explore custom matrix servers 2022-10-05 16:37:51 +02:00
Paul van Tilburg
76ddc9c45a
room-history: Show location viewer error when geo URI parsing fails
This is only used for displaying locations. When previewing/sending a
location, it is assumed to be valid, so no error overlay is necessary.

* Pass a `GeoUri` object to the `LoctionViewer` and `MediaContentViewer`
  instead of a geo URI string so it is known to be valid
* Wrap the `LocationViewer` component in a `GtkOverlay` in the
  `ContentMessageLocation` component that can overlay an error message
  over the location viewer if coordinate parsing fails
2022-10-05 08:44:06 +02:00
Kévin Commaille
8dd205ffce account-settings: Allow to import and export room encryption keys
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1157>
2022-09-24 09:54:57 +00:00
Kévin Commaille
8127a52199
message-row: Allow to embed messages content preview
Provide a more compact format for message content.
2022-09-15 18:02:34 +02:00
Julian Sparber
988e6bf1c9 room-details: Move general page to own subclass 2022-09-15 14:09:38 +02:00