Commit Graph

4913 Commits

Author SHA1 Message Date
Jorge Martin Espinosa a464e29570 Create AppMigration09 to remove the cached well-known config from the SDK (#6026)
This value was most likely was incorrectly cached due to a previous issue in the SDK
2026-01-16 16:03:49 +01:00
ganfra 1070b55bb9 Merge pull request #6022 from element-hq/feature/fga/space_manage_rooms
Space : manage rooms
2026-01-16 11:54:29 +01:00
Benoit Marty 418ac4c7b7 Merge pull request #6019 from element-hq/feature/bma/fixCrashOnLongStrings
Ensure that room with long names are rendered correctly in the room list.
2026-01-15 18:13:58 +01:00
Benoit Marty 51a92eb20c Avoid creating a new constant for the same goal. 2026-01-15 17:07:53 +01:00
Benoit Marty 158e779bdb Ensure that room with long names renders correctly in the room list. 2026-01-15 17:07:25 +01:00
ganfra 57b89d241f Add proper localization for space room removal UI 2026-01-15 12:14:08 +01:00
Benoit Marty 6190980097 Signin with Element Classic WIP 2026-01-15 11:58:28 +01:00
ganfra bb082191e4 Merge branch 'develop' into feature/fga/space_manage_rooms 2026-01-14 17:54:43 +01:00
ganfra df3fe6d6d6 Fix wrong param order for removeChildFromSpace 2026-01-14 15:27:06 +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
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
Benoit Marty e311a719e1 [a11y] voice message improvements (#5980)
* A11Y: ensure a11y focus is not lost and reset to the back button when the user start playing a pending voice message.

* A11Y: ensure a11y focus is not lost and reset to the back button when the user use the keyboard to focus the send button and press the space bar to perform a click.

* Cleanup code. This if was not necessary.

* Small rework to prepare a bugfix. No behavior / UI change.

* Ensure that the keyboard focus and accessibility focus is not lost when deleting a pending voice message.

* Update screenshots

* Improve code readability.

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-13 09:23:17 +01:00
Benoit Marty 1bd8fb4f36 Improve code readability. 2026-01-12 10:54:10 +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
Jorge Martin Espinosa 1f86a4d2c4 Remove previously used id filtering from RoomSyncSubscriber (#5985)
This is done in the SDK, doing it in the client was a source of issues.
2026-01-09 17:19:35 +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
Benoit Marty a76e10868e Ensure that the keyboard focus and accessibility focus is not lost when deleting a pending voice message. 2026-01-08 13:29:27 +01:00
Benoit Marty 9e5de144a2 Small rework to prepare a bugfix. No behavior / UI change. 2026-01-08 11:42:05 +01:00
Benoit Marty 553d5c7b28 Cleanup code. This if was not necessary. 2026-01-08 11:35:52 +01:00
Benoit Marty 61f68f02d1 A11Y: ensure a11y focus is not lost and reset to the back button when the user use the keyboard to focus the send button and press the space bar to perform a click. 2026-01-08 10:01:23 +01:00
renovate[bot] ff11d6e9c1 fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26 (#5977)
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26

* Fix API breaks: `ShieldStateCode` is now `TimelineEventShieldStateCode`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-01-07 17:29:18 +00: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
Benoit Marty 5034ae06b8 A11Y: ensure a11y focus is not lost and reset to the back button when the user start playing a pending voice message. 2026-01-07 15:43:27 +01:00
Benoit Marty 8a290c339d Make the notification silent when the message is an outgoing message (quick reply). (#5961)
The boolean isUpdated will be passed to setOnlyAlertOnce(), and when the value is true, the notification does not ring/vibrate again.
2026-01-05 18:13:17 +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
Jorge Martin Espinosa 8955fb18ae Use VerificationState.VERIFIED as soon as it's available (#5973)
This can't be a false positive like `VerificationState.UNKNOWN` or `VerificationState.UNVERIFIED`, so it makes sense to return it as fast as possible instead of waiting for the whole encryption layer to be fully loaded.
2026-01-05 15:06:00 +00: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 987779af66 Store voice player playback index in a datastore. 2025-12-31 11:28:26 +01:00
Benoit Marty e30efc1e2c Remove useless curly braces 2025-12-31 11:24:49 +01:00
Benoit Marty 6ca2c92440 Improve click effect. 2025-12-31 10:02:58 +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 6b2c22766c Use test extension 2025-12-31 09:47:45 +01:00
Benoit Marty 9bd492f613 Avoid reusing the initialState to send event. 2025-12-31 09:46:44 +01:00
Benoit Marty be5b53781a Create VoicePlayerConfig. 2025-12-31 09:43:25 +01:00
Benoit Marty d01fb91721 Improve preview. 2025-12-31 09:23:08 +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
Benoit Marty 7576a978e0 Make the notification silent when the message is an outgoing message (quick reply).
The boolean isUpdated will be passed to setOnlyAlertOnce(), and when the value is true, the notification does not ring/vibrate again.
2025-12-30 16:47:38 +01:00
Benoit Marty 74585866b5 Fix test compilation 2025-12-29 12:47:21 +01:00
Benoit Marty c19c8e87a6 Fix class cast exception
java.lang.ClassCastException: io.element.android.libraries.androidutils.json.DefaultJsonProvider cannot be cast to kotlinx.serialization.json.Json
2025-12-29 12:00:58 +01:00
Benoit Marty b5b765eb51 Merge pull request #5957 from element-hq/feature/bma/cleanup2025
Cleanup FFI object fixtures.
2025-12-29 11:03:57 +01:00
Benoit Marty 33341e8795 Merge pull request #5956 from element-hq/sync-localazy
Sync Strings
2025-12-29 10:35:21 +01:00