Commit Graph

302 Commits

Author SHA1 Message Date
Benoit Marty
544b4b4389 Cleanup after rebase. 2024-02-21 18:34:15 +01:00
Benoit Marty
9ecbbf3955 Add more tests on RoomListView 2024-02-21 18:30:57 +01:00
Benoit Marty
3cf0375bb6 Add tests on RoomListView (e2e banner) 2024-02-21 18:30:57 +01:00
Benoit Marty
06caf35ff4 Make isLastSession "live" 2024-02-21 18:30:57 +01:00
Benoit Marty
fb368f058b Remove feature flag SecureStorage 2024-02-21 18:30:57 +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
4ed353aa56 Fix tests. 2024-02-21 18:30:08 +01:00
Benoit Marty
9d6a6ce88b Do not show the RecoveryKeyConfirmation banner if the sync is not Running. 2024-02-21 18:30:08 +01:00
Benoit Marty
4a75e6a9a7 Do not show verification banner for the last device, show the enter recovery key banner. 2024-02-21 18:30:08 +01:00
Benoit Marty
6cd28b2305 Sync strings. 2024-02-21 18:30:08 +01:00
Benoit Marty
3f7060e9ce Introduce SecurityBannerState to replace Boolean set.
Also get the sessionVerificationService from the matrixClient, instead of injecting it separately.
2024-02-21 18:30:08 +01:00
ganfra
840465340d RoomList : allow to show empty state and invites. 2024-02-21 16:31:12 +01:00
Jorge Martin Espinosa
e7ed466b4f Do not display empty room list state before the loading one (#2402)
* Do not display empty room list state before the loading one
2024-02-21 12:16:00 +01:00
ganfra
ac792006dd Merge branch 'develop' into feature/fga/add_some_analytics 2024-02-19 17:52:16 +01:00
ganfra
4052abf15c Analytics : add analytics on read status and favorite toggles 2024-02-19 17:38:17 +01:00
Benoit Marty
a48e87a0bf Add test for RoomListEvents.ToggleSearchResults. 2024-02-19 13:52:01 +01:00
Benoit Marty
bedf3b9e3e Add test for RoomListEvents.DismissRecoveryKeyPrompt.
Also get the encryptionService from the matrixClient, instead of injecting it separately.
2024-02-19 13:36:08 +01:00
ganfra
3d1665a732 RoomList: try to fix the test in ci... 2024-02-17 00:46:41 +01:00
ganfra
9a528af65b RoomList : remove direct dependency to the RoomListSearchPresenter 2024-02-16 23:41:59 +01:00
ganfra
9332857978 RoomList : fix formatting 2024-02-16 19:46:56 +01:00
ganfra
85a0ef3677 RoomList : rework how search is done to prepare for later filtering 2024-02-16 19:35:03 +01:00
ganfra
a25096ba0e favorites : fix formating 2024-02-15 16:23:05 +01:00
ganfra
497f4d9526 favorite : use distinctUntilChanged 2024-02-15 15:54:53 +01:00
ganfra
fdba1b2dc6 favorite : apply pr review remarks 2024-02-15 13:25:37 +01:00
ganfra
81d1111ecc favorite : fix CI 2024-02-15 12:24:32 +01:00
ganfra
0febbc771f favorites : clean up 2024-02-15 11:20:58 +01:00
ganfra
133064823b favorite : simplify and branch live data again 2024-02-15 11:07:49 +01:00
ganfra
e00311a739 Merge branch 'develop' into feature/fga/mark_room_as_favorite 2024-02-15 10:16:43 +01:00
Jorge Martin Espinosa
cbad781090 Merge pull request #2389 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.1

* read : use the new apis

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ganfra <francoisg@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-02-14 13:38:09 +01:00
ganfra
7e0e0f9ec4 read : use the new apis 2024-02-14 11:09:46 +01:00
Jorge Martin Espinosa
00dd0cbcd1 Improve typing notification animations (#2386)
Only modify the layout for typing notifications when the first one is displayed: after that, just show/hide them using a fade animation, but keep the empty space there ready to be reused.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-14 08:05:55 +00:00
ganfra
8a9184e9c0 Merge branch 'develop' into feature/fga/mark_room_as_favorite 2024-02-13 15:23:39 +01:00
ganfra
cad2dc16fc Favourite : add ui test on click 2024-02-12 17:46:25 +01:00
ganfra
35e4550244 Favourite : use localized string 2024-02-12 17:45:52 +01:00
Jorge Martin Espinosa
973c57d401 Update Compound to v0.0.5 and update icons (#2380)
Update Compound to `v0.0.5`:

- Make sure we fix all the breaking changes.
- Update some icons to use the compound version instead.
-Replace icons with their Compound counterparts when possible.
- Clean up unused icons.
- Fix issues with incorrect icons or sizes being used after replacing the temporary icons with the Compound ones.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-12 16:41:58 +00:00
ganfra
cc5355a049 Merge branch 'develop' into feature/fga/mark_room_as_favorite 2024-02-12 17:08:36 +01:00
bmarty
0224d036c7 Sync Strings from Localazy 2024-02-12 00:10:26 +00:00
Benoit Marty
5e01bed77c Fix test compilation after change on other PR getting merged. 2024-02-09 09:48:20 +01:00
Benoit Marty
e73a480495 Merge pull request #2354 from element-hq/feature/bma/markUnread
Mark room as unread
2024-02-08 17:36:29 +01:00
Benoit Marty
dc65e60e66 Mark as unread: add a feature flag, disabled on release build. 2024-02-08 11:49:14 +01:00
Benoit Marty
22df759fb4 Remove extra new lines 2024-02-08 11:34:54 +01:00
Benoit Marty
9bd8c3ebcf Introduce RoomListBottomSheetEvents "scope" for Events from the Room List Bottom Sheet. 2024-02-08 11:34:54 +01:00
Benoit Marty
e66c793fbe Simplify a bit the API. 2024-02-08 11:34:54 +01:00
Benoit Marty
8a3f33ce1a Add test for RoomListContextMenu 2024-02-08 11:34:54 +01:00
Benoit Marty
48b7f054ee Introduce function aContextMenuShown to create RoomListState.ContextMenu.Shown 2024-02-08 11:34:54 +01:00
Benoit Marty
3b68ac49d3 Fix test after default value change on parameter of createRoomListRoomSummary. 2024-02-08 11:34:54 +01:00
Benoit Marty
8665104756 Remove unnecessary parenthesis 2024-02-08 11:34:54 +01:00
Benoit Marty
6646b068bd Add more tests 2024-02-08 11:34:54 +01:00
Benoit Marty
12da93a926 Give 0 has default value for fixtures creators.
Also increases the readability of tests.
2024-02-08 11:34:54 +01:00
Benoit Marty
0f8eda050b Add test to check behavior of isMarkedUnread parameter 2024-02-08 11:34:54 +01:00