5739 Commits

Author SHA1 Message Date
Benoit Marty
f62b2b7ae6 Merge pull request #6013 from element-hq/feature/bma/importSession
[POC] Signin with Element Classic
2026-01-15 17:21:16 +01:00
Benoit Marty
4ba465fd04 Ensure that room with long names renders correctly in the room list. 2026-01-15 17:07:25 +01:00
ganfra
b560b0443e Move canEditSpaceGraph out of SettingsPermissions to his own Permissions 2026-01-15 16:41:33 +01:00
Benoit Marty
18bbca0f65 Make the number view scrollable
Fixes #6009
2026-01-15 16:22:44 +01:00
Benoit Marty
caf5ab1085 Rename the state flow. Also let stateFlow be a real val. 2026-01-15 15:20:48 +01:00
Benoit Marty
14c1c4b282 Attempt to fix flaky test.
The test `on QR code data ready - calls the expected callback` sometimes fails on the CI with the following error:

androidx.concurrent.futures.CallbackToFutureAdapter$FutureGarbageCollectedException: The completer object was garbage collected - this future would otherwise never complete. The tag was: CameraX initInternal
2026-01-15 15:09:47 +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
Benoit Marty
017894201c Signin with Element Classic WIP 2026-01-15 11:58:28 +01:00
ganfra
d4e676fd5a Merge branch 'develop' into feature/fga/space_manage_rooms 2026-01-14 17:54:43 +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
Benoit Marty
4256043338 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
bed35807d2 Iterate on removing space child rooms. 2026-01-14 15:29:18 +01:00
ElementBot
d01a511903 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
28b63745f4 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
78b4895254 Add manage mode to space view for removing child rooms, wip. 2026-01-13 22:08:48 +01:00
Benoit Marty
34bf91093e 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
03d14087e6 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
9a40a6404e 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
a206de5a15 quality : fix PR remarks 2026-01-09 17:52:52 +01:00
Benoit Marty
269747437b Add preview with a11y details. 2026-01-09 14:39:57 +01:00
ganfra
993cf838a0 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
fb29ae14be quality: move tests to matching package 2026-01-08 17:25:24 +01:00
ganfra
b8ab0491b8 Fix SecurityAndPrivacy "manage spaces" footer text 2026-01-08 17:24:55 +01:00
ganfra
0f628bef50 Add comprehensive presenter tests for SecurityAndPrivacy feature 2026-01-08 17:16:45 +01:00
Benoit Marty
492e5d61e5 Code cleanup. 2026-01-08 16:34:09 +01:00
Benoit Marty
49434c12a2 tom 2026-01-08 16:31:56 +01:00
Benoit Marty
1dfe26e67a Verification: always render the back button. 2026-01-08 16:19:46 +01:00
Benoit Marty
070c80bd51 Verification of other session: use Devices icon.
Verification of other user: use UserProfileSolid icon.
2026-01-08 16:14:53 +01:00
Benoit Marty
59c175ebe0 Remove BigIcon loading state.
Loading is rendered in the buttons now.
2026-01-08 15:53:09 +01:00
ganfra
3c5d50860d Merge branch 'develop' into feature/fga/space_members_access 2026-01-08 13:46:02 +01:00
ganfra
4eb1926d53 quality : format and clean 2026-01-07 21:09:20 +01:00
ganfra
9cbc8cfa67 Fix SecurityAndPrivacy preview state configuration 2026-01-07 20:19:13 +01:00
ganfra
cbb91500f3 quality: add bunch of tests for Security&Privacy new features 2026-01-07 20:12:41 +01:00
Jorge Martin Espinosa
d67aee23c3 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
92acf1edea feature(security&privacy): support KnockRestricted join rule 2026-01-07 17:05:09 +01:00
ganfra
75ab791629 feature(security&privacy): working SpaceMember selection 2026-01-07 11:38:57 +01:00
ganfra
1930877a81 feature(security&privacy): iterate on SpaceMember option 2026-01-06 22:23:10 +01:00
ganfra
96745c765a feature(security&privacy): check SpaceSettings ff 2026-01-05 21:20:26 +01:00
ganfra
8e08c6108d feature(security&privacy): make spaceSelection part of the state 2026-01-05 20:01:38 +01:00
ganfra
2be6b6ce24 quality: rename class 2026-01-05 20:01:21 +01:00
Jorge Martin Espinosa
71031008dd 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
b01135aeef 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
860390beb0 Sync Strings from Localazy (#5971)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-05 13:57:09 +01:00
ganfra
7282b59467 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
5b6dfca5d3 Ensure that room / space avatar always have a contentDescription. 2026-01-02 16:23:15 +01:00
Benoit Marty
78ad8056a1 Cleanup 2026-01-02 16:07:45 +01:00