Commit graph

1071 commits

Author SHA1 Message Date
Benoit Marty
bd2a11a51c No need to have a MutableStateFlow for the live timeline. 2024-04-26 17:28:54 +02:00
Benoit Marty
a4c6e6c281 Add mapping on FocusEventException.
Extract FocusRequestState to its own file and add preview.
2024-04-26 16:40:09 +02:00
Benoit Marty
636c024d9a Fix detekt issues 2024-04-26 15:23:24 +02:00
Benoit Marty
cf06acabe6 Improve preview of TimelineLoadingMoreIndicator 2024-04-26 14:51:33 +02:00
Benoit Marty
f4f5888d5b Move LiveTimelineProvider to the test module. 2024-04-26 14:47:01 +02:00
Benoit Marty
83d9e77c6a Fix issue with Gradient rendering. 2024-04-26 14:40:54 +02:00
Benoit Marty
2dd122e9e9 Improve focusedEvent rendering when sender information are displayed. 2024-04-26 14:29:02 +02:00
Benoit Marty
076d2243a3 Add preview for focusedEvent. 2024-04-26 14:21:12 +02:00
Benoit Marty
300d3e34b1 Format and cleanup files 2024-04-26 13:57:08 +02:00
Benoit Marty
2c8abbed0c Merge branch 'develop' into feature/fga/permalink_timeline 2024-04-26 12:50:38 +02:00
ganfra
7b4fa146e5 Timeline : try to get better forward pagination. 2024-04-25 23:34:04 +02:00
ganfra
7ac6e4166a Timeline permalink : scroll to fetched event when known 2024-04-25 17:41:10 +02:00
ganfra
6632b2a998 Timeline : rename isTimelineEmpty to hasAnyEvent 2024-04-25 15:13:19 +02:00
ganfra
97b9d75a0d Timeline : makes sure all tests are passing 2024-04-25 14:35:37 +02:00
ganfra
bffa2d717f Timeline : continue to fix more tests... 2024-04-25 12:41:34 +02:00
ganfra
bf87b975fc Timeline permalink : start updating tests 2024-04-24 21:33:20 +02:00
ganfra
fed1733cb5 Timeline : makes sure to use the right timeline when making some action (edit, reply, reaction) 2024-04-24 16:42:35 +02:00
ganfra
b764933507 Timeline permalink : branch permalink on event of other room 2024-04-23 18:02:12 +02:00
ganfra
20e172c2a6 Timeline permalink : add focused event modifier 2024-04-23 16:58:23 +02:00
ganfra
3c961a2693 Timeline : remove highlightedEventId to only use focusedEventId 2024-04-23 15:09:01 +02:00
ganfra
fbfcc3638d Timeline : add box around TimelineItemVirtualRow 2024-04-23 15:04:49 +02:00
ganfra
b1dd225648 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
c185f0c1c0 Format 2024-04-23 14:09:32 +02:00
ganfra
0d7cffe400 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
06f07f906a fix bad userId 2024-04-22 18:05:26 +02:00
Benoit Marty
c3f9d37b0b Fix test compilation issue. 2024-04-22 16:23:19 +02:00
Benoit Marty
644eebc6e4 Private 2024-04-22 16:23:18 +02:00
Benoit Marty
5914ec04da Format 2024-04-22 16:23:18 +02:00
Benoit Marty
237ba3d727 Improve display name disambiguation rendering #2722 2024-04-22 16:23:17 +02:00
Benoit Marty
8524e3626e Add Timeline item and reply preview with ambiguous display name 2024-04-22 16:23:17 +02:00
Benoit Marty
03abfcaadb 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
74a9a54719 Rename Preview to follow code convention 2024-04-19 14:30:45 +02:00
ganfra
ff92551472 Merge develop into feature/fga/permalink_timeline 2024-04-18 15:40:17 +02:00
Benoit Marty
1fcaf902e0 Rename eventId to focusedEventId for clarity. 2024-04-18 00:03:20 +02:00
Benoit Marty
33212a136c Open any user permalink. 2024-04-18 00:03:18 +02:00
Benoit Marty
b7d214fa56 Update extension. 2024-04-18 00:03:17 +02:00
Benoit Marty
96203824ac Handle navigation to the same room. 2024-04-18 00:03:16 +02:00
Benoit Marty
b1b5c563c7 Introduce RoomAliasResolverNode with error and retry handling. 2024-04-18 00:03:15 +02:00
Benoit Marty
09faa6d1c9 Simplify PermalinkData, now that we have RoomIdOrAlias interface. 2024-04-18 00:03:15 +02:00
Benoit Marty
8327ea306f Increase usage of RoomAlias 2024-04-18 00:02:22 +02:00
Benoit Marty
ecd1bf76e2 Use RoomId and RoomAlias in MatrixRoomInfo 2024-04-18 00:02:10 +02:00
Benoit Marty
2a467bd49b Handle permalink navigation - WIP
- prepare navigating to an Event
- add NodeBuilder to MessagesEntryPoint
2024-04-18 00:02:09 +02:00
ganfra
83e7c13618 Timeline : start reworking timeline apis 2024-04-17 21:32:02 +02:00
Benoit Marty
3df328b1ab 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
294f1f2d96 Use SDK API to build room and event permalinks. 2024-04-15 16:05:12 +02:00
Benoit Marty
131edd0ba4 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
810e4919bc Sync strings. 2024-04-10 12:36:41 +02:00
Benoit Marty
16d289e180 Exclude fun ContentToPreview() from coverage, this is not production code. 2024-04-08 16:20:42 +02:00
Benoit Marty
d1965005b0 Add unit test on RetrySendMessageMenu 2024-04-04 15:29:16 +02:00
Benoit Marty
39af0b8ecd Add more assertions 2024-04-04 15:12:24 +02:00