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
Benoit Marty
0a14ed67af
Add UI test on ChangeRolesView
2024-04-05 10:12:29 +02:00
Benoit Marty
2cb056711d
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
97491c3f3f
Member role: only count and display joined members.
2024-04-04 19:17:36 +02:00
Benoit Marty
04eb59bd07
Ensure SearchBar are displayed with max width.
2024-04-04 18:45:56 +02:00
Benoit Marty
5f071daf64
Fix non-scrollable screens.
2024-04-04 18:36:14 +02:00
Benoit Marty
3ed8b0d055
Avoid using fixture method in production code.
2024-04-04 17:48:04 +02:00
Benoit Marty
e18e5f1cc5
Run ./tools/localazy/downloadStrings.sh --all
2024-04-02 18:12:36 +02:00
Benoit Marty
609f636d1c
Merge pull request #2639 from element-hq/feature/bma/hideCallMemberEvents
...
Hide call member events
2024-04-02 16:14:11 +02:00
Benoit Marty
1e5a61a49c
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
5809864182
Sync Strings from Localazy
2024-04-01 00:17:18 +00:00
ganfra
42004f251b
Room directory : more cleanup and more tests
2024-03-28 18:10:29 +01:00
ganfra
865b8b0001
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
3af876b953
Sync Strings from Localazy
2024-03-25 00:18:59 +00:00
Jorge Martin Espinosa
4960621277
Replace leftover hardcoded string with the right text ( #2592 )
2024-03-22 14:34:40 +01:00
Jorge Martín
9f2726ec4f
Only retrieve active users in RoomMemberListDataSource
2024-03-22 10:14:22 +01:00
Jorge Martín
759022ec92
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
fb64018110
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
883d834284
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
Benoit Marty
a0cbe1087b
Fix compilation warning.
2024-03-18 15:02:41 +01:00
Jorge Martin Espinosa
4b9507d512
Add analytic events to room moderation ( #2553 )
...
* Add analytic events to room moderation
* Fix typo and tests
2024-03-18 08:06:36 +01:00
ElementBot
f089847f48
Sync Strings ( #2557 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-15 13:37:11 +01:00
Jorge Martin Espinosa
e3a395f15a
Improve room member list loading UX ( #2543 )
...
Improve room member list UX:
- Don't display the list in chunks anymore.
- Use an indeterminate linear progress indicator to display some loading is being done (either loading the cached list or the updated one).
- Try to make sure we don't display the members loaded from timeline items as the cached room list by mistake.
* Update screenshots
* Simplify member loading logic.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-14 08:05:44 +00:00
Jorge Martin Espinosa
4c14ac822e
Added empty state to banned member list ( #2541 )
...
* Added empty state to banned member list
* Center both empty states in `RoomMemberListView` and `PollHistoryView`
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-13 15:04:43 +00:00
Benoit Marty
ad17afe209
Merge pull request #2533 from element-hq/sync-localazy
...
Sync Strings
2024-03-12 16:08:52 +01:00
Jorge Martin Espinosa
59a682b407
Change a room's permissions power levels ( #2525 )
...
* Change a room's permissions power levels
* Make `currentPermissions` use a `MatrixRoomPowerLevels?` instance instead.
* Update strings
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-12 15:45:06 +01:00
bmarty
c021809479
Sync Strings from Localazy
2024-03-12 13:54:03 +00:00
Benoit Marty
b8ee02375e
Merge pull request #2524 from element-hq/feature/bma/testRoomMembersModerationView
...
Add UI test on room members moderation view
2024-03-11 13:59:35 +01:00
Benoit Marty
b48122f3ac
Format file
2024-03-11 13:59:17 +01:00
Benoit Marty
e7cb391b12
Add UI test on RoomMembersModerationView
2024-03-11 12:26:08 +01:00
Benoit Marty
533c2280e8
Using listOf is OK here.
2024-03-11 12:26:08 +01:00
ElementBot
dac54e7154
Sync Strings ( #2523 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-11 08:46:07 +00:00
Benoit Marty
9e9c57c324
LocalInspectionMode.current is checked at ModalBottomSheet body.
2024-03-11 09:28:25 +01:00
Jorge Martin Espinosa
878a36fbd5
Fix double back navigation in roles and permissions screen ( #2506 )
...
* Fix double back navigation in roles and permissions screen
This happened after saving changes and pressing the back navigation button in the top app bar.
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-03-07 17:18:06 +01:00
Jorge Martin Espinosa
134cacb024
Room member moderation: kick, ban and unban ( #2496 )
...
* Room member moderation: kick, ban and unban
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-06 16:44:05 +01:00
Jorge Martin Espinosa
97f2620997
Add room moderation feature flag ( #2495 )
2024-03-06 09:51:43 +01:00
Jorge Martin Espinosa
b9d902e3fe
Room admins can change user roles ( #2423 )
...
Allow Admins to modify room member roles:
- Add a 'roles and permissions' option for each room.
- Allow promoting users to admins, adding or removing moderators, and demote yourself if you're and admin.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-05 16:46:47 +00:00
ElementBot
f2169aaaa8
Sync Strings ( #2484 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-05 09:10:47 +01:00
Benoit Marty
98fd9133ac
Fix layout issue, issue only visible when text is longer (French, German, etc.)
2024-03-01 15:57:13 +01:00
bmarty
4f81fe2090
Sync Strings from Localazy
2024-02-29 13:48:26 +00:00
bmarty
7710876089
Sync Strings from Localazy
2024-02-28 11:33:05 +00:00
Benoit Marty
6d31c7d1d3
Import string again with new post processing.
2024-02-26 21:36:28 +01:00
bmarty
5c8be8f61f
Sync Strings from Localazy
2024-02-26 18:17:16 +00:00
Benoit Marty
b9933acf98
Sync Localazy strings - including post treatment.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
Benoit Marty
5e0b705d44
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 15:42:50 +01:00
Benoit Marty
a7e38f0925
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
Benoit Marty
8428823c76
Add test about clicking an Avatar in a DM room detail.
2024-02-22 16:18:07 +01:00
Benoit Marty
d73f35e5ff
Exclude ContentToPreview from coverage.
2024-02-22 16:12:29 +01:00