Jorge Martin Espinosa
6257425344
Bump Rust SDK to v0.2.18 and bump app version ( #2836 )
...
* Adapt to changes in SDK:
- Remove name from MatrixRoom, we should use displayName instead.
- Remove separate invites room list.
- Added runBlocking to get the now async NotificationClient from the Rust SDK.
- Made some other functions suspend.
- Client.resolveRoomAlias now returns a roomId and via parameters, we pass the roomId.
* Add logs removal migration again as `AppMigration03` to make sure we don't leak private data in existing logs.
* Bump app version to `0.4.12`
2024-05-13 16:48:23 +02:00
Jorge Martin Espinosa
e1694fa4e8
Add room badges ( #2822 )
...
* Add room badges
* Remove no longer used `onShareRoomMember` callback
* Update screenshots
* Add changelog
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-05-09 08:38:40 +02:00
Jorge Martin Espinosa
2e93d842c7
UX cleanup: DM details screen ( #2820 )
...
* UX cleanup: user profile.
- Move send DM to a CTA button.
- Add 'Call' CTA button too when there is a DM with that user and a call is possible.
- Add missing tests.
* Update screenshots
* Add tests for clicking on the avatar
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-05-08 16:05:02 +02:00
Jorge Martin Espinosa
17f5b0fe77
UX cleanup: DM details screen ( #2817 )
...
* UX cleanup: DM details screen
Reuse `MainActionsSection` for DMs too, hiding the Share CTA in that case.
* Update screenshots
* Fix tests
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-05-08 12:49:44 +02:00
Jorge Martin Espinosa
b524645b89
UX cleanup: room details ( #2816 )
...
* UX cleanup: room details screen
Add new CTA buttons for Invite and Call actions
* Update screenshots
* Fix maestro
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-05-08 11:42:33 +02:00
bmarty
d2eb0d9820
Sync Strings from Localazy
2024-05-06 00:19:35 +00:00
Benoit Marty
66cfaf97c9
Open user profile and room with event from permalink
2024-05-02 12:25:21 +02:00
bmarty
7383ac6678
Sync Strings from Localazy
2024-04-29 00:18:59 +00:00
Benoit Marty
0938935d16
Rename Preview to follow code convention
2024-04-19 14:30:45 +02:00
Benoit Marty
426cd9106c
Fix test.
2024-04-18 00:44:34 +02:00
Benoit Marty
a602849ec5
Increase usage of RoomAlias
2024-04-18 00:02:22 +02:00
Benoit Marty
291983f6bc
Use produceState and fetch profile only if necessary.
2024-04-17 16:15:36 +02:00
Benoit Marty
57072c3e6a
Add missing test for unblock user with error.
2024-04-17 14:44:16 +02:00
Benoit Marty
f4aea992de
Format
2024-04-17 14:01:03 +02:00
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
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
Benoit Marty
4916baadd8
Sync strings.
2024-04-10 12:36:41 +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
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
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
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
75f1d2fdc0
Run ./tools/localazy/downloadStrings.sh --all
2024-04-02 18:12:36 +02:00
Benoit Marty
3edbb29eb8
Merge pull request #2639 from element-hq/feature/bma/hideCallMemberEvents
...
Hide call member events
2024-04-02 16:14:11 +02:00
Benoit Marty
db3f17fd7d
Move PermalinkBuilder, MatrixToConverter and PermalinkParser content to the impl project in order to remove projects.appconfig dependency from matrix.api module.
2024-04-02 14:15:54 +02:00
bmarty
1e334891ab
Sync Strings from Localazy
2024-04-01 00:17:18 +00:00
ganfra
6fd3f9c5f1
Room directory : more cleanup and more tests
2024-03-28 18:10:29 +01:00
ganfra
bbcc0079d8
Merge pull request #2591 from element-hq/fix/jme/2590-update-room-member-list-after-changing-roles
...
Update member list after changing member roles
2024-03-26 12:27:42 +01:00
bmarty
4d68f193a1
Sync Strings from Localazy
2024-03-25 00:18:59 +00:00
Jorge Martin Espinosa
dd0ee0cfae
Replace leftover hardcoded string with the right text ( #2592 )
2024-03-22 14:34:40 +01:00
Jorge Martín
b933dd929c
Only retrieve active users in RoomMemberListDataSource
2024-03-22 10:14:22 +01:00
Jorge Martín
6fb960291d
Update member list after changing member roles
...
Also do it when the user enters the room member list screen.
2024-03-22 10:13:51 +01:00
Benoit Marty
62799e1854
Merge pull request #2565 from element-hq/feature/bma/userDataCache
...
Read user avatar from cache
2024-03-18 17:33:26 +01:00
Jorge Martin Espinosa
058a79127c
Remove unnecessary Room.updateMembers() calls. ( #2564 )
...
* Remove unnecessary `updateMembers` calls.
Some of them can be directly removed since we have a way to automatically get member info updates based on membership changes.
Others can be replaced by a simpler `getUpdatedMember` method. This might still need a full member sync, but it's quite unlikely.
2024-03-18 14:57:25 +00:00