Commit Graph

242 Commits

Author SHA1 Message Date
Benoit Marty
c1bb910dbd Simplify PermalinkData, now that we have RoomIdOrAlias interface. 2024-04-18 00:03:15 +02:00
Benoit Marty
c1188ebb2d Alias permalink navigation - WIP 2024-04-18 00:03:14 +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
09a760a3f9 Room list invites : clean and format 2024-04-16 15:49:07 +02:00
ganfra
8f583d78ac Invites : open room instead of invite list when clicking an invite notification 2024-04-16 13:20:43 +02:00
ganfra
807bd362fe Invite : remove invitelist entry points 2024-04-16 11:41:55 +02:00
ganfra
79c6385edb Room navigation : fix tests on invite after the refactoring 2024-04-11 16:50:09 +02:00
ganfra
d07df2319b Merge branch 'develop' into feature/fga/room_navigation 2024-04-10 16:55:55 +02:00
ganfra
bf7a94cc93 Room navigation : make it working with RoomDirectory 2024-04-10 15:14:59 +02:00
ganfra
fc20b7399a Room navigation : more reliable roomInfoFlow method 2024-04-10 11:41:06 +02:00
ganfra
9c1a0b5581 Room navigation : extract JoinRoomNode to his own feature module 2024-04-09 15:03:27 +02:00
ganfra
9ff0e8eccb Room navigation : reuse accept/decline presentation logic 2024-04-09 14:16:17 +02:00
ganfra
28361be6e8 Room navigation : rename module invitelist to invite 2024-04-08 17:22:13 +02:00
ganfra
59df98dcac Join Room : improve a bit 2024-04-08 15:54:08 +02:00
Benoit Marty
b68ecbf0c4 Add suggestion of users when starting a Chat #2634 2024-04-08 13:53:55 +02:00
ganfra
6d86dbd996 Join Room : add member count 2024-04-05 18:41:15 +02:00
ganfra
d4e7345a01 Room navigation : introduce the JoinRoomNode 2024-04-05 17:57:02 +02:00
ganfra
abca950636 Room navigation : add a JoinedRoomFlowNode so we use RoomFlowNode for managing different routes 2024-04-04 20:36:16 +02:00
Jorge Martin Espinosa
8b335a9125 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
5ff74caed8 Create FakePushService. 2024-04-02 16:14:59 +02:00
ganfra
0700384ef0 Room directory : implement simple join room 2024-03-26 12:32:15 +01:00
ganfra
83b6875394 Room directory : start branching join event 2024-03-25 20:10:16 +01:00
ganfra
3de4e8c91e Room directory search : branch entry point 2024-03-20 15:35:54 +01:00
Jorge Martin Espinosa
f0700f9904 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
fb451282fe 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
6c5567d075 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
7fc9a4c0fa Add a way to enter recovery key to verify the session. 2024-02-21 18:30:08 +01:00
Benoit Marty
72b89338b3 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
Benoit Marty
8f3bb607da Use appName from BuildMeta in the crash detection dialog. 2024-02-07 16:33:48 +01:00
Benoit Marty
4f8edce538 View Folders and files
Add test

Add test
2024-01-24 23:11:52 +01:00
Jorge Martin Espinosa
f9c5cd07a9 Return cached room members before fetching new ones, do it in batches (#2274)
* Use cached users from the Rust SDK.

Also lazy load received users by batches.

* Create `RoomMemberListFetcher` to wrap all the room member loading logic

* Ensure we clear `RoomMember` Rust references if the fetching coroutine is canceled
2024-01-23 18:23:20 +01:00
Benoit Marty
13ca096d7a Add a report problem text button to the OnBoarding screen #2275. 2024-01-23 15:55:32 +01:00
Benoit Marty
5a3e0b8c73 Better log. 2024-01-17 18:12:57 +01:00
Benoit Marty
d3830af78b Fix ktlint issues 2024-01-10 19:33:39 +01:00
renovate[bot]
7e9cda3aa9 Update plugin ktlint to v12.1.0 (#2200)
* Update plugin ktlint to v12.1.0

* Run `./gradlew ktlintFormat` and fix some issues manually.

* Fix other issues reproted by Ktlint

* Limit false positives, KtLint removes unnecessary curly brace in String templates.

* Remove useless Unit

* Minor improvements over ktlint changes

* Restore `AlertDialogContent` behaviour

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
ganfra
4ca310f53b Fix room transition animation happens twice #2084 2024-01-02 16:13:46 +01:00
Benoit Marty
d9fb5ce007 Remove now useless ExperimentalLayoutApi opt in 2023-12-28 12:41:02 +01:00
ganfra
7d33409810 Merge pull request #2059 from element-hq/feature/fga/appyx_overlay
Appyx Overlay
2023-12-20 11:17:23 +01:00
ganfra
9f045fc7de Fix detekt 2023-12-19 12:59:13 +01:00
ganfra
280d55bd6e BackstackParentNode now become BaseFlowNode and adds Overlay navModel into it. 2023-12-19 12:55:14 +01:00
Benoit Marty
0f805a1a81 Fix test which was passing for wrong reason. 2023-12-15 20:07:11 +01:00
ganfra
92a70db042 Improve back-navigation for invitations 2023-12-14 12:18:01 +01:00
Benoit Marty
0ccfa2a15b Load avatar for notification when there is no active imageLoader. (#1991) 2023-12-12 15:29:54 +01:00
Benoit Marty
7a6dda041f Ignore Launcher intent (was printing a warning). 2023-12-06 17:12:37 +01:00
Benoit Marty
45883975c4 Add Konsist test to check that assertThat is imported, and fix existing issues. 2023-12-04 15:18:01 +01:00
ganfra
b57a94943f Branch StartDM in the RoomMemberDetails screen 2023-11-30 13:07:50 +01:00
Jorge Martin Espinosa
a8b85fb4e6 Extract compound tokens and theming to compound-android library (#1888)
* Replace tokens & icons with the external Compound ones

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-27 10:30:07 +01:00
Benoit Marty
ce9755638f Merge pull request #1878 from vector-im/feature/bma/moreTests2
Add more unit tests
2023-11-24 17:17:52 +01:00
Benoit Marty
b3ab4e0173 Add test for IntentResolver 2023-11-24 10:22:23 +01:00
Benoit Marty
4ae0790cc1 Remove default value for lambda.
We enforce a value to be provided and it's better for code coverage.
2023-11-22 17:28:23 +01:00