Commit graph

5433 commits

Author SHA1 Message Date
ganfra
e7789ef869 Move canEditSpaceGraph out of SettingsPermissions to his own Permissions 2026-01-15 16:41:33 +01:00
ganfra
8dc7caa737 Move manage rooms menu item to top of space menu 2026-01-15 12:41:11 +01:00
ganfra
e5e4b18b80 Rename canManageRooms to canEditSpaceGraph 2026-01-15 12:40:47 +01:00
ganfra
57b89d241f Add proper localization for space room removal UI 2026-01-15 12:14:08 +01:00
ganfra
bb082191e4 Merge branch 'develop' into feature/fga/space_manage_rooms 2026-01-14 17:54:43 +01:00
ganfra
8b8151722a Add tests for space manage rooms mode 2026-01-14 17:47:20 +01:00
ganfra
525e9b5d50 Hide unread count in manage space rooms mode 2026-01-14 17:46:59 +01:00
ganfra
15c7cbade6 Animate transition from/to space manage rooms mode. 2026-01-14 16:39:57 +01:00
Benoit Marty
0dfdafdd6c
Merge pull request #6003 from element-hq/feature/bma/longLog
Ensure that log files are not too big.
2026-01-14 16:24:52 +01:00
ganfra
f50165807d Iterate on removing space child rooms. 2026-01-14 15:29:18 +01:00
ElementBot
aa4125bdc0
Sync Strings from Localazy (#5994)
Co-authored-by: jmartinesp <480955+jmartinesp@users.noreply.github.com>
2026-01-14 11:43:57 +00:00
Jorge Martin Espinosa
3ef5e76e99
When a duplicate room list entry is found, report it and remove it (#6006)
* When a duplicate room list entry is found, report it and remove it

* Fix tests and fixtures

* Simplify how the updates are described in the Sentry reports
2026-01-14 10:56:45 +00:00
ganfra
b7ff884838 Add manage mode to space view for removing child rooms, wip. 2026-01-13 22:08:48 +01:00
Benoit Marty
7dcd88f8e1 Ensure that log files are not too big, else the rageshake server will reject the request.
See https://github.com/element-hq/element-android/issues/9096#issuecomment-3480128082

Closes #5983
2026-01-13 18:18:52 +01:00
Jorge Martin Espinosa
6d1ed5967b
Create spaces (#5982)
* Allow creating a space with `CreateRoomParameters`

* Add 'Create space' menu item in the spaces home screen. Also, imports new strings related to spaces.

* Link the 'Create space' button with the screen to create the space

* Unify room access and visibility for `ConfigureRoom`, use the updated design

* Fix `EditRoomDetails` avatar size (68dp)

* Replace `EditableAvatarView` and `UnsavedAvatar` copmonents with `AvatarPickerView`

* `AvatarDataFetcherFactory`: Make sure we use a fallback image fetcher when the URL is not an MXC one (a local one, i.e.). This removes the previous need for a separate `UnsavedAvatarView`

* Use `AvatarPickerView` in all the screens where `EditableAvatarView` was used

* Improve naming and previews

* Update strings, remove unused ones for `RoomAccessItem`

* Make `isSpace` part of the `CreateRoomConfig`

* Ensure the content fits in the screenshots for `AvatarPickerSizesPreview`

* Add `AvatarDataFetcherFactoryTest`

* Add new feature flag for creating spaces

* Fix ripple being too large for the `Pick` state

* Tweak margins and section titles a bit

* Add preview for `HomeTopBar` with the spaces case

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-13 14:35:49 +01:00
ganfra
1614bd7a20
Merge pull request #5979 from element-hq/feature/fga/space_members_access
Change Room’s Access to/from Space members
2026-01-12 10:48:44 +01:00
ganfra
75c73be390 quality : fix PR remarks 2026-01-09 17:52:52 +01:00
Benoit Marty
c89a8b95df Add preview with a11y details. 2026-01-09 14:39:57 +01:00
ganfra
9a30e4d19b Refactor space selection to use SpaceSelectionStateHolder
Move authorized space selection state to a shared StateHolder scoped
to RoomScope. This simplifies communication between SecurityAndPrivacy
and ManageAuthorizedSpaces nodes by replacing the complex coroutine-based
parent-child coordination with a reactive state flow pattern.
2026-01-09 12:00:54 +01:00
ganfra
184e0fb35a quality: move tests to matching package 2026-01-08 17:25:24 +01:00
ganfra
ea7e8e74da Fix SecurityAndPrivacy "manage spaces" footer text 2026-01-08 17:24:55 +01:00
ganfra
c02a61e10c Add comprehensive presenter tests for SecurityAndPrivacy feature 2026-01-08 17:16:45 +01:00
Benoit Marty
7900f1c777 Code cleanup. 2026-01-08 16:34:09 +01:00
Benoit Marty
7b1bc1968d tom 2026-01-08 16:31:56 +01:00
Benoit Marty
e5391bd5a7 Verification: always render the back button. 2026-01-08 16:19:46 +01:00
Benoit Marty
37002a1f3c Verification of other session: use Devices icon.
Verification of other user: use UserProfileSolid icon.
2026-01-08 16:14:53 +01:00
Benoit Marty
3e4ca0dd53 Remove BigIcon loading state.
Loading is rendered in the buttons now.
2026-01-08 15:53:09 +01:00
ganfra
0668135d0e Merge branch 'develop' into feature/fga/space_members_access 2026-01-08 13:46:02 +01:00
ganfra
b3a934bd46 quality : format and clean 2026-01-07 21:09:20 +01:00
ganfra
6eaf608157 Fix SecurityAndPrivacy preview state configuration 2026-01-07 20:19:13 +01:00
ganfra
b3463a561b quality: add bunch of tests for Security&Privacy new features 2026-01-07 20:12:41 +01:00
Jorge Martin Espinosa
ce85ed16f6
Use TextFieldState for room list search (#5975)
* Add new `FilledTextField` variant using `TextFieldState`

* Use `TextFieldState` for `RoomListSearchState.query` - it seems like this is the best practice for this kind of data

* Bonus: fix the clear button being misaligned
2026-01-07 17:24:01 +01:00
ganfra
8da3a3a35d feature(security&privacy): support KnockRestricted join rule 2026-01-07 17:05:09 +01:00
ganfra
0d11c43a9a feature(security&privacy): working SpaceMember selection 2026-01-07 11:38:57 +01:00
ganfra
4e9d5c533f feature(security&privacy): iterate on SpaceMember option 2026-01-06 22:23:10 +01:00
ganfra
887e59beb8 feature(security&privacy): check SpaceSettings ff 2026-01-05 21:20:26 +01:00
ganfra
cdc3cdc5f1 feature(security&privacy): make spaceSelection part of the state 2026-01-05 20:01:38 +01:00
ganfra
6a4ab9ba16 quality: rename class 2026-01-05 20:01:21 +01:00
Jorge Martin Espinosa
06c4b9488b
Adjust metrics to the new specifications (#5937)
* Add `AnalyticsTransactions` with a set of `TransactionDefinition` items matching those in the user story

* Use that for `AnalyticsLongRunningTransactions`, make sure we send the right fields (name, operation, description)

* Add `AnalyticsSendMessageWatcher` to track how long it takes for an event to be sent and for us to get a call back for that from sync

* Add `Noop` implementation for enterprise
2026-01-05 16:23:26 +01:00
Benoit Marty
7186044482
Merge pull request #5963 from element-hq/feature/bma/variablePlayBackSpeed
Voice message: variable play back speed
2026-01-05 13:58:01 +01:00
ElementBot
46f6e811d5
Sync Strings from Localazy (#5971)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-05 13:57:09 +01:00
ganfra
094b4c8c0f
Merge pull request #5960 from element-hq/feature/fga/fix_space_ff_disabled
Ensure space feature is enabled
2026-01-05 11:30:37 +01:00
Benoit Marty
00448756a8 Ensure that room / space avatar always have a contentDescription. 2026-01-02 16:23:15 +01:00
Benoit Marty
233d22367f Cleanup 2026-01-02 16:07:45 +01:00
Benoit Marty
07be3d01b2 Rename Button to ButtonType to avoid confusion. 2025-12-31 09:51:38 +01:00
Benoit Marty
a10ac8aaab VoiceMessageEvents -> VoiceMessageEvent 2025-12-31 09:48:46 +01:00
Benoit Marty
dc3c9da7e6 Extract PlaybackSpeedButton as an Atom. 2025-12-31 09:19:45 +01:00
Florian
0c004d933c
Merge branch 'develop' into feat/variable-playback-speed 2025-12-30 21:29:18 +01:00
Florian
2b81b187d5 Increase clickable area of playback speed button 2025-12-30 21:24:41 +01:00
ganfra
2fa4994d8e quality : move canUnban logic to the permission class 2025-12-30 15:59:04 +01:00