Commit Graph

2713 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
90304a268e Add SDK git SHA to user agent (#2548) 2024-03-14 09:59:46 +01:00
Jorge Martin Espinosa
1670909408 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
ganfra
eba6db5ce2 Merge pull request #2536 from element-hq/feature/fga/room_list_filter_iteration
Feature/fga/room list filter iteration
2024-03-13 16:36:54 +01:00
Jorge Martin Espinosa
b405d9025f 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
ganfra
feb87558a8 RoomList : add some more tests 2024-03-13 15:25:36 +01:00
ganfra
9d6f68ac82 Tests: raise default timeout of consumeItemsUntilPredicate to 3 seconds (like awaitItem) 2024-03-13 12:44:59 +01:00
ganfra
dbba95a830 Merge branch 'develop' into feature/fga/room_list_filter_iteration 2024-03-13 12:07:20 +01:00
ganfra
14ed18d85b Merge pull request #2537 from element-hq/feature/fga/fix_timeline_is_direct
Bugfix : fix timeline not showing sender info
2024-03-13 11:17:29 +01:00
Benoit Marty
90cd0dc44e Acronyms in camel case should have only the first letter capitalized. 2024-03-13 10:13:10 +01:00
Benoit Marty
12f4fc2591 Some string keys have been renamed, so rename them in the code. 2024-03-13 10:02:06 +01:00
Benoit Marty
c881ea95bf Run ./tools/localazy/downloadStrings.sh --all after some key renaming on Localazy. 2024-03-13 09:56:31 +01:00
Benoit Marty
19d6111e55 Merge pull request #2534 from element-hq/feature/bma/fixStringImport
Fix string import
2024-03-13 09:38:21 +01:00
ganfra
86f530e5d0 Bugfix : fix timeline not showing sender info when room is marked as direct but not a 1:1 room #2530 2024-03-12 17:35:54 +01:00
Benoit Marty
d8f19b8564 Merge pull request #2532 from element-hq/feature/bma/fixLayoutPoll
Fix layout poll
2024-03-12 16:38:49 +01:00
Benoit Marty
d05a6541f6 Run ./tools/localazy/downloadStrings.sh --all after config change. 2024-03-12 16:25:48 +01:00
Benoit Marty
bbf495c42b Merge pull request #2533 from element-hq/sync-localazy
Sync Strings
2024-03-12 16:08:52 +01:00
Jorge Martin Espinosa
d19b3fe091 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
ganfra
bdf2a45ad3 Merge branch 'develop' into feature/fga/room_list_filter_iteration 2024-03-12 15:40:38 +01:00
ganfra
3cb189f475 RoomList: refactor and fix tests 2024-03-12 15:38:33 +01:00
bmarty
0c0c36c393 Sync Strings from Localazy 2024-03-12 13:54:03 +00:00
Jorge Martin Espinosa
796bdc0224 Prevent sending empty messages (#2527)
* Prevent sending empty messages

* Fix screenshot issue

* Use `aRichTextEditorState` helper function
2024-03-12 12:25:23 +01:00
Benoit Marty
5ed4ac7888 Fix text alignment on empty poll view. 2024-03-12 10:51:28 +01:00
ganfra
6ac66d08fd RoomListFilters : integrate with TopBar (and bloom) 2024-03-11 21:27:14 +01:00
ganfra
8420866120 RoomListFilters : improve look and feel 2024-03-11 20:33:25 +01:00
ganfra
fbbde977f9 RoomList : add empty state when filtering 2024-03-11 18:59:59 +01:00
Benoit Marty
29add70971 Merge pull request #2518 from element-hq/feature/bma/testPollHistoryView
Test poll history view
2024-03-11 13:59:52 +01:00
Benoit Marty
3f4dbcc6f7 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
e8a07a0c46 Format file 2024-03-11 13:59:17 +01:00
Benoit Marty
f4f2d7b138 Add UI test on RoomMembersModerationView 2024-03-11 12:26:08 +01:00
Benoit Marty
5a8293b6f1 Using listOf is OK here. 2024-03-11 12:26:08 +01:00
ElementBot
af6ed820a8 Sync Strings (#2523)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-11 08:46:07 +00:00
Benoit Marty
2106289d34 LocalInspectionMode.current is checked at ModalBottomSheet body. 2024-03-11 09:28:25 +01:00
ganfra
c03dc07dcf RoomList : refactor how we manage state so it's easier to reason about. 2024-03-09 16:53:48 +01:00
Benoit Marty
422ff67953 Remove unecessary parenthesis 2024-03-08 22:21:06 +01:00
Benoit Marty
67e0ca9202 Add name to call argument. 2024-03-08 17:30:32 +01:00
Benoit Marty
44836cb4d0 PollHistoryView: add UI test. 2024-03-08 17:24:00 +01:00
Benoit Marty
3b6d148eb6 PollHistoryView: add preview for empty list. 2024-03-08 16:19:58 +01:00
ganfra
39ec6aae53 Update localazy 2024-03-07 17:49:43 +01:00
Jorge Martin Espinosa
db7e719c57 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
b07ec3e681 Hide blocked users list when there are no blocked users (#2504) 2024-03-07 16:14:44 +00:00
ganfra
2da9bc198a RoomListFilters: extract logic of selection/deselection and tweak a bit the animations. 2024-03-07 16:37:22 +01:00
Jorge Martín
63f79eaa5c Fix issue with UserListView previews 2024-03-07 13:51:20 +01:00
Jorge Martin Espinosa
d8f9408cdb 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
3e56420648 Add room moderation feature flag (#2495) 2024-03-06 09:51:43 +01:00
Jorge Martin Espinosa
6a75be7bf0 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
Jorge Martin Espinosa
b64d7a267e Add extra params to bug reports (#2490)
* Add extra params to bug reports

- `local_time`: the time in the device's timezone.
- `utc_time`: the time in UTC.
- `sdk_sha`: the commit SHA that was used to build the Rust SDK
2024-03-05 17:21:47 +01:00
ElementBot
bd85def8fa Sync Strings (#2484)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-05 09:10:47 +01:00
Benoit Marty
c85c0dc829 Fix layout issue, issue only visible when text is longer (French, German, etc.) 2024-03-01 15:57:13 +01:00
Benoit Marty
01b74f3ef9 Fix layout issue, issue only visible when text is longer (French, German, etc.) #2461 2024-03-01 15:28:45 +01:00
bmarty
a5aa446dce Sync Strings from Localazy 2024-02-29 13:48:26 +00:00