Commit Graph

6016 Commits

Author SHA1 Message Date
Jorge Martin Espinosa 2a2073fce0 Fix back navigation after creating a room in a space (#6134)
* Fix back navigation after creating a room in a space

Previously, this displayed the 'invite users to the room' screen instead of going back to the parent space screen
2026-02-04 15:03:12 +00:00
ganfra c7015c367c Add tests for SpaceFiltersPresenter and SpaceFiltersView and fix quality 2026-02-04 14:42:57 +01:00
Jorge Martin Espinosa c960f6e5c9 Refresh a Space's room list after creating a room in it (#6135) 2026-02-04 13:09:21 +00:00
ganfra 9aa0db981b Add back navigation to clear space filter selection 2026-02-04 13:40:06 +01:00
ganfra 7c3f9eeb89 Ensure selected space filter gets update 2026-02-04 11:35:18 +01:00
ganfra aa079677ae Revert changes on room list filters being hidden 2026-02-04 11:34:43 +01:00
Karsten Knappe 7c7043c16a Merge remote-tracking branch 'kknappe/fix/start-voice-recording-when-permission-is-granted' into fix/start-voice-recording-when-permission-is-granted 2026-02-04 09:01:04 +01:00
Karsten Knappe 1db6477591 style: removes unwanted whitespace in DefaultVoiceMessageComposerPresenter 2026-02-04 09:00:56 +01:00
ganfra 23498bbaee Handle SpaceFilter interaction with other RoomListFilters 2026-02-03 21:22:56 +01:00
Jorge Martin Espinosa bd6bad963e Remove JoinRule.Private from the codebase (#6129)
It shouldn't be in use, since it was never properly defined:

- The `Private` values coming from the SDK are considered to be `Invite` instead.
- Remove any existing `JoinRule.Private` usages in our code.
2026-02-03 19:27:22 +01:00
Karsten Knappe 307e6a7cd2 Merge branch 'develop' into fix/start-voice-recording-when-permission-is-granted 2026-02-03 11:23:26 +01:00
Karsten Knappe cf79e1cd7d style: removes unwanted blank line in DefaultVoiceMessageComposerPresenter 2026-02-03 11: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
Karsten Knappe 34e4b3e301 fix: use rememberUpdatedState for permissionsState in DefaultVoiceMessageComposerPresenter.kt 2026-02-02 15:17:49 +01: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
Karsten Knappe c33e6baaca Fix voice message recording not starting after permission is granted 2026-01-29 12:18:27 +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