Commit graph

2753 commits

Author SHA1 Message Date
ganfra
d34c4605a4 RoomDirectory : use same logic for name description computation 2024-03-29 11:37:29 +01:00
ganfra
5f8b74055d RoomDirectory : address pr reviews 2024-03-29 11:37:00 +01:00
ganfra
42004f251b Room directory : more cleanup and more tests 2024-03-28 18:10:29 +01:00
ganfra
3f1f764745 Room directory : add tests and cleanup 2024-03-28 17:03:34 +01:00
ganfra
37d645d153 Merge branch 'develop' into feature/fga/room_directory 2024-03-28 16:15:04 +01:00
ganfra
d632e216b7 RoomDirectory : branch feature flag 2024-03-27 12:57:50 +01:00
ganfra
b900818001 RoomDirectory : continue improving interactions 2024-03-27 12:51:36 +01:00
Benoit Marty
3f85d4e566 Add trophy icon next the the winner vote in polls. 2024-03-26 17:58:31 +01:00
Benoit Marty
16056ef787 Rename PollAnswerItem.isDisclosed to PollAnswerItem.showVotes for clarity.
Indeed the value is set to true for disclosed poll or if poll is ended.
2024-03-26 17:42:34 +01:00
ganfra
153e88dade RoomList Search : do not persist isActive when leaving composition 2024-03-26 15:18:16 +01:00
ganfra
90b2a65c1a Room directory : implement simple join room 2024-03-26 12:32:15 +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
ganfra
0c96769e8b Room directory : start branching join event 2024-03-25 20:10:16 +01:00
ganfra
e4c7118428 Room directory : fix pagination and add empty state. 2024-03-25 18:21:03 +01:00
ganfra
4c5ae6ae4b RoomDirectory : continue implementing the search 2024-03-25 11:17:19 +01:00
ganfra
d3f219065b
Merge pull request #2567 from element-hq/renovate/com.squareup.retrofit2-retrofit-2.x
Update dependency com.squareup.retrofit2:retrofit to v2.10.0
2024-03-25 10:44:19 +01:00
Benoit Marty
a5d0b47d3a Use new retrofit bom and change Maven coordinates of kotlinx-serialization 2024-03-25 09:56:30 +01:00
Benoit Marty
f459d5dea7
Merge pull request #2588 from element-hq/misc/jme/2584-remove-welcome-screen
Remove Welcome screen from the FTUE
2024-03-25 09:39:10 +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
ganfra
3eae08b3e9 Merge branch 'develop' into feature/fga/room_directory 2024-03-21 17:24:54 +01:00
ganfra
fa7a889a3f Room directory : change names and adapt ui 2024-03-21 17:22:00 +01:00
Jorge Martín
f0533be5c6 Remove Welcome screen from the FTUE
Keep the screen UI + logic around in case we want to reuse it in the future.
2024-03-21 16:26:00 +01:00
Jorge Martin Espinosa
f4e5934d1b
Fix Poll history 'Load more' button alignment (#2577)
* Fix Poll history 'Load more' button alignment

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-21 11:51:43 +00:00
ganfra
b0894fcd11 Room directory search : start implementing ui with fake data 2024-03-20 18:32:41 +01:00
ganfra
a8028ba968 Room directory search : branch entry point 2024-03-20 15:35:54 +01:00
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
ganfra
6e8d0ded36 Room Directory Search : setup the feature 2024-03-20 12:59:02 +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