Commit graph

13233 commits

Author SHA1 Message Date
Jorge Martin Espinosa
9509121ffe
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
5d40c64a3b
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
d52cc97d10 Update screenshots 2026-01-23 11:31:45 +00:00
ganfra
11f6def9ca 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
e8ed268eb2 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
766c6ef373
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
5b700f7b98 Let SearchBar/SearchField use TextFieldState 2026-01-23 10:32:58 +01:00
Jorge Martin Espinosa
57e0b74482
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
3f624c601c
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
c53dbf7b2d Quality improvements after PR review 2026-01-22 19:57:04 +01:00
Benoit Marty
3601fec9ea
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
71a97f0f09 Use presenter test extension. 2026-01-22 17:18:59 +01:00
Benoit Marty
570903ff6b JoinRoomByAddressEvents -> JoinRoomByAddressEvent 2026-01-22 17:16:59 +01:00
Benoit Marty
a243ef7b0b First try to resolve the room before checking for the alias validity. Fixes #5611 2026-01-22 17:09:54 +01:00
ganfra
a5a37664ba
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]
8ab6101cbb
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]
0efae7665f
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]
437031455e
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26.1.22 2026-01-22 15:00:47 +00:00
ElementBot
d55713dd8b Update screenshots 2026-01-22 13:34:15 +00:00
renovate[bot]
c8500fdd83
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
5c1b68b36d Fix quality 2026-01-22 10:46:01 +01:00
ganfra
df62694b2f Add tests to AddRoomToSpace feature 2026-01-22 10:24:09 +01:00
renovate[bot]
c830ccf566
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
1541781fd9
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]
c76f1106d6
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]
bed0af320d
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]
4a17ce287b
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
d45d1e0327 Iterate on space "Add existing rooms" ui 2026-01-21 19:58:45 +01:00
ganfra
e9a55ea79a Sync strings 2026-01-21 19:49:47 +01:00
ganfra
52aa6bc539 Refactor AddRoomToSpaceSearchDataSource to use AssistedInject 2026-01-21 17:44:53 +01:00
ganfra
9d8a2b654b Iterate on space "Add existing rooms" logic and ui 2026-01-21 17:33:31 +01:00
ganfra
8e69174a11 Implement Space "Add existing rooms" logic and ui 2026-01-21 17:33:30 +01:00
ganfra
125cc056db Add "Add existing rooms" entry to space 2026-01-21 17:33:30 +01:00
ganfra
4d73f9fb43 Add addChildToSpace method to SpaceService 2026-01-21 17:33:30 +01:00
ganfra
d2bd1bb784
Merge pull request #6054 from element-hq/feature/fga/room_list_coroutine_scope
sdk : allow passing coroutineScope to RoomList
2026-01-21 17:21:29 +01:00
ganfra
9ae97048a0
Merge pull request #6043 from element-hq/renovate/metro
fix(deps): update metro to v0.10.0
2026-01-21 17:01:42 +01:00
ganfra
e6d8b07538 sdk : allow passing coroutineScope to RoomList 2026-01-21 16:48:22 +01:00
Jorge Martin Espinosa
a1b81046f0
Add empty state view for HomeSpacesView (#6047)
* Add empty state view for `HomeSpacesView`

This links to the create space flow, and has an 'explore public spaces', hidden for now.

* Make sure we display the empty view if the 'create spaces' FF is enabled

Also, remove the tab and navigate to the chats tab if the FF is disabled and the last space is left

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-21 10:36:12 +01:00
ganfra
dd68db3fc1
Merge pull request #6045 from element-hq/feature/fga/invite_people_suggestions
Add suggestions section to InvitePeopleView
2026-01-20 13:45:42 +01:00
ElementBot
60755e5212 Update screenshots 2026-01-20 09:25:30 +00:00
Benoit Marty
c901772145 Metro 0.10.0: Classes annotated with ContributesIntoSet do not need to be annotated with Inject. 2026-01-20 10:13:39 +01:00
ganfra
660265e8d8 Add suggestions section to InvitePeopleView 2026-01-20 10:09:49 +01:00
Jorge Martin Espinosa
eda0aa87ce
Keep the child state in AttachmentsPreviewPresenter up to date (#6039)
This makes the `handleEvents` function capture the reference and be able to check the updated state, unblocking the media sending flow
2026-01-20 10:09:30 +01:00
Benoit Marty
e3a3691415 Metro 0.10.0: contributesAsInject is now enabled by default. 2026-01-20 10:08:23 +01:00
ElementBot
2c6e2c6c89
Sync Strings from Localazy (#6042)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-20 10:04:53 +01:00
renovate[bot]
2c18f3582b
fix(deps): update metro to v0.10.0 2026-01-20 01:31:48 +00:00
Benoit Marty
f7a9fe1c2b
Merge pull request #6033 from element-hq/sync-localazy
Sync Strings
2026-01-19 20:56:53 +01:00
Benoit Marty
809511a785 Use Presenter.test extension 2026-01-19 18:56:12 +01:00
Benoit Marty
54e08f3447 CrashDetectionEvents -> CrashDetectionEvent 2026-01-19 18:19:20 +01:00
Benoit Marty
f5c22a7489 RageshakePreferencesEvents -> RageshakePreferencesEvent 2026-01-19 18:18:44 +01:00