Commit graph

2852 commits

Author SHA1 Message Date
ganfra
0cda5b9e90
Merge pull request #2714 from element-hq/feature/fga/room_list_invites
[Feature] Room list invites
2024-04-17 23:04:31 +02:00
ganfra
90e273cd65 Room list invites: address some remarks and add small tests 2024-04-17 22:02:44 +02:00
Benoit Marty
5b3a2d8eca Use produceState and fetch profile only if necessary. 2024-04-17 16:15:36 +02:00
Benoit Marty
f9d3f947c2 Add missing test for unblock user with error. 2024-04-17 14:44:16 +02:00
Benoit Marty
3f0159d438 Format 2024-04-17 14:01:03 +02:00
Benoit Marty
4d50e43e85 Add test covering fallback to user profile. 2024-04-17 13:42:29 +02:00
Benoit Marty
0dba614c0a createRoomMemberDetailsPresenter just need a UserId. 2024-04-17 13:35:16 +02:00
Benoit Marty
c9d5961684 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
f2ff326938 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
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
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