Commit Graph

2837 Commits

Author SHA1 Message Date
Benoit Marty 3df328b1ab Parse permalink using parseMatrixEntityFrom.
Create new PermalinkData type for link to Events.
Keep matrixToConverter for now to first convert to matrix.to link. At some point it may be done by the SDK.
Remove parse(Uri)
2024-04-15 17:47:40 +02:00
Benoit Marty 9fcb880f1d Fix formatting issue. 2024-04-15 17:04:33 +02:00
Benoit Marty b1cb24a883 Use Node scope instead of UI scope. 2024-04-15 17:02:27 +02:00
Benoit Marty 294f1f2d96 Use SDK API to build room and event permalinks. 2024-04-15 16:05:12 +02:00
bmarty 8f6a1b410e Sync Strings from Localazy 2024-04-15 11:40:19 +00:00
ganfra e19cd28879 Merge pull request #2695 from element-hq/feature/fga/room_navigation
Room navigation
2024-04-15 12:55:29 +02:00
Benoit Marty a5240e3294 Attempt to fix preview of RoomDirectoryView 2024-04-15 10:47:28 +02:00
Benoit Marty 9e14db2739 Attempt to fix preview of JoinRoomView 2024-04-15 10:44:45 +02:00
Benoit Marty 7c5a89d775 Fix test: ContentState.UnknownRoom case will be handled later. 2024-04-15 09:01:03 +02:00
Benoit Marty 1eb1efed52 Cleanup 2024-04-15 08:58:06 +02:00
Benoit Marty 61f76533b9 Format 2024-04-12 18:45:43 +02:00
Benoit Marty 64c66b4454 Fix preview of JoinRoomView 2024-04-12 18:45:34 +02:00
Benoit Marty 794e3440fd Use ContentState.Loading instead of ContentState.UnknownRoom. 2024-04-12 18:16:17 +02:00
ganfra a41096fa51 Fix malformed room id in StateProvider.. 2024-04-12 16:45:40 +02:00
ganfra 11979167c5 Room navigation : some clean up 2024-04-12 15:58:15 +02:00
ganfra a2329fc7df Join room : change state and view 2024-04-12 14:10:32 +02:00
ganfra ab8c31541b Room join : add presenter tests 2024-04-11 21:07:10 +02:00
ganfra fbb92f0c9a Room navigation : fix tests on invite after the refactoring 2024-04-11 16:50:09 +02:00
Benoit Marty 131edd0ba4 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 7d247b062e 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 b1e14cfaa3 Fix compilation issue on test, and ensure that the correct value is used. 2024-04-11 09:15:42 +02:00
Benoit Marty 2799335a6c Fix compilation issue. 2024-04-10 17:10:34 +02:00
ganfra 73f276ba8e Merge branch 'develop' into feature/fga/room_navigation 2024-04-10 16:55:55 +02:00
Benoit Marty ffede8b13b 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
ganfra db9a402ce5 Room navigation : make it working with RoomDirectory 2024-04-10 15:14:59 +02:00
Benoit Marty a4cb241767 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 98572125b1 String screen_onboarding_welcome_message now needs the application name. 2024-04-10 12:36:41 +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 6db513c125 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 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
Jorge Martin Espinosa d0f26777da 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 1045f99d18 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
ganfra 14a638626d Room navigation : import join room strings 2024-04-09 15:53:25 +02:00
Jorge Martin Espinosa 63f7defb07 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
ganfra 5e684edb8d Room navigation : extract JoinRoomNode to his own feature module 2024-04-09 15:03:27 +02:00
ganfra 6a255a1b10 Room navigation : reuse accept/decline presentation logic 2024-04-09 14:16:17 +02:00
ganfra 7d59884922 Room navigation : refactor Invites so we can use it in other places 2024-04-08 21:18:25 +02:00
ganfra f586114458 Room navigation : rename module invitelist to invite 2024-04-08 17:22:13 +02:00
Benoit Marty 16d289e180 Exclude fun ContentToPreview() from coverage, this is not production code. 2024-04-08 16:20:42 +02:00
Benoit Marty 523b1644a2 Add UI test on CreateRoomRootView 2024-04-08 15:42:31 +02:00
Benoit Marty 470e8ff581 Add UI test on AddPeopleView 2024-04-08 15:28:48 +02:00
Benoit Marty 1c66254e74 Add suggestion of users when starting a Chat #2634 2024-04-08 13:53:55 +02:00
Jorge Martin Espinosa b6ceb8c697 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 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
Benoit Marty 103743c338 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 c0caa907aa 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 fd1ff97c53 Add comment for clarity 2024-04-05 12:01:29 +02:00
Benoit Marty 3fdc281bd3 No need to use CompositionLocalProvider here. 2024-04-05 10:27:49 +02:00