Commit graph

5553 commits

Author SHA1 Message Date
ganfra
23498bbaee Handle SpaceFilter interaction with other RoomListFilters 2026-02-03 21:22:56 +01:00
ganfra
218aafa05a Simplify SpaceFilterButton and add content description 2026-02-03 10:24:38 +01:00
ganfra
212a8e3aa3 Add room list filter combining based on space selection 2026-02-02 21:46:33 +01:00
ganfra
2f0da202df Add space filter button to HomeTopBar and integrate SpaceFiltersView 2026-02-02 21:14:19 +01:00
ganfra
3b60030635 Expose SpaceFilterState to RoomListState 2026-02-02 21:02:55 +01:00
ganfra
1639d1f67f Add SearchField to SpaceFiltersView 2026-02-02 21:02:55 +01:00
ganfra
4a94e36b3e Complete SpaceFiltersView ui 2026-02-02 21:02:55 +01:00
ganfra
c93920cf41 Model SpaceFilters ui states 2026-02-02 21:02:55 +01:00
ganfra
f59159d0fe Create base classes for SpaceFilters feature 2026-02-02 21:02:55 +01:00
ganfra
bc9a46a821 Spaces : some cleanup on SpaceService 2026-02-02 21:02:54 +01:00
Richard van der Hoff
e718ce2c77
Update icon shown for world_readable rooms (#6111)
* Update icon shown for world_readable rooms

Followup to #6090: having discussed this in the team, we want to show a
different icon (with different text) for rooms where the history_visibility is
`world_readable` rather than `shared`.

* delint

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-02-02 17:32:46 +00:00
Benoit Marty
4aa56abada
Merge pull request #6122 from element-hq/sync-localazy
Sync Strings
2026-02-02 12:24:28 +01:00
ganfra
440eacc892
Merge pull request #6117 from element-hq/feature/fga/room_list_filter_rust
Refactor room list filtering to use Rust SDK
2026-02-02 10:58:21 +01:00
bmarty
2fefc0691b Sync Strings from Localazy 2026-02-02 00:39:17 +00:00
ganfra
babaa7351f Add tests and clean code after RoomList Filter rework 2026-01-30 15:33:51 +01:00
Benoit Marty
18f07383a3 Revert "Add "call.pro.element.io" in the list of known hosts for Element Call."
This reverts commit 761834dab2.
2026-01-30 15:05:59 +01:00
Benoit Marty
f4a9900a0d
Iterate on QrCode login error buttons (#6101)
* Iterate on login error: add a cancel button that fully close the flow.

tom

* Fix compilation warning: `Name contains character(s) that can cause problems on Windows: "`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-30 14:21:14 +01:00
Jorge Martin Espinosa
8c0c7a61df
Remove runBlocking in ThreadedMessagesNode (#6108)
* Remove `runBlocking` in `ThreadedMessagesNode`. This should help reducing the number of reported ANRs
2026-01-30 09:16:25 +00:00
Jorge Martin Espinosa
95b6356d0b
Add special flow for leaving a space as the last owner (#6112)
* When the user is in a v12 room, use different UI to select the last owner when leaving

- Add `LeaveSpaceRoom.areCreatorsPrivileged` to detect when this is happening.
- Import new strings.
- Build the new UI.
- Attach it to a change member roles screen navigation.

* Don't display the `isLastOwner` UI if the user is the only joined one in the room

* Rename `LeaveSpaceState.isLastOwner` to `.needsOwnerChange`. This way, it's easier to understand the difference with the passed `LeaveSpaceRoom.isLastOwner` value

* Add a test for the new check of user not being the last joined member

* Fix paddings in `LeaveSpaceView`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-30 09:10:00 +00:00
ganfra
5c3fc13052 Refactor room list filtering to use Rust SDK 2026-01-29 22:08:12 +01:00
Benoit Marty
bbaaafad63 Ensure that the call is not closed when it is an External call. 2026-01-29 16:21:00 +01:00
Benoit Marty
761834dab2 Add "call.pro.element.io" in the list of known hosts for Element Call. 2026-01-29 16:13:33 +01:00
ganfra
3824cf4e64
Merge pull request #6099 from element-hq/feature/fga/space_management_iteration
Improve space management with pagination and partial failure handling
2026-01-29 10:57:14 +01:00
Benoit Marty
24868f97d2
Merge pull request #6097 from element-hq/feature/bma/favoriteWording
Improve favorite wording and icon of room
2026-01-28 17:16:53 +01:00
Benoit Marty
c84a2d3d4a Fix compilation warning: Name contains character(s) that can cause problems on Windows: " 2026-01-28 16:20:14 +01:00
Benoit Marty
6f0f315b7e Iterate on login error: add a cancel button that fully close the flow.
tom
2026-01-28 16:20:14 +01:00
ganfra
94a2b2e5f8 Fix renaming after rebase 2026-01-27 21:19:21 +01:00
ganfra
a85c566341 Clean up unused imports and improve code documentation 2026-01-27 18:43:38 +01:00
ganfra
44d33af6dc Call spaceRoomList.reset when exiting add/remove room flow 2026-01-27 18:43:38 +01:00
ganfra
e896c7604d Iterate on manage space rooms, but not happy with the reset method. 2026-01-27 18:43:38 +01:00
renovate[bot]
bcd707d307
Update dependency org.matrix.rustcomponents:sdk-android to v26.1.27 (#6096)
* Update dependency org.matrix.rustcomponents:sdk-android to v26.1.27

* Fix breaking API changes: `LeaveSpaceRoom.isLastAdmin` is now `LeaveSpaceRoom.isLastOwner`.

* Rename `isLastAdmin` to `isLastOwner` in our codebase too.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-01-27 15:02:55 +00:00
Skye Elliot
03bd85b3fc
Remove "history may be shared" banner. (#6087)
* Revert "Add alert to encrypted rooms with visible history (Android). (#5709)"

This reverts commit 59f51d8627.

* fix: Restore identity state change preview and snapshot.
2026-01-27 14:15:41 +00:00
Benoit Marty
b23f10f0f0 Use presenter test extension. 2026-01-27 15:07:17 +01:00
Benoit Marty
8c825f8f90 RoomListSearchEvents -> RoomListSearchEvent 2026-01-27 15:04:39 +01:00
Benoit Marty
624d97c262 RoomListEvents -> RoomListEvent 2026-01-27 15:03:57 +01:00
Benoit Marty
1f5d2bdae9 RoomListFiltersEvents -> RoomListFiltersEvent 2026-01-27 15:01:57 +01:00
Benoit Marty
e769567241 HomeEvents -> HomeEvent 2026-01-27 15:01:26 +01:00
Benoit Marty
332f7f0945 Use presenter test extension. 2026-01-27 14:59:23 +01:00
Benoit Marty
d01be9ed6f RoomNotificationSettingsEvents -> RoomNotificationSettingsEvent 2026-01-27 14:57:53 +01:00
Benoit Marty
a8e6e97721 RoomMemberListEvents -> RoomMemberListEvent 2026-01-27 14:56:58 +01:00
Benoit Marty
6e21ddd16d Update icon and text when a room is a favorite. 2026-01-27 14:55:50 +01:00
Jorge Martin Espinosa
61cbc54942
Add 'Create room' option to menu in space screen (#6095) 2026-01-27 14:07:06 +01:00
Richard van der Hoff
e884cbf76e
Show an icon in the room header for shared history (#6090)
Add a decoration to the header for encrypted rooms with `history_visibility:
{shared|public}`.

Fixes: #6070

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-01-27 11:31:01 +00:00
Jorge Martin Espinosa
6a9d084a50
Add an empty state for the space screen if the user can modify its graph (#6064)
* Add an empty state for the space screen if the user can modify its graph. It adds a new 'create room' button that allows you to open the create room screen with some preset values.

* When computing the editable spaces in `ConfigureRoomPresenter`, also set up the initial selected parent space if possible

* Use `Builder` pattern for `CreateRoomEntryPoint`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-27 11:12:12 +01:00
Benoit Marty
fc8afab1bb
Merge pull request #6092 from element-hq/feature/bma/endPollConfirmation
Display a confirmation dialog when ending a poll from the event bottom sheet
2026-01-27 10:47:12 +01:00
Benoit Marty
9a6ebe9639 Use presenter test extension. 2026-01-27 10:08:25 +01:00
Benoit Marty
f4802d960e ReadReceiptBottomSheetEvents -> ReadReceiptBottomSheetEvent 2026-01-27 10:03:28 +01:00
Benoit Marty
0ca69f0e5c ReactionSummaryEvents -> ReactionSummaryEvent 2026-01-27 10:02:44 +01:00
Benoit Marty
b6fcb0240d EmojiPickerEvents -> EmojiPickerEvent 2026-01-27 10:02:08 +01:00
Benoit Marty
f9a39fd552 CustomReactionEvents -> CustomReactionEvent 2026-01-27 10:01:38 +01:00