Commit Graph

2841 Commits

Author SHA1 Message Date
Benoit Marty
739b6c2acb Add test covering fallback to user profile. 2024-04-17 13:42:29 +02:00
Benoit Marty
7512d8e0fd createRoomMemberDetailsPresenter just need a UserId. 2024-04-17 13:35:16 +02:00
Benoit Marty
bec65c46fc RoomMemberDetailsPresenter: fallback to user profile data if the user is not a member of the room.
This can be displayed when the user click on a non-member user permalink.
2024-04-17 13:21:52 +02:00
Benoit Marty
87298803c6 Observe ignoredUsersFlow to have live data about blocked user.
This will also ensure that blocking a user will work even if the user is not a member of the room (preparatory work for user permalink)
2024-04-17 13:21:52 +02:00
Benoit Marty
9b6ab9b484 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
0d655bff78 Fix formatting issue. 2024-04-15 17:04:33 +02:00
Benoit Marty
42d4a2a544 Use Node scope instead of UI scope. 2024-04-15 17:02:27 +02:00
Benoit Marty
4c7e66e928 Use SDK API to build room and event permalinks. 2024-04-15 16:05:12 +02:00
bmarty
f81dca8238 Sync Strings from Localazy 2024-04-15 11:40:19 +00:00
ganfra
1dcdc713a4 Merge pull request #2695 from element-hq/feature/fga/room_navigation
Room navigation
2024-04-15 12:55:29 +02:00
Benoit Marty
bb75d33807 Attempt to fix preview of RoomDirectoryView 2024-04-15 10:47:28 +02:00
Benoit Marty
f9df0c34a9 Attempt to fix preview of JoinRoomView 2024-04-15 10:44:45 +02:00
Benoit Marty
822990af09 Fix test: ContentState.UnknownRoom case will be handled later. 2024-04-15 09:01:03 +02:00
Benoit Marty
bc2a8e4e1c Cleanup 2024-04-15 08:58:06 +02:00
Benoit Marty
fa54e20c3f Format 2024-04-12 18:45:43 +02:00
Benoit Marty
25f4dbc934 Fix preview of JoinRoomView 2024-04-12 18:45:34 +02:00
Benoit Marty
020e51d0f9 Use ContentState.Loading instead of ContentState.UnknownRoom. 2024-04-12 18:16:17 +02:00
ganfra
f7d74070ea Fix malformed room id in StateProvider.. 2024-04-12 16:45:40 +02:00
ganfra
8b80b2859f Room navigation : some clean up 2024-04-12 15:58:15 +02:00
ganfra
c0918bd965 Join room : change state and view 2024-04-12 14:10:32 +02:00
ganfra
038d8e3334 Room join : add presenter tests 2024-04-11 21:07:10 +02:00
ganfra
79c6385edb Room navigation : fix tests on invite after the refactoring 2024-04-11 16:50:09 +02:00
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
ganfra
d07df2319b Merge branch 'develop' into feature/fga/room_navigation 2024-04-10 16:55:55 +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
ganfra
bf7a94cc93 Room navigation : make it working with RoomDirectory 2024-04-10 15:14:59 +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
ganfra
fc20b7399a Room navigation : more reliable roomInfoFlow method 2024-04-10 11:41:06 +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
ganfra
23604e0549 Room navigation : import join room strings 2024-04-09 15:53:25 +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
ganfra
9c1a0b5581 Room navigation : extract JoinRoomNode to his own feature module 2024-04-09 15:03:27 +02:00
ganfra
9ff0e8eccb Room navigation : reuse accept/decline presentation logic 2024-04-09 14:16:17 +02:00
ganfra
5b8690d32e Room navigation : refactor Invites so we can use it in other places 2024-04-08 21:18:25 +02:00
ganfra
28361be6e8 Room navigation : rename module invitelist to invite 2024-04-08 17:22:13 +02: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