Commit graph

277 commits

Author SHA1 Message Date
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
Benoit Marty
d06ec9099b Add Ui test on DeveloperSettingsView 2024-04-23 13:55:28 +02:00
Benoit Marty
16d289e180 Exclude fun ContentToPreview() from coverage, this is not production code. 2024-04-08 16:20:42 +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
cb435c523b Create dedicated module for notification troubleshoot. 2024-04-02 18:12:36 +02:00
Benoit Marty
52c039d676 Rename UserPushStoreFactory.create to UserPushStoreFactory.getOrCreate for code clarity. 2024-04-02 18:12:36 +02:00
Benoit Marty
e18e5f1cc5 Run ./tools/localazy/downloadStrings.sh --all 2024-04-02 18:12:36 +02:00
Benoit Marty
a89dde2bb4 Remove wrong comment 2024-04-02 18:12:36 +02:00
Benoit Marty
5a0e76677b Improve ScreenTracker. 2024-04-02 18:12:36 +02:00
Benoit Marty
9c89a3b0c7 Code quality 2024-04-02 16:15:06 +02:00
Benoit Marty
7b16b10a64 More tests on NotificationSettingsView. 2024-04-02 16:15:05 +02:00
Benoit Marty
9f60a28b8c Improve preview management for NotificationSettingsView 2024-04-02 16:15:05 +02:00
Benoit Marty
91de03e4b9 Add test on NotificationSettingsView 2024-04-02 16:15:05 +02:00
Benoit Marty
09b2cbaaf5 Localize Troubleshoot notification feature. 2024-04-02 16:15:04 +02:00
Benoit Marty
33526db485 Fix test in VersionFormatterTest (there was a swap in the test names by the way). 2024-04-02 16:15:04 +02:00
Benoit Marty
a3cb7ab265 use emit instead of tryEmit 2024-04-02 16:15:03 +02:00
Benoit Marty
8da435b514 Track NotificationTroubleshoot 2024-04-02 16:15:02 +02:00
Benoit Marty
ef48c2b5a3 Track NotificationTroubleshoot screen 2024-04-02 16:15:02 +02:00
Benoit Marty
74048cca8f Avoid tryEmit(), use emit() 2024-04-02 16:15:01 +02:00
Benoit Marty
2bfe125a77 Troubleshoot notifications screen 2024-04-02 16:15:00 +02:00
bmarty
5809864182 Sync Strings from Localazy 2024-04-01 00:17:18 +00:00
bmarty
3af876b953 Sync Strings from Localazy 2024-03-25 00:18:59 +00: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
Jorge Martin Espinosa
694f551bbc
Ensure progress indicator is removed when a user is unblocked (#2554) 2024-03-15 08:34:59 +01:00
bmarty
c021809479 Sync Strings from Localazy 2024-03-12 13:54:03 +00:00
ElementBot
dac54e7154
Sync Strings (#2523)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-11 08:46:07 +00:00
Jorge Martin Espinosa
ee532c8b67
Hide blocked users list when there are no blocked users (#2504) 2024-03-07 16:14:44 +00:00
ElementBot
f2169aaaa8
Sync Strings (#2484)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-05 09:10:47 +01:00
bmarty
4f81fe2090 Sync Strings from Localazy 2024-02-29 13:48:26 +00:00
bmarty
7710876089 Sync Strings from Localazy 2024-02-28 11:33:05 +00:00
Benoit Marty
6d31c7d1d3 Import string again with new post processing. 2024-02-26 21:36:28 +01:00
bmarty
5c8be8f61f Sync Strings from Localazy 2024-02-26 18:17:16 +00: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
b9933acf98 Sync Localazy strings - including post treatment.
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
Benoit Marty
a7e38f0925 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
Benoit Marty
7b43f64ce4 Add DirectLogoutStateProvider, and add preview for DefaultDirectLogoutView 2024-02-22 12:53:38 +01:00
Benoit Marty
daa90a0660 Remove feature flag SecureStorage 2024-02-21 18:30:57 +01:00
Jorge Martin Espinosa
b69cb8175a
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
bmarty
a614b0d91e Sync Strings from Localazy 2024-02-12 00:10:26 +00:00
Benoit Marty
a55d3d0ace Move clearFocusOnTap to the designsystem library to reduce code duplication. 2024-02-08 11:06:06 +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
Jorge Martin Espinosa
d06e5c23cb
Move migration screen to within the room list (#2361)
* Rename migration bg drawable and add night variant
* Move `migration` package from `ftue` to `messages:impl` module
* Update `SunsetPage` with light and dark modes
* Fix bloom colors when nested theme is used
* Integrate the migration screen in the room list
* Fix `WaitListView` cancel button color
* Clear migration store when removing the app's cache

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-08 10:01:08 +00:00
Benoit Marty
23fb7811f3 Update advanced settings screen. Replace Read Receipt private mode by Share presence. 2024-02-05 13:07:27 +01:00
bmarty
03c95555e3 Sync Strings from Localazy 2024-02-05 00:09:59 +00:00
jmartinesp
f7abfb2f5a Sync Strings from Localazy 2024-01-31 11:38:48 +00:00
Jorge Martin Espinosa
c2fc6db423
Add missing device id to settings screen (#2320)
* Add missing device id to settings screen

* Extract footer component

* Restore `@PreviewWithLargeHeight` logic

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-31 10:01:17 +00:00
Jorge Martin Espinosa
0f5038af8f
Make the whole items in advanced settings screen clickable, standarize paddings (#2314)
* Make sure the whole item in advanced settings screen triggers the toggle action

* Fix UI changes when setting `onChecked` actions to null.

* Fix padding in invite member list items

* Remove redundant `CheckableUserRow` alternatives.

* Use 4dp for padding instead

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-30 11:39:04 +00:00
bmarty
7b0dcbe6a5 Sync Strings from Localazy 2024-01-29 00:09:56 +00:00
Jorge Martin Espinosa
7e58f719fe
Add 'send private read receipts' option in advanced settings (#2290)
* Add 'send private read receipts' option in advanced settings
* Create `SessionPreferencesStore` that stores the settings for the current use separate from those of the app.
* Rename `PreferencesStore` to `AppPreferencesStore` to split the preferences.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-26 10:06:26 +01:00