Commit Graph

190 Commits

Author SHA1 Message Date
ElementBot
2ad55f4bc6 Sync Strings (#6302)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-03-09 10:38:07 +01:00
ElementBot
5bcaad1e81 Sync Strings from Localazy (#6269)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-03-02 14:54:50 +01:00
bmarty
6c81e88689 Sync Strings from Localazy 2026-02-23 00:39:49 +00:00
renovate[bot]
1ce57d811e Update dependency org.matrix.rustcomponents:sdk-android to v26.02.19 (#6229)
* Update dependency org.matrix.rustcomponents:sdk-android to v26.02.19

* Fix breaking API changes: added `isLowPriority` to `RoomInfo` and `RoomSummary`.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-02-20 09:01:07 +01:00
Jorge Martin Espinosa
c31bfda23b Fix stack overflow when quickly going back on a Space screen (#6180) 2026-02-11 16:36:04 +00:00
ganfra
91eeb7b773 Merge branch 'develop' into feature/fga/space_ui_tweaks 2026-02-10 09:31:50 +01:00
ganfra
ad2d7dc8c5 Debounce SpaceState.hasMoreToLoad 2026-02-09 20:42:36 +01:00
ElementBot
6a101e7b65 Sync Strings from Localazy (#6155)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-02-09 16:30:57 +01:00
ganfra
bbc11809b0 Fix formatting 2026-02-06 12:03:17 +01:00
ganfra
9080400ff0 Use RoomPreviewAliasAtom in space and room headers 2026-02-06 10:55:02 +01:00
ganfra
af4b2c3aa7 Update EmptySpaceView design to match figma 2026-02-05 16:17:36 +01:00
Jorge Martin Espinosa
2e1153cd7b 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
Jorge Martin Espinosa
2737d714d9 Refresh a Space's room list after creating a room in it (#6135) 2026-02-04 13:09:21 +00:00
Jorge Martin Espinosa
5175bacb5e 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
Benoit Marty
7ff87a0adf Merge pull request #6122 from element-hq/sync-localazy
Sync Strings
2026-02-02 12:24:28 +01:00
ganfra
bb2e69c4ca 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
ab78b6e877 Sync Strings from Localazy 2026-02-02 00:39:17 +00:00
ganfra
9641d3ef4f Add tests and clean code after RoomList Filter rework 2026-01-30 15:33:51 +01:00
Jorge Martin Espinosa
63f24f0ae1 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
0824a3ab8b Refactor room list filtering to use Rust SDK 2026-01-29 22:08:12 +01:00
ganfra
f1940088ec Fix renaming after rebase 2026-01-27 21:19:21 +01:00
ganfra
48ec74c248 Clean up unused imports and improve code documentation 2026-01-27 18:43:38 +01:00
ganfra
b60cfaccb6 Call spaceRoomList.reset when exiting add/remove room flow 2026-01-27 18:43:38 +01:00
ganfra
1e25938ef7 Iterate on manage space rooms, but not happy with the reset method. 2026-01-27 18:43:38 +01:00
renovate[bot]
692302df5c 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
Jorge Martin Espinosa
fd9cc15763 Add 'Create room' option to menu in space screen (#6095) 2026-01-27 14:07:06 +01:00
Jorge Martin Espinosa
4b4492681b 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
ElementBot
b731d9a4a3 Sync Strings from Localazy (#6085)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-26 12:06:38 +01:00
ganfra
fa1b32f0ba Let SearchBar/SearchField use TextFieldState 2026-01-23 10:32:58 +01:00
ganfra
626479844f Quality improvements after PR review 2026-01-22 19:57:04 +01:00
ganfra
94876f2dee Fix quality 2026-01-22 10:46:01 +01:00
ganfra
a7928eb2e6 Add tests to AddRoomToSpace feature 2026-01-22 10:24:09 +01:00
ganfra
d93c7db1d8 Iterate on space "Add existing rooms" ui 2026-01-21 19:58:45 +01:00
ganfra
c03e052da4 Sync strings 2026-01-21 19:49:47 +01:00
ganfra
125178c36f Refactor AddRoomToSpaceSearchDataSource to use AssistedInject 2026-01-21 17:44:53 +01:00
ganfra
ca1d98928d Iterate on space "Add existing rooms" logic and ui 2026-01-21 17:33:31 +01:00
ganfra
9fe7c50972 Implement Space "Add existing rooms" logic and ui 2026-01-21 17:33:30 +01:00
ganfra
e840671bf2 Add "Add existing rooms" entry to space 2026-01-21 17:33:30 +01:00
bmarty
5a8ce6d68c Sync Strings from Localazy 2026-01-19 00:35:31 +00:00
ganfra
48e0e90bd0 Add doc to SpacePermissions data class 2026-01-16 11:18:16 +01:00
ganfra
601e73162b Remove unused imports and fix code style issues 2026-01-15 18:18:27 +01:00
ganfra
943c1e74db Change canEditSpaceGraph to observe space settings feature flag 2026-01-15 17:43:44 +01:00
ganfra
aeeaa48df7 Replace SpaceState.currentSpace with spaceInfo (RoomInfo) 2026-01-15 17:37:34 +01:00
ganfra
b560b0443e Move canEditSpaceGraph out of SettingsPermissions to his own Permissions 2026-01-15 16:41:33 +01:00
ganfra
02efe0706e Move manage rooms menu item to top of space menu 2026-01-15 12:41:11 +01:00
ganfra
0af9a17cd9 Rename canManageRooms to canEditSpaceGraph 2026-01-15 12:40:47 +01:00
ganfra
834a4ae2a7 Add proper localization for space room removal UI 2026-01-15 12:14:08 +01:00
ganfra
efdf2020fe Add tests for space manage rooms mode 2026-01-14 17:47:20 +01:00
ganfra
bd58e07220 Hide unread count in manage space rooms mode 2026-01-14 17:46:59 +01:00
ganfra
6d3dfe7687 Animate transition from/to space manage rooms mode. 2026-01-14 16:39:57 +01:00