Commit graph

264 commits

Author SHA1 Message Date
Benoit Marty
f48cc81434 Add tests on IntentResolver about external permalink. 2024-05-03 12:37:36 +02:00
Benoit Marty
fb59776814 Small rework for code clarity.
Actually hide the attachment of LoggedInAppScopeFlowNode.
2024-05-03 12:07:20 +02:00
Benoit Marty
0476bd95c8 Open user profile and room with event from permalink 2024-05-02 12:25:21 +02:00
Benoit Marty
83506e5191 Fix navigation issue #2778 2024-05-01 13:50:53 +02:00
Benoit Marty
b05fa82dfc Rename val for clarity. 2024-05-01 13:49:57 +02:00
Benoit Marty
528e7b390b Remove the FtueEntryPoint.Callback, LoggedInFlowNode is already observing the Ftue state to change the root target. 2024-05-01 13:49:57 +02:00
Jorge Martin Espinosa
6d924c3ca7
Don't display 'join room' screen while leaving a room. (#2770)
* Don't display 'join room' screen while leaving a room.

Centralise the navigation based on membership in a single point in `RoomFlowNode`.

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-30 16:08:42 +02:00
Benoit Marty
2c8abbed0c Merge branch 'develop' into feature/fga/permalink_timeline 2024-04-26 12:50:38 +02:00
ganfra
bffa2d717f Timeline : continue to fix more tests... 2024-04-25 12:41:34 +02:00
Benoit Marty
2c2bf7c687 Add screen to render Spaces (they are not supported yet) 2024-04-25 09:50:51 +02:00
Benoit Marty
1ffa6c541e Iterate on loadingNode to render the same way JoinedRoomFlowNode / Loading will render. 2024-04-23 18:37:37 +02:00
ganfra
b764933507 Timeline permalink : branch permalink on event of other room 2024-04-23 18:02:12 +02:00
Benoit Marty
74a9a54719 Rename Preview to follow code convention 2024-04-19 14:30:45 +02:00
Benoit Marty
378d2c0a05 Subscrie to RoomInfoFlow instead of pushing the JoinRoom. The user may be a member of the room, and in this case, it will be more direct. 2024-04-18 00:04:26 +02:00
Benoit Marty
3bd65be894 Remove useless launch. 2024-04-18 00:04:25 +02:00
Benoit Marty
8e5ae8de2c Avoid providing default value. 2024-04-18 00:03:21 +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
6a125bbb1b Add test on RoomAliasResolverPresenter 2024-04-18 00:03:18 +02:00
Benoit Marty
d057183d31 FIXME 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
2a467bd49b Handle permalink navigation - WIP
- prepare navigating to an Event
- add NodeBuilder to MessagesEntryPoint
2024-04-18 00:02:09 +02:00
ganfra
e171472fc4 Room list invites : clean and format 2024-04-16 15:49:07 +02:00
ganfra
997c4606c6 Invites : open room instead of invite list when clicking an invite notification 2024-04-16 13:20:43 +02:00
ganfra
4dbcd072c0 Invite : remove invitelist entry points 2024-04-16 11:41:55 +02:00
ganfra
fbb92f0c9a Room navigation : fix tests on invite after the refactoring 2024-04-11 16:50:09 +02:00
ganfra
73f276ba8e Merge branch 'develop' into feature/fga/room_navigation 2024-04-10 16:55:55 +02:00
ganfra
db9a402ce5 Room navigation : make it working with RoomDirectory 2024-04-10 15:14:59 +02:00
ganfra
9604acb75a Room navigation : more reliable roomInfoFlow method 2024-04-10 11:41:06 +02:00
ganfra
5e684edb8d Room navigation : extract JoinRoomNode to his own feature module 2024-04-09 15:03:27 +02:00
ganfra
6a255a1b10 Room navigation : reuse accept/decline presentation logic 2024-04-09 14:16:17 +02:00
ganfra
f586114458 Room navigation : rename module invitelist to invite 2024-04-08 17:22:13 +02:00
ganfra
e57ee00a91 Join Room : improve a bit 2024-04-08 15:54:08 +02:00
Benoit Marty
1c66254e74 Add suggestion of users when starting a Chat #2634 2024-04-08 13:53:55 +02:00
ganfra
650256e59f Join Room : add member count 2024-04-05 18:41:15 +02:00
ganfra
cdadd19e6a Room navigation : introduce the JoinRoomNode 2024-04-05 17:57:02 +02:00
ganfra
5a192b49d7 Room navigation : add a JoinedRoomFlowNode so we use RoomFlowNode for managing different routes 2024-04-04 20:36:16 +02:00
Jorge Martin Espinosa
41287c5f59
Move session verification to FTUE flow, make it mandatory (#2594)
* Move session verification to the FTUE
* Allow session verification flow to be restarted
* Use `EncryptionService` to display session verification faster
* Remove session verification item from settings
* Remove session verification banner from room list
* Remove 'verification needed' variant from the `TimelineEncryptedHistoryBanner`
* Improve verification flow UI and UX
* Remove 'verification successful' snackbar message
* Only register push provider after the session has been verified
* Hide room list while the session hasn't been verified
* Prevent deep links from changing the navigation if the session isn't verified
* Update screenshots
* Renamed `FtueState` to `FtueService`, created an actual `FtueState`.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-03 14:53:17 +00:00
Benoit Marty
6c9ea2b920 Create FakePushService. 2024-04-02 16:14:59 +02:00
ganfra
90b2a65c1a Room directory : implement simple join room 2024-03-26 12:32:15 +01:00
ganfra
0c96769e8b Room directory : start branching join event 2024-03-25 20:10:16 +01:00
ganfra
a8028ba968 Room directory search : branch entry point 2024-03-20 15:35:54 +01:00
Jorge Martin Espinosa
cdf89adcd2
Show blocked users list (#2437)
* Show blocked users list.

Also allow to unblock them from this list.

* Add non-blocking `AsyncIndicatorHost` component

* Use `StateFlow` for getting ignored users.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-26 15:24:22 +00:00
Benoit Marty
bd8b234f59 Use method references, and avoid using navigateUp(): let the parent Node decide how to navigate. 2024-02-22 08:57:12 +01:00
Benoit Marty
99b8efbeff Go directly to the enter recovery key screen when coming from the banner which ask the user to do so. 2024-02-21 18:30:57 +01:00
Benoit Marty
4345f26d0b Add a way to enter recovery key to verify the session. 2024-02-21 18:30:08 +01:00
Benoit Marty
b104dba845 Remove Modifier parameter in private function when only default value is used.
This will improve the code coverage metrics, and this also fixes a few potential bug, where the Modifier was used several times.
2024-02-08 11:06:06 +01:00