Commit graph

59 commits

Author SHA1 Message Date
bmarty
45ed8619dd Sync Strings from Localazy 2026-01-19 00:35:31 +00: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
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
75c73be390 quality : fix PR remarks 2026-01-09 17:52:52 +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
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
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
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
f64cb6e8ef feature(security&privacy): start branching logic of ManageAuthorizedSpaces 2025-12-30 15:56:32 +01:00
ganfra
4a0e654f35 localazy: sync strings 2025-12-23 15:41:16 +01:00
ganfra
161733bc0e feature(security&privacy): start ManageAuthorizedSpacesView 2025-12-23 15:23:45 +01:00
ganfra
485585d01e feature(security&privacy): create ManageAuthorizedSpace classes 2025-12-23 15:22:16 +01:00
ganfra
9cee5541f7
Merge pull request #5946 from element-hq/sync-localazy
Sync Strings
2025-12-23 12:01:53 +01:00
bmarty
96dc67162c Sync Strings from Localazy 2025-12-23 11:23:46 +01:00
Jorge Martín
a8ffe46d99 Transform MessageEventType and StateEventType into sealed interfaces to handle the Custom variant, also add missing variants 2025-12-22 11:19:37 +01:00
Benoit Marty
620ff03fb7 Fix tests 2025-12-20 16:26:34 +01:00
Benoit Marty
c79cd37bac Fix tests 2025-12-19 18:05:56 +01:00
Benoit Marty
19e349ac89 Remove empty line. 2025-12-19 15:53:43 +01:00
Benoit Marty
beea921f2e Simplify the copy of the history visibility settings
Closes #5898
2025-12-19 14:53:06 +01:00
Benoit Marty
c04b7f234d Sync strings. 2025-12-19 12:46:39 +01:00
ganfra
f5ded86381 quality: fix test 2025-12-16 11:44:27 +01:00
ganfra
c734d5c485 Merge branch 'develop' into feature/fga/space_settings_iteration 2025-12-16 11:02:29 +01:00
ElementBot
ad881c303a
Sync Strings from Localazy (#5904)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-12-15 23:51:19 +01:00
ganfra
ce079e84f5 Merge branch 'develop' into feature/fga/space_settings_iteration 2025-12-15 16:06:06 +01:00
ganfra
65c3188b7a
Merge pull request #5879 from element-hq/feature/fga/room_permissions_rework
misc : rework power levels apis
2025-12-15 12:19:54 +01:00
Benoit Marty
6427332c84 Fix compilation issue. 2025-12-12 12:21:41 +01:00
ganfra
d26f21a53b misc(power level) : update tests following api change 2025-12-12 11:52:24 +01:00
ganfra
d654280e30 misc(power level) : use new api 2025-12-12 11:26:54 +01:00
ganfra
1dd313d163 fix(security&privacy): ensure edited settings are reset when options are hidden 2025-12-12 11:15:22 +01:00
ganfra
79de4514b8 change(room permissions): ensure closing screen without permissions 2025-12-11 17:39:10 +01:00
ganfra
48971d4aee misc(power level) : update tests following api change 2025-12-09 22:38:30 +01:00
ganfra
0e6f339a6c misc(power level) : use new api 2025-12-08 22:23:07 +01:00
bmarty
3935a3b6ce Sync Strings from Localazy 2025-12-08 00:34:18 +00:00
Benoit Marty
12ca8a2186 SecurityAndPrivacyEvents -> SecurityAndPrivacyEvent 2025-12-03 18:05:10 +01:00
Benoit Marty
c97e60fcaf Remove confirmExitAction and use AsyncAction.ConfirmingCancellation instead. 2025-12-03 18:05:09 +01:00
Benoit Marty
63f7c9a4fd Iterate on Save change dialog. 2025-12-03 18:04:53 +01:00
ganfra
aaed75a3ca quality: fix ktlint 2025-12-02 20:26:42 +01:00
ganfra
6874d29532 fix(security&privacy): update string resources 2025-12-02 17:03:56 +01:00
bmarty
32d56ea92d Sync Strings from Localazy 2025-12-01 00:23:54 +00:00