Commit graph

2724 commits

Author SHA1 Message Date
Jorge Martin Espinosa
6aa84d600e
Implement MSC2530 (#2570)
* Implement MSC2530
* Some layout improvements for images and videos with captions
* Update screenshots
* Replace `it` in several previews with `isMine`

---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-20 13:58:29 +01:00
Jorge Martín
cc9c04b1a3 Fix SDK integration 2024-03-20 09:36:35 +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
Benoit Marty
a51855a171 Simplification since MatrixUser cannot be null anymore. 2024-03-18 16:46: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
68fd649424 Use client.cachedAvatarUrl(), to be able to render the user avatar faster, and even if there is no network (#2488). 2024-03-18 15:02:54 +01: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
694f551bbc
Ensure progress indicator is removed when a user is unblocked (#2554) 2024-03-15 08:34:59 +01:00
Jorge Martin Espinosa
67d79059f8
Add legacy call invite state events and notifications (#2552)
* Add state timeline events and notifications for legacy call invites

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-14 16:29:06 +01:00
Jorge Martin Espinosa
83861c43de
Add SDK git SHA to user agent (#2548) 2024-03-14 09:59:46 +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
ganfra
8ed4d3c48f
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
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
ganfra
b368480aff RoomList : add some more tests 2024-03-13 15:25:36 +01:00
ganfra
65fa3bf6a4 Tests: raise default timeout of consumeItemsUntilPredicate to 3 seconds (like awaitItem) 2024-03-13 12:44:59 +01:00
ganfra
427b3f7c0f Merge branch 'develop' into feature/fga/room_list_filter_iteration 2024-03-13 12:07:20 +01:00
ganfra
f1730a1514
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
470aca2652 Acronyms in camel case should have only the first letter capitalized. 2024-03-13 10:13:10 +01:00
Benoit Marty
59f66a9df0 Some string keys have been renamed, so rename them in the code. 2024-03-13 10:02:06 +01:00
Benoit Marty
72587d589f Run ./tools/localazy/downloadStrings.sh --all after some key renaming on Localazy. 2024-03-13 09:56:31 +01:00
Benoit Marty
357ed0a40f
Merge pull request #2534 from element-hq/feature/bma/fixStringImport
Fix string import
2024-03-13 09:38:21 +01:00
ganfra
40287e1991 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
73297fed80
Merge pull request #2532 from element-hq/feature/bma/fixLayoutPoll
Fix layout poll
2024-03-12 16:38:49 +01:00
Benoit Marty
72d215e246 Run ./tools/localazy/downloadStrings.sh --all after config change. 2024-03-12 16:25:48 +01: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
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
bmarty
c021809479 Sync Strings from Localazy 2024-03-12 13:54:03 +00: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
Benoit Marty
691e293e86 Fix text alignment on empty poll view. 2024-03-12 10:51:28 +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