Commit Graph

2613 Commits

Author SHA1 Message Date
Benoit Marty
48e8900a2c Create extension to cleanup LogoutViewTest 2024-02-22 14:32:18 +01:00
Benoit Marty
6521ffe0aa Add test on DefaultDirectLogoutView 2024-02-22 14:28:17 +01:00
Benoit Marty
cf38553701 Add more states in DirectLogoutStateProvider 2024-02-22 14:03:59 +01:00
Benoit Marty
cbf1ea1354 Add DirectLogoutStateProvider, and add preview for DefaultDirectLogoutView 2024-02-22 12:53:38 +01:00
Benoit Marty
544b4b4389 Cleanup after rebase. 2024-02-21 18:34:15 +01:00
Benoit Marty
1ea9d41d27 Fix test clicking on enter recovery key calls the expected callback 2024-02-21 18:30:57 +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
4e8aa3a135 Remove empty line. 2024-02-21 18:30:57 +01:00
Benoit Marty
89cd8ad33e Add tests on VerifySelfSessionView 2024-02-21 18:30:57 +01:00
Benoit Marty
bb4c050819 Fix parameter order. 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
b6aa44d374 Remove unused val. 2024-02-21 18:30:08 +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
7fc9a4c0fa Add a way to enter recovery key to verify the session. 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
Benoit Marty
55a105572a Rename isLastSession to isLastDevice, to match SDK naming. 2024-02-21 18:25:45 +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
dbc442e239 Merge pull request #2416 from element-hq/feature/fga/add_some_analytics
Analytics : add analytics on read status and favorite toggles
2024-02-20 13:51:33 +01:00
Jorge Martin Espinosa
c5dcd419ce Display banned users in room member list (#2415)
* Display banned users in room member list

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-20 10:07:06 +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
afec6370c1 Merge pull request #2413 from element-hq/feature/bma/unitTests
Add more unit tests
2024-02-19 16:15:28 +01:00
Jorge Martin Espinosa
87823fe8a4 Sort the room member list and display member roles (#2412)
* Sort the room member list and display member roles

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-19 15:03:36 +00:00
Benoit Marty
af819dee6e Remove extra new line. 2024-02-19 14:17:18 +01:00
Benoit Marty
a48e87a0bf Add test for RoomListEvents.ToggleSearchResults. 2024-02-19 13:52:01 +01:00
Benoit Marty
9586c61273 Add test for MessageComposerEvents.SendUri 2024-02-19 13:42:15 +01:00
Benoit Marty
e006f375ae Add test for MessagesEvents.HandleAction(TimelineItemAction.EndPoll) 2024-02-19 13:42:15 +01:00
Benoit Marty
3c36c479cd Add first tests for BlockUserDialogs 2024-02-19 13:42:15 +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
Benoit Marty
b48aa45d51 Add first tests for ShowLocationView 2024-02-19 13:36:08 +01:00
Benoit Marty
9c599a298a Introduce fun aShowLocationState to reduce boilerplate code. 2024-02-19 13:35:24 +01:00
Benoit Marty
6240f24e10 Remove warning in tests 2024-02-19 13:35:24 +01:00
ganfra
615ce72131 Merge pull request #2405 from element-hq/feature/fga/room_list_refact_search
RoomList : rework how search is done to prepare for later filtering
2024-02-19 12:31:52 +01:00
Jorge Martin Espinosa
8d543e19b1 Improve how Talkback works with the timeline (#2404)
* Improve how Talkback works with the timeline

* Fix interaction test by adding test tag

* Disable reverse layout when a screen reader is enabled

This messes up with the ordering, but fixes the scrolling when a screen reader is used.
2024-02-19 11:36:15 +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