Commit graph

2869 commits

Author SHA1 Message Date
Benoit Marty
234696cb03 Rename JoinRoomEvents.Retry to JoinRoomEvents.RetryFetchingContent 2024-04-18 00:03:22 +02:00
Benoit Marty
1fcaf902e0 Rename eventId to focusedEventId for clarity. 2024-04-18 00:03:20 +02:00
Benoit Marty
986f20b526 Move RoomAliasResolver classes to their own module. 2024-04-18 00:03:20 +02:00
Benoit Marty
2eb545cd11 Add test to JoinRoomPresenter to cover RoomPreview 2024-04-18 00:03:19 +02:00
Benoit Marty
12b230594b Fix JoinRoomPresenterTest 2024-04-18 00:03:19 +02:00
Benoit Marty
400299ceac Format file. 2024-04-18 00:03:19 +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
6c8c14f9ff Add Retry on Join room node. 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
235ef2a71b Resolve RoomId in RoomFlowNode. 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
ea3a1f363a Alias permalink navigation - WIP 2024-04-18 00:03:14 +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
0cda5b9e90
Merge pull request #2714 from element-hq/feature/fga/room_list_invites
[Feature] Room list invites
2024-04-17 23:04:31 +02:00
ganfra
90e273cd65 Room list invites: address some remarks and add small tests 2024-04-17 22:02:44 +02:00
Benoit Marty
5b3a2d8eca Use produceState and fetch profile only if necessary. 2024-04-17 16:15:36 +02:00
Benoit Marty
f9d3f947c2 Add missing test for unblock user with error. 2024-04-17 14:44:16 +02:00
Benoit Marty
3f0159d438 Format 2024-04-17 14:01:03 +02:00
Benoit Marty
4d50e43e85 Add test covering fallback to user profile. 2024-04-17 13:42:29 +02:00
Benoit Marty
0dba614c0a createRoomMemberDetailsPresenter just need a UserId. 2024-04-17 13:35:16 +02:00
Benoit Marty
c9d5961684 RoomMemberDetailsPresenter: fallback to user profile data if the user is not a member of the room.
This can be displayed when the user click on a non-member user permalink.
2024-04-17 13:21:52 +02:00
Benoit Marty
f2ff326938 Observe ignoredUsersFlow to have live data about blocked user.
This will also ensure that blocking a user will work even if the user is not a member of the room (preparatory work for user permalink)
2024-04-17 13:21:52 +02:00
ganfra
e171472fc4 Room list invites : clean and format 2024-04-16 15:49:07 +02:00
ganfra
e72983f1b8 RoomList invites : update and remove tests 2024-04-16 15:45:57 +02:00
ganfra
4dbcd072c0 Invite : remove invitelist entry points 2024-04-16 11:41:55 +02:00
ganfra
43e336cb72 RoomList : add invite filter 2024-04-15 22:50:43 +02:00
ganfra
c102c5b436 RoomList: branch accept/decline invite actions 2024-04-15 22:04:23 +02:00
ganfra
26eaed5ea4 RoomList : invite row 2024-04-15 21:42:39 +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
9fcb880f1d Fix formatting issue. 2024-04-15 17:04:33 +02:00
Benoit Marty
b1cb24a883 Use Node scope instead of UI scope. 2024-04-15 17:02:27 +02:00
Benoit Marty
294f1f2d96 Use SDK API to build room and event permalinks. 2024-04-15 16:05:12 +02:00
bmarty
8f6a1b410e Sync Strings from Localazy 2024-04-15 11:40:19 +00:00
ganfra
e19cd28879
Merge pull request #2695 from element-hq/feature/fga/room_navigation
Room navigation
2024-04-15 12:55:29 +02:00
Benoit Marty
a5240e3294 Attempt to fix preview of RoomDirectoryView 2024-04-15 10:47:28 +02:00
Benoit Marty
9e14db2739 Attempt to fix preview of JoinRoomView 2024-04-15 10:44:45 +02:00
Benoit Marty
7c5a89d775 Fix test: ContentState.UnknownRoom case will be handled later. 2024-04-15 09:01:03 +02:00
Benoit Marty
1eb1efed52 Cleanup 2024-04-15 08:58:06 +02:00
Benoit Marty
61f76533b9 Format 2024-04-12 18:45:43 +02:00
Benoit Marty
64c66b4454 Fix preview of JoinRoomView 2024-04-12 18:45:34 +02:00
Benoit Marty
794e3440fd Use ContentState.Loading instead of ContentState.UnknownRoom. 2024-04-12 18:16:17 +02:00
ganfra
a41096fa51 Fix malformed room id in StateProvider.. 2024-04-12 16:45:40 +02:00
ganfra
11979167c5 Room navigation : some clean up 2024-04-12 15:58:15 +02:00
ganfra
a2329fc7df Join room : change state and view 2024-04-12 14:10:32 +02:00
ganfra
ab8c31541b Room join : add presenter tests 2024-04-11 21:07:10 +02:00
ganfra
fbb92f0c9a Room navigation : fix tests on invite after the refactoring 2024-04-11 16:50:09 +02:00