Commit graph

397 commits

Author SHA1 Message Date
Joe Groocock
b852578ffc
Animate room list filters when clearing
They animate cleanly back to their original locations now, and correctly
overlap each other when doing so. The only thing that is mildly jarring
is the reappearing chips, but there's no way to animate appearance in
the current version of jetpack compose, so that'll have to be fixed
later.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-05-21 22:29:34 +00:00
Joe Groocock
7aa9d856b8
Animate room filter colours
This is much closer to how iOS looks, and is much nicer on the eyes.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-05-21 22:29:33 +00:00
Joe Groocock
eb97bce6c6
Ensure selected/deselected filters stay on top
This looks a little more "sane", and more closely matches what iOS does
with it's filter chips. This has to manually track which filters were
"just-deselected" and move those even higher up the z stack to ensure
they appear above even when sliding right. This is because the order is
determined by the position left-to-right of the _final_ destination of
the chip. In this case we want anything that's either currently
selected, or was selected and is still fading out to appear on top.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-05-21 22:16:39 +00:00
Jorge Martin Espinosa
3f2413bc95
Session falsely displayed as 'verified' with no internet connection (#2884)
* Session falsely displayed as 'verified' with no internet connection
	- Remove the need to wait for `isReady` for `SessionVerificationService.canVerifySessionFlow` to fix this.
	- Rename `SessionVerificationService.canVerifySessionFlow` to `needsSessionVerification`.
	- Make `isReady` private.
2024-05-21 11:41:18 +00:00
bmarty
83a8a631f2 Sync Strings from Localazy 2024-05-20 00:23:05 +00:00
bmarty
0910da0a14 Sync Strings from Localazy 2024-05-13 12:47:48 +00:00
Jorge Martin Espinosa
5c59f6c20f
Enforce mandatory session verification only for new logins (#2811)
* Enforce mandatory session verification only for new logins

- Creates `AppMigration` base interface as a way to isolate migration logic, app migrations must implement this interface.
- Creates `AppMigration01` with the existing logs removal migration and `AppMigration02` with the logic to allow existing sessions to skip verification.
- Add `DefaultSessionPreferencesStoreFactory.remove(sessionId)` to allow a ephemeral session store access to exist outside the `SessionScope` for this new migration.

* Fix tests

* Add more tests.

This also includes creating several abstractions.

* Review changes.

- Make `orderedMigrations` a class property, `migrations` just a constructor parameter to avoid incorrect usages.
- Create `lastMigration` property too, use it instead of `MIGRATION_VERSION`.
2024-05-07 14:06:34 +00:00
bmarty
68fdaef8b8 Sync Strings from Localazy 2024-05-06 00:19:35 +00:00
Benoit Marty
0476bd95c8 Open user profile and room with event from permalink 2024-05-02 12:25:21 +02:00
bmarty
4f82baa2b0 Sync Strings from Localazy 2024-04-29 00:18:59 +00:00
Benoit Marty
268c196e35 Remove flag RoomListFilters.
This is also fixing the filter reset issue when going back to the room list.
2024-04-25 15:55:29 +02:00
Benoit Marty
ce7bb11724 Ensure roomId are not rendered in the UI.
Add preview to see the effect.
Use RoomAvatar data fallback everywhere, to not use roomId (`!` char) for the avatar initial, but rather `#`.
2024-04-25 11:52:40 +02:00
bmarty
68631af9a6 Sync Strings from Localazy 2024-04-22 00:18:11 +00:00
Benoit Marty
74a9a54719 Rename Preview to follow code convention 2024-04-19 14:30:45 +02:00
Benoit Marty
cf49677ffa Remove empty line and ensure check.sh script run ktlint. 2024-04-19 10:02:39 +02:00
Benoit Marty
473f0e8395 Let JoinRoomView render the InviteSender 2024-04-18 15:19:03 +02:00
Benoit Marty
2974156ee1 Move InviteSender to :library:matrixui module. 2024-04-18 15:00:49 +02:00
Benoit Marty
c02d5daf7d Improve anInviteSender() and use it in RoomListStateProvider. 2024-04-18 14:31:38 +02:00
Benoit Marty
c98cb56b74 Add first UI test on RoomListSearchView 2024-04-18 13:08:56 +02:00
Benoit Marty
0d14cdcf5d Use SuperButton for RoomDirectorySearchButton 2024-04-18 12:36:56 +02:00
Benoit Marty
cecc6f2085 Fix compilation issue after rebase: String -> RoomAlias 2024-04-18 00:29:59 +02:00
ganfra
90e273cd65 Room list invites: address some remarks and add small tests 2024-04-17 22:02:44 +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
ganfra
e19cd28879
Merge pull request #2695 from element-hq/feature/fga/room_navigation
Room navigation
2024-04-15 12:55:29 +02:00
ganfra
73f276ba8e Merge branch 'develop' into feature/fga/room_navigation 2024-04-10 16:55:55 +02:00
Benoit Marty
810e4919bc Sync strings. 2024-04-10 12:36:41 +02:00
ganfra
9604acb75a Room navigation : more reliable roomInfoFlow method 2024-04-10 11:41:06 +02:00
Jorge Martin Espinosa
cf072fa1e1
Improve session recovery screens (#2657)
* Improve enter recovery key screen UI

* Add instructions to reset the encryption of the logged in account.

* Update screenshots

* Fix maestro flow

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-09 17:01:06 +00:00
ganfra
f586114458 Room navigation : rename module invitelist to invite 2024-04-08 17:22:13 +02:00
Jorge Martin Espinosa
8e2f7a35cb
Categorise members by role in the ChangeRoles screen (#2595)
* Categorise members by role in the ChangeRoles screen

* Fix automatic reload of member list when either the membership or power levels change

* Replace empty space with disabled checkbox

* Add 'pending' label to members who are in invited state

* Implement new designs

* Fix string issue in confirm recovery key screen

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-08 08:54:38 +00:00
bmarty
e6bd14a1a9 Sync Strings from Localazy 2024-04-08 00:20:53 +00: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
bmarty
5809864182 Sync Strings from Localazy 2024-04-01 00:17:18 +00:00
ganfra
42004f251b Room directory : more cleanup and more tests 2024-03-28 18:10:29 +01:00
ganfra
3f1f764745 Room directory : add tests and cleanup 2024-03-28 17:03:34 +01:00
ganfra
37d645d153 Merge branch 'develop' into feature/fga/room_directory 2024-03-28 16:15:04 +01:00
ganfra
d632e216b7 RoomDirectory : branch feature flag 2024-03-27 12:57:50 +01:00
ganfra
153e88dade RoomList Search : do not persist isActive when leaving composition 2024-03-26 15:18:16 +01:00
bmarty
3af876b953 Sync Strings from Localazy 2024-03-25 00:18:59 +00:00
ganfra
fa7a889a3f Room directory : change names and adapt ui 2024-03-21 17:22:00 +01:00
ganfra
a8028ba968 Room directory search : branch entry point 2024-03-20 15:35:54 +01:00
Benoit Marty
a51855a171 Simplification since MatrixUser cannot be null anymore. 2024-03-18 16:46:26 +01:00
Benoit Marty
68fd649424 Use client.cachedAvatarUrl(), to be able to render the user avatar faster, and even if there is no network (#2488). 2024-03-18 15:02:54 +01:00
ElementBot
f089847f48
Sync Strings (#2557)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-15 13:37:11 +01:00
ganfra
b368480aff RoomList : add some more tests 2024-03-13 15:25:36 +01:00