Commit Graph

13226 Commits

Author SHA1 Message Date
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
ganfra
ca1d98928d Iterate on space "Add existing rooms" logic and ui 2026-01-21 17:33:31 +01:00
ganfra
9fe7c50972 Implement Space "Add existing rooms" logic and ui 2026-01-21 17:33:30 +01:00
ganfra
e840671bf2 Add "Add existing rooms" entry to space 2026-01-21 17:33:30 +01:00
ganfra
c3a469544e Add addChildToSpace method to SpaceService 2026-01-21 17:33:30 +01:00
ganfra
b5a34f9c65 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
679724817c 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
edba196a69 sdk : allow passing coroutineScope to RoomList 2026-01-21 16:48:22 +01:00
Jorge Martin Espinosa
941340f250 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
1cbf7d9624 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
656991d77c Update screenshots 2026-01-20 09:25:30 +00:00
Benoit Marty
657a610f53 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
7be66061e2 Add suggestions section to InvitePeopleView 2026-01-20 10:09:49 +01:00
Jorge Martin Espinosa
0c68056753 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
635d94ec72 Metro 0.10.0: contributesAsInject is now enabled by default. 2026-01-20 10:08:23 +01:00
ElementBot
e3230184f0 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]
1d2115f16e fix(deps): update metro to v0.10.0 2026-01-20 01:31:48 +00:00
Benoit Marty
f25dca57bd Merge pull request #6033 from element-hq/sync-localazy
Sync Strings
2026-01-19 20:56:53 +01:00
Benoit Marty
a003a06a40 Use Presenter.test extension 2026-01-19 18:56:12 +01:00
Benoit Marty
534b4d16c3 CrashDetectionEvents -> CrashDetectionEvent 2026-01-19 18:19:20 +01:00
Benoit Marty
d207efd169 RageshakePreferencesEvents -> RageshakePreferencesEvent 2026-01-19 18:18:44 +01:00
Benoit Marty
dca227d3d7 RageshakeDetectionEvents -> RageshakeDetectionEvent 2026-01-19 18:17:58 +01:00
Benoit Marty
31fc60f40e Improve the code. 2026-01-19 18:17:13 +01:00
Benoit Marty
60cb0806fa Ensure the latest screenshot is rendered. Fixes #6008 2026-01-19 18:16:18 +01:00
renovate[bot]
81723c2b37 fix(deps): update wysiwyg to v2.41.1 (#6037)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-19 13:32:53 +00:00
Benoit Marty
19a3ce35f6 Merge pull request #6016 from element-hq/feature/bma/fixFlakyTest
Attempt to fix flaky test.
2026-01-19 14:13:17 +01:00
Jorge Martin Espinosa
ccd358ece5 Tweak the power levels when creating a space (#6012)
* Tweak the power levels when creating a space

* Also tweak the `invite` power levels for public access rooms
2026-01-19 10:54:33 +01:00
Jorge Martin Espinosa
acf919f2fb misc: Provide ConfigureRoomState.availableVisibilityOptions from the presenter (#6024)
It seems better to handle the filtering logic there than on the view.

Besides this, hide knocking for spaces even if the knocking feature is enabled. We don't want to have knocking in spaces yet.
2026-01-19 10:54:00 +01:00