Commit Graph

13253 Commits

Author SHA1 Message Date
Benoit Marty
4d04808875 ResolveVerifiedUserSendFailureEvent -> ResolveVerifiedUserSendFailureEven 2026-01-27 09:58:44 +01:00
Benoit Marty
56668377d4 AttachmentsPreviewEvents -> AttachmentsPreviewEvent 2026-01-27 09:57:36 +01:00
Benoit Marty
c96f6036a3 LinkEvents -> LinkEvent 2026-01-27 09:55:20 +01:00
Benoit Marty
92a77fab18 EventFromTimelineItem -> TimelineItemEvent 2026-01-27 09:47:49 +01:00
Benoit Marty
6bb979a833 TimelineEvents -> TimelineEvent 2026-01-27 09:45:10 +01:00
Benoit Marty
a1e5afcdd5 MessagesEvents -> MessagesEvent 2026-01-27 09:38:45 +01:00
Benoit Marty
f184562d8f Use presenter test extension. 2026-01-27 09:35:51 +01:00
Benoit Marty
f7c7fdca9e ActionListEvents -> ActionListEvent 2026-01-27 09:34:18 +01:00
Benoit Marty
847766eb33 Add confirmation dialog when ending poll from the bottom sheet. 2026-01-27 09:26:03 +01:00
Benoit Marty
53ce85872b Remove unused MessagesEvents.Dismiss 2026-01-27 09:13:07 +01:00
Jorge Martin Espinosa
0313fa56dd Create a new room in a space (#6061)
* Add `SpaceService.editableSpaces` and `SpaceService.addChildToSpace`

* Add `parentSpace` to `CreateRoomConfig`

* Allow setting a parent space to a room in `ConfigureRoomPresenter`, make sure the room is added to the parent space when creating it

* `ConfigureRoomPresenter`: Load the list of possible spaces a room can be added to

* Refactor `RoomVisibilityState` to internally use `JoinRuleItem`

This gets rid of `RoomAccess` and `RoomAccessItem`, and it will allow us to map the join rule items in a cleaner way to both join rules and the UI

* Implement the UI changes:

- Display the parent space.
- Allow selecting a new one.
- Import needed strings.

* Fix existing tests

* Add `@Immutable` annotation to `SpaceRoom`, since it was detected as unstable.

Maybe because of `RoomType`?

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-26 18:23:02 +01:00
renovate[bot]
5644e9225a fix(deps): update dependency io.mockk:mockk to v1.14.9 (#6089)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-26 17:06:30 +01:00
Jorge Martin Espinosa
f7bfcedd57 Try fixing performance metrics (#6046)
We've detected outliers in the `Up-to-date room list` and `Open a room` transactions in Sentry.

This commit tries to make sure we're starting/stopping the long running transactions when needed.
2026-01-26 15:41:58 +01:00
Benoit Marty
047849496b Sync all strings and fix compilation issue. (#6088) 2026-01-26 15:33:11 +01:00
renovate[bot]
85b1f9f383 fix(deps): update media3 to v1.9.1 (#6086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-26 14:58:36 +01:00
renovate[bot]
e0e6b4adc5 fix(deps): update roborazzi to v1.57.0 (#6080)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-26 14:58:09 +01:00
Benoit Marty
011d375b44 Sync all strings and fix compilation issue. 2026-01-26 14:13:06 +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
renovate[bot]
9122cdde3b fix(deps): update kotlin (#6076)
* fix(deps): update kotlin

* Update gradle/libs.versions.toml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoitm@element.io>
2026-01-26 09:41:37 +00:00
renovate[bot]
c7a5437041 fix(deps): update metro to v0.10.1 (#6077)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-26 08:39:29 +01:00
Jorge Martin Espinosa
fdbd7359a0 Remove obfuscation in proguard (#6067)
* Remove obfuscation in proguard for the OSS app. Fully allow it by default for enterprise ones.

* Add logic to use additional customizable proguard files depending on whether the build is an enterprise one or not.
2026-01-23 16:39:11 +01:00
ganfra
b73e15625a Merge pull request #6074 from element-hq/feature/fga/fix_edit_details
Fix RoomDetailsEditView avatar picker for spaces
2026-01-23 15:55:37 +01:00
ElementBot
c351256a72 Update screenshots 2026-01-23 11:31:45 +00:00
ganfra
a12394a77d Fix RoomDetailsEditView avatar picker for spaces
- Use correct AvatarType based on whether editing a space or room
- Add roomRawName to remember key to update avatar when name changes
- Respect canChangeAvatar state to disable picker when not permitted
2026-01-23 12:12:12 +01:00
ganfra
4a43076fc2 Fix AvatarPickerView touch target and disabled state
- Make edit button clickable for better touch accessibility
- Hide edit button and erase background when disabled
- Extract interactionSource to share between clickable areas
2026-01-23 12:11:51 +01:00
ganfra
3e0bd904c9 Merge pull request #6072 from element-hq/feature/fga/search_bar_text_field_state
Let SearchBar/SearchField use TextFieldState
2026-01-23 11:07:37 +01:00
ganfra
fa1b32f0ba Let SearchBar/SearchField use TextFieldState 2026-01-23 10:32:58 +01:00
Jorge Martin Espinosa
deb340daba Use MediaPreviewValue.Private to check if media should be displayed in notifications (#6038)
* Use `MediaPreviewValue.Private` to check if images should be displayed in notifications

Also added `NotificationData.roomJoinRule` so we can use it to check if the room is public or not

* Add logging message for cases when we should have an image uri it turns out we don't
2026-01-23 09:01:52 +00:00
ganfra
87619e50e8 Merge pull request #6063 from element-hq/feature/fga/space_add_existing_room
Implement Space 'Add existing rooms' feature
2026-01-22 20:31:13 +01:00
ganfra
626479844f Quality improvements after PR review 2026-01-22 19:57:04 +01:00
Benoit Marty
e48903a832 Merge pull request #6066 from element-hq/feature/bma/fix/joinRoomWithSpecialAlias
First try to resolve the room before checking for the alias validity
2026-01-22 17:45:33 +01:00
Benoit Marty
9304762b70 Use presenter test extension. 2026-01-22 17:18:59 +01:00
Benoit Marty
73a15f47af JoinRoomByAddressEvents -> JoinRoomByAddressEvent 2026-01-22 17:16:59 +01:00
Benoit Marty
c59878988b First try to resolve the room before checking for the alias validity. Fixes #5611 2026-01-22 17:09:54 +01:00
ganfra
2938d4db59 Merge pull request #6065 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-26.x
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26.1.22
2026-01-22 16:36:24 +01:00
renovate[bot]
9c610d7875 fix(deps): update dependency com.posthog:posthog-android to v3.29.1 (#6056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-22 16:32:28 +01:00
renovate[bot]
4195f496f9 fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.5.5 (#6062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-22 16:31:59 +01:00
renovate[bot]
d6d3889adb fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26.1.22 2026-01-22 15:00:47 +00:00
ElementBot
3074363863 Update screenshots 2026-01-22 13:34:15 +00:00
renovate[bot]
ccc309bb09 fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.5.4 (#6060)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-22 12:53:28 +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
renovate[bot]
d3d93f91b3 fix(deps): update kotlin (#6058)
* fix(deps): update kotlin

* No need for compat.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoitm@element.io>
2026-01-22 09:49:41 +01:00
Benoit Marty
454415225f Merge pull request #6040 from element-hq/feature/bma/updateBugReportScreenshot
Ensure screenshot is up to date
2026-01-22 09:42:24 +01:00
renovate[bot]
cac5491947 fix(deps): update dependency org.robolectric:robolectric to v4.16.1 (#6050)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-22 09:40:04 +01:00
renovate[bot]
3cdd331677 chore(deps): update peter-evans/create-pull-request action to v8.1.0 (#6055)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-22 09:36:58 +01:00
renovate[bot]
4f275c3561 fix(deps): update dependency io.sentry:sentry-android to v8.31.0 (#6057)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-22 08:18:27 +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