Commit Graph

2811 Commits

Author SHA1 Message Date
Benoit Marty
eb91f83f51 Always use method aRichTextEditorState instead of invoking the constructor directly, and remove parameter when it's the default value. 2024-04-11 11:17:56 +02:00
Benoit Marty
beffc0cce6 Merge pull request #2686 from element-hq/feature/bma/checkStrings
Prevent the word "Element" from being included in string resources.
2024-04-11 09:44:47 +02:00
Benoit Marty
d1b12d5081 Fix compilation issue on test, and ensure that the correct value is used. 2024-04-11 09:15:42 +02:00
Benoit Marty
442d57909d Fix compilation issue. 2024-04-10 17:10:34 +02:00
Benoit Marty
d082e666d5 Use productionApplicationName, set to "Element", instead of "Element X", and use ot for screen_onboarding_welcome_message 2024-04-10 16:45:14 +02:00
Benoit Marty
a258ddf9d8 String screen_create_new_recovery_key_list_item_1 now needs the desktop application name. 2024-04-10 12:36:41 +02:00
Benoit Marty
97e1c5e674 String screen_onboarding_welcome_message now needs the application name. 2024-04-10 12:36:41 +02:00
Benoit Marty
4916baadd8 Sync strings. 2024-04-10 12:36:41 +02:00
Jorge Martin Espinosa
5dafd95eed Improve designs of FTUE analytics opt-in screen (#2684)
* Improve designs of FTUE analytics opt-in screen

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-10 10:28:05 +02:00
Jorge Martin Espinosa
3436351619 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
Jorge Martin Espinosa
fcf1e6be27 Remove Room moderation feature flag (#2678)
* Remove the feature flag

* Add changelog

* Increase login timeout for Maestro
2024-04-09 17:53:07 +02:00
Jorge Martin Espinosa
c8b5458878 Add SessionData.needsVerification field (#2672)
* Add `SessionData.needsVerification`:
  - Allows us to add a skip button for debug builds.
  - We can have the verification state almost instantly.
  - It doesn't depend on network availability to know the verification state and display the UI.
* Add DB migration.
- Make the skip button in the verification flow skip the whole flow including the completed screen.
- Save the session as verified in `RustEncryptionService.recover(recoveryKey)`.
* Enforce session verification for existing users too.
* Fix verification confirmed screen subtitle (typo in id, was using the wrong string)
* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-09 17:28:12 +02:00
Jorge Martin Espinosa
8757d1b5ad Display members section when there are members in the room, not admins (#2679)
* Display members section when there are members in the room, not admins

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-09 13:08:40 +00:00
Benoit Marty
da9a8f8cb1 Exclude fun ContentToPreview() from coverage, this is not production code. 2024-04-08 16:20:42 +02:00
Benoit Marty
7840d2ca40 Add UI test on CreateRoomRootView 2024-04-08 15:42:31 +02:00
Benoit Marty
adb96e6375 Add UI test on AddPeopleView 2024-04-08 15:28:48 +02:00
Benoit Marty
b68ecbf0c4 Add suggestion of users when starting a Chat #2634 2024-04-08 13:53:55 +02:00
Jorge Martin Espinosa
5a08a4b5a3 Improve UI for notification permission screen in onboarding (#2660)
* Improve UI for notification permission screen in onboarding

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-08 10:58:37 +02:00
Jorge Martin Espinosa
4057b4b9cd 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
70a85b5c2b Sync Strings from Localazy 2024-04-08 00:20:53 +00:00
Benoit Marty
0b0174ddd8 Merge pull request #2663 from element-hq/feature/bma/testChangeRolesView
Fix a bunch of small issues around moderation and test change roles view
2024-04-05 13:37:58 +02:00
Benoit Marty
7974d4e972 Move usersWithRole() function to a dedicated file and make it a documented extension of MatrixRoom. 2024-04-05 12:43:41 +02:00
Benoit Marty
edf0b3a38f Add comment for clarity 2024-04-05 12:01:29 +02:00
Benoit Marty
605131c1c2 No need to use CompositionLocalProvider here. 2024-04-05 10:27:49 +02:00
Benoit Marty
65bd7d580b Add UI test on ChangeRolesView 2024-04-05 10:12:29 +02:00
Benoit Marty
0af235d50d SearchBar handle the back press when it is active, there is no need to handle the event here. 2024-04-05 09:23:36 +02:00
Benoit Marty
fcc02f323c Member role: only count and display joined members. 2024-04-04 19:17:36 +02:00
Benoit Marty
798c498910 Ensure SearchBar are displayed with max width. 2024-04-04 18:45:56 +02:00
Benoit Marty
e3a1b5f4ed Fix non-scrollable screens. 2024-04-04 18:36:14 +02:00
Benoit Marty
ecaeb4b257 Avoid using fixture method in production code. 2024-04-04 17:48:04 +02:00
Benoit Marty
26555bd469 Add unit test on RetrySendMessageMenu 2024-04-04 15:29:16 +02:00
Benoit Marty
6f868afe1b Add more assertions 2024-04-04 15:12:24 +02:00
Benoit Marty
e32dd73e8e Some renaming for clarity, especially "RemoveFailed" was not clear, developer may think the that removing has failed. 2024-04-04 15:08:25 +02:00
Benoit Marty
4e5a202a75 Improve preview of RetrySendMenuMenu 2024-04-04 14:56:26 +02:00
Benoit Marty
045392df45 Remove old ExtraPadding workaround. 2024-04-04 14:47:47 +02:00
Benoit Marty
68ababa0be Merge pull request #2653 from element-hq/feature/bma/copyPermalink
Copy permalink
2024-04-03 17:38:38 +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
90a03cbd4c Add action to copy permalink #2650 2024-04-03 15:37:21 +02:00
Benoit Marty
7945297a28 Create dedicated module for notification troubleshoot. 2024-04-02 18:12:36 +02:00
Benoit Marty
8971a6c0fb Rename UserPushStoreFactory.create to UserPushStoreFactory.getOrCreate for code clarity. 2024-04-02 18:12:36 +02:00
Benoit Marty
75f1d2fdc0 Run ./tools/localazy/downloadStrings.sh --all 2024-04-02 18:12:36 +02:00
Benoit Marty
b372a2af2d Remove wrong comment 2024-04-02 18:12:36 +02:00
Benoit Marty
37c41131ea Improve ScreenTracker. 2024-04-02 18:12:36 +02:00
Benoit Marty
d8b41e79bd Code quality 2024-04-02 16:15:06 +02:00
Benoit Marty
62dd70d4e1 More tests on NotificationSettingsView. 2024-04-02 16:15:05 +02:00
Benoit Marty
17d2159cd6 Improve preview management for NotificationSettingsView 2024-04-02 16:15:05 +02:00
Benoit Marty
26d1894449 Add test on NotificationSettingsView 2024-04-02 16:15:05 +02:00
Benoit Marty
a3253bbe5c Localize Troubleshoot notification feature. 2024-04-02 16:15:04 +02:00
Benoit Marty
37712298c5 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
2bfde5e85d use emit instead of tryEmit 2024-04-02 16:15:03 +02:00