Commit Graph

2694 Commits

Author SHA1 Message Date
ganfra 23b276dfcb Merge branch 'develop' into feature/fga/room_list_filter_iteration 2024-03-12 15:40:38 +01:00
ganfra bf68261ed9 RoomList: refactor and fix tests 2024-03-12 15:38:33 +01:00
Jorge Martin Espinosa 3453738344 Prevent sending empty messages (#2527)
* Prevent sending empty messages

* Fix screenshot issue

* Use `aRichTextEditorState` helper function
2024-03-12 12:25:23 +01:00
ganfra a2c4d7debd RoomListFilters : integrate with TopBar (and bloom) 2024-03-11 21:27:14 +01:00
ganfra 0db6ff4263 RoomListFilters : improve look and feel 2024-03-11 20:33:25 +01:00
ganfra 4adbf5e297 RoomList : add empty state when filtering 2024-03-11 18:59:59 +01:00
Benoit Marty b237f28895 Merge pull request #2518 from element-hq/feature/bma/testPollHistoryView
Test poll history view
2024-03-11 13:59:52 +01: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
ganfra de91b97949 RoomList : refactor how we manage state so it's easier to reason about. 2024-03-09 16:53:48 +01:00
Benoit Marty 961cc71522 Remove unecessary parenthesis 2024-03-08 22:21:06 +01:00
Benoit Marty 32996e421a Add name to call argument. 2024-03-08 17:30:32 +01:00
Benoit Marty df32534045 PollHistoryView: add UI test. 2024-03-08 17:24:00 +01:00
Benoit Marty 08d952bf18 PollHistoryView: add preview for empty list. 2024-03-08 16:19:58 +01:00
ganfra c06ded6bd0 Update localazy 2024-03-07 17:49:43 +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 ee532c8b67 Hide blocked users list when there are no blocked users (#2504) 2024-03-07 16:14:44 +00:00
ganfra b9aa07ab14 RoomListFilters: extract logic of selection/deselection and tweak a bit the animations. 2024-03-07 16:37:22 +01:00
Jorge Martín a76f00010b Fix issue with UserListView previews 2024-03-07 13:51:20 +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
Jorge Martin Espinosa 1d892b4bc8 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 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
Benoit Marty d0dd8e2b3a Fix layout issue, issue only visible when text is longer (French, German, etc.) #2461 2024-03-01 15:28:45 +01:00
bmarty 4f81fe2090 Sync Strings from Localazy 2024-02-29 13:48:26 +00:00
Benoit Marty 42e165794b Merge pull request #2453 from element-hq/renovate/app.cash.molecule-molecule-runtime-1.x
Update dependency app.cash.molecule:molecule-runtime to v1.4.0
2024-02-28 18:21:30 +01:00
Benoit Marty e87ae0930c Stop using consumeItemsUntilPredicate 2024-02-28 15:28:23 +01:00
bmarty 7710876089 Sync Strings from Localazy 2024-02-28 11:33:05 +00:00
Benoit Marty ff7175c95c Remove weird trailing comma 2024-02-27 22:19:04 +01:00
Benoit Marty 041c7f5558 Avoid consumeItemsUntilPredicate and try the deterministic way. 2024-02-27 22:17:11 +01:00
ganfra 2be4beafd5 PinUnlock tests: do not use awaitLastSequentialItem... 2024-02-27 20:31:09 +01:00
ganfra bd87e99df1 RoomListFilters : use kotlin filtering as rust one is slower and has more chance to bust the room list cache. 2024-02-27 16:24:54 +01:00
ganfra 593a94b994 RoomListFilters : remove animation on filter toggling 2024-02-27 16:22:30 +01:00
Benoit Marty 7e2fd62d04 Merge pull request #2448 from element-hq/feature/bma/testMediaViewerView
Add test on MediaViewerView and other missing unit tests.
2024-02-27 15:51:45 +01:00
Benoit Marty f484be0e0b Renaming function for code clarity. 2024-02-27 09:53:14 +01: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
Jorge Martin Espinosa cdf89adcd2 Show blocked users list (#2437)
* Show blocked users list.

Also allow to unblock them from this list.

* Add non-blocking `AsyncIndicatorHost` component

* Use `StateFlow` for getting ignored users.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-26 15:24:22 +00:00
ganfra 3213847a5b Merge pull request #2438 from element-hq/feature/fga/improve_media_viewer
[Improvement] MediaViewer/Attachment experience
2024-02-26 10:39:02 +01:00
Benoit Marty b9933acf98 Sync Localazy strings - including post treatment.
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
ganfra 74d1aeeccb AttachmentsPreview: set zoomable state 2024-02-23 17:36:38 +01:00
ganfra 90923c2e89 Attachment : quickly improve rendering too 2024-02-23 17:26:31 +01:00
ganfra 22676cc5eb MediaViewer : introduce fullscreen and flick to dismiss behavior 2024-02-23 16:55:41 +01:00
Benoit Marty 5e0b705d44 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 15:42:50 +01:00