Commit Graph

1074 Commits

Author SHA1 Message Date
Benoit Marty
5aff720c4e Make FocusRequestState immutable. 2024-04-26 18:56:04 +02:00
Benoit Marty
2bc8d6e632 Add unit test on TimelineItemIndexer 2024-04-26 18:50:20 +02:00
Benoit Marty
16f0d9d446 Test TimelineController 2024-04-26 18:27:10 +02:00
Benoit Marty
5f1c1dcd23 No need to have a MutableStateFlow for the live timeline. 2024-04-26 17:28:54 +02:00
Benoit Marty
7b55b0e327 Add mapping on FocusEventException.
Extract FocusRequestState to its own file and add preview.
2024-04-26 16:40:09 +02:00
Benoit Marty
9b4fa0f03d Fix detekt issues 2024-04-26 15:23:24 +02:00
Benoit Marty
ee7f0bac8b Improve preview of TimelineLoadingMoreIndicator 2024-04-26 14:51:33 +02:00
Benoit Marty
471eb2cadc Move LiveTimelineProvider to the test module. 2024-04-26 14:47:01 +02:00
Benoit Marty
cd2b78459a Fix issue with Gradient rendering. 2024-04-26 14:40:54 +02:00
Benoit Marty
174b1a4888 Improve focusedEvent rendering when sender information are displayed. 2024-04-26 14:29:02 +02:00
Benoit Marty
31946a98ad Add preview for focusedEvent. 2024-04-26 14:21:12 +02:00
Benoit Marty
21ddeb00fe Format and cleanup files 2024-04-26 13:57:08 +02:00
Benoit Marty
a11bfb5d29 Merge branch 'develop' into feature/fga/permalink_timeline 2024-04-26 12:50:38 +02:00
ganfra
345d4c7da3 Timeline : try to get better forward pagination. 2024-04-25 23:34:04 +02:00
ganfra
82d833b434 Timeline permalink : scroll to fetched event when known 2024-04-25 17:41:10 +02:00
ganfra
b46f8a5c27 Timeline : rename isTimelineEmpty to hasAnyEvent 2024-04-25 15:13:19 +02:00
ganfra
cf1c728eab Timeline : makes sure all tests are passing 2024-04-25 14:35:37 +02:00
ganfra
9ffed34303 Timeline : continue to fix more tests... 2024-04-25 12:41:34 +02:00
ganfra
60192bd080 Timeline permalink : start updating tests 2024-04-24 21:33:20 +02:00
ganfra
bb0ba5c4bf Timeline : makes sure to use the right timeline when making some action (edit, reply, reaction) 2024-04-24 16:42:35 +02:00
ganfra
9b83cedac4 Timeline permalink : branch permalink on event of other room 2024-04-23 18:02:12 +02:00
ganfra
1c06db1a78 Timeline permalink : add focused event modifier 2024-04-23 16:58:23 +02:00
ganfra
64d02d17bb Timeline : remove highlightedEventId to only use focusedEventId 2024-04-23 15:09:01 +02:00
ganfra
0480f8d1bc Timeline : add box around TimelineItemVirtualRow 2024-04-23 15:04:49 +02:00
ganfra
e09e23abb0 Timeline permalink : automatic focus on live when reaching end of forward pagination (and remove usage of PaginationStatus) 2024-04-23 14:24:48 +02:00
Benoit Marty
419c9a45ca Format 2024-04-23 14:09:32 +02:00
ganfra
f56ac869ff Timeline permalink : continue to iterate (try a strategy to avoid forward insertion to "auto-scroll") 2024-04-23 13:30:55 +02:00
Benoit Marty
7320243d1e fix bad userId 2024-04-22 18:05:26 +02:00
Benoit Marty
e10152a560 Fix test compilation issue. 2024-04-22 16:23:19 +02:00
Benoit Marty
4909451aa5 Private 2024-04-22 16:23:18 +02:00
Benoit Marty
117856a2ab Format 2024-04-22 16:23:18 +02:00
Benoit Marty
e26fe58fd3 Improve display name disambiguation rendering #2722 2024-04-22 16:23:17 +02:00
Benoit Marty
0d665388b8 Add Timeline item and reply preview with ambiguous display name 2024-04-22 16:23:17 +02:00
Benoit Marty
188f92fecc Format state Event: use disambiguated Display name #2722.
- Rename some parameter and val from `senderDisplayName` (and consort) to `senderDisambiguatedDisplayName`.
- In `InReplyToDetails`, replace `senderDisplayName` and `senderAvatarUrl` by `senderProfile`.
2024-04-22 16:23:15 +02:00
Benoit Marty
0938935d16 Rename Preview to follow code convention 2024-04-19 14:30:45 +02:00
ganfra
6808edda86 Merge develop into feature/fga/permalink_timeline 2024-04-18 15:40:17 +02:00
Benoit Marty
1435f8d9f3 Rename eventId to focusedEventId for clarity. 2024-04-18 00:03:20 +02:00
Benoit Marty
b6c7a2fbe3 Open any user permalink. 2024-04-18 00:03:18 +02:00
Benoit Marty
57d5ffa97a Update extension. 2024-04-18 00:03:17 +02:00
Benoit Marty
f37ef1e0cd Handle navigation to the same room. 2024-04-18 00:03:16 +02:00
Benoit Marty
e1564e5a2b Introduce RoomAliasResolverNode with error and retry handling. 2024-04-18 00:03:15 +02:00
Benoit Marty
c1bb910dbd Simplify PermalinkData, now that we have RoomIdOrAlias interface. 2024-04-18 00:03:15 +02:00
Benoit Marty
a602849ec5 Increase usage of RoomAlias 2024-04-18 00:02:22 +02:00
Benoit Marty
fe7dfcb09b Use RoomId and RoomAlias in MatrixRoomInfo 2024-04-18 00:02:10 +02:00
Benoit Marty
6a46555462 Handle permalink navigation - WIP
- prepare navigating to an Event
- add NodeBuilder to MessagesEntryPoint
2024-04-18 00:02:09 +02:00
ganfra
e4174f2792 Timeline : start reworking timeline apis 2024-04-17 21:32:02 +02:00
Benoit Marty
9b6ab9b484 Parse permalink using parseMatrixEntityFrom.
Create new PermalinkData type for link to Events.
Keep matrixToConverter for now to first convert to matrix.to link. At some point it may be done by the SDK.
Remove parse(Uri)
2024-04-15 17:47:40 +02:00
Benoit Marty
4c7e66e928 Use SDK API to build room and event permalinks. 2024-04-15 16:05:12 +02:00
Benoit Marty
eb91f83f51 Always use method aRichTextEditorState instead of invoking the constructor directly, and remove parameter when it's the default value. 2024-04-11 11:17:56 +02:00
Benoit Marty
4916baadd8 Sync strings. 2024-04-10 12:36:41 +02:00