Commit graph

5265 commits

Author SHA1 Message Date
Benoit Marty
b1af329837 Merge branch 'develop' into feature/bma/removeExternalCallSupport 2026-04-30 16:58:11 +02:00
Benoit Marty
0d712c00a0 Merge pull request #6697 from element-hq/feature/bma/fixDependencyError
Fix dependency error
2026-04-30 16:57:19 +02:00
Benoit Marty
e70ebc8d65 Merge pull request #6693 from element-hq/renovate/compose.bom
Update dependency androidx.compose:compose-bom to v2026.04.01
2026-04-30 16:54:23 +02:00
Benoit Marty
723b9b8d61 Migrate to v2 testing APIs 2026-04-30 16:04:07 +02:00
Jorge Martin Espinosa
3bb7ab301f Mitigate a deadlock when loading room timelines (#6674)
This may be happening because we were not destroying focused event timelines used for the media viewer/gallery when necessary, and having several of those back paginating *may* have caused a deadlock in the event cache.
2026-04-30 16:01:24 +02:00
Benoit Marty
b81b1cd79b Merge branch 'develop' into feature/bma/removeExternalCallSupport 2026-04-30 11:50:35 +02:00
Jorge Martin Espinosa
cd0fc5190e Fix ANRs when receiving push notifications (#6696)
In Sentry there are some reports of methods called when notifications are fetched that end up having ANRs. This looked weird because everything is asynchronous... but it's still running with a `Main` dispatcher.

Using the `Default/computation` one instead should be the right call.
2026-04-30 10:51:29 +02:00
Benoit Marty
f590dcfbfb Cleanup dependencies 2026-04-30 09:54:54 +02:00
Benoit Marty
2fefd4e306 In the module :libraries:matrix.api, change the dependencies to:
- libraries.sessionStorage.api
- projects.libraries.architecture
from `api` to `implementation`.

Modules who need `:libraries:matrix.api` do not necessarily need to use the session storage api.
2026-04-30 09:52:10 +02:00
Hugh Nimmo-Smith
117e33e59b Merge branch 'develop' into hughns/link-new-device-done 2026-04-29 12:06:40 +01:00
Hugh Nimmo-Smith
57dbad29c4 Fix tests
Co-Authored-By: Benoit Marty <3940906+bmarty@users.noreply.github.com>
2026-04-29 12:05:16 +01:00
Jorge Martin Espinosa
8d7cc14096 Remove legacy mx-reply from toPlainText formatted event contents (#6683) 2026-04-29 10:54:03 +00:00
Benoit Marty
b63c6eaba2 Merge pull request #6688 from element-hq/feature/bma/errorAlreadySignedIn
[Link new device] Add missing error case "already signed in"
2026-04-29 12:42:41 +02:00
Jorge Martin Espinosa
1ef74f0cde Rename OIDC components and variables to OAuth (#6686)
* Rename `OIDC` components and variables to `OAuth`. This matches the new behavior in the SDK.
2026-04-29 11:41:47 +02:00
Benoit Marty
833bc59fc9 Increase title and subtitle vertical padding on FlowStepPage. 2026-04-29 11:33:45 +02:00
Benoit Marty
3ffc9ca26c Merge pull request #6670 from bxdxnn/fix/room-summary-html
Strip formatting from media captions in room summary
2026-04-29 09:40:30 +02:00
Hugh Nimmo-Smith
1abe7e7d3f Improve detection of completion for Link new device flow
The SDK emits a Done progress once complete, but our listener might have been deallocated before receiving the done.
2026-04-28 15:19:03 +01:00
renovate[bot]
247147209b Update dependency org.matrix.rustcomponents:sdk-android to v26.04.27 (#6666)
* Update dependency org.matrix.rustcomponents:sdk-android to v26.04.27

* Fix breaking API changes:

- OIDC components are now prefixed `OAuth`.
- `Room.startLiveLocationShare` now returns the event id of the beacon state event if it succeeds.
- `RoomInfo` now contains an `activeServiceMembersCount` property.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-04-28 14:49:37 +02:00
bxdxnn
146b5eff00 Strip formatting from media captions in room summary 2026-04-28 08:27:28 +00:00
Benoit Marty
ba3f24cbed Element Call: remove support for SPA call links.
Closes #6578
2026-04-27 17:01:08 +02:00
Benoit Marty
3d0add3528 Remove obsolete comment. 2026-04-27 15:16:42 +02:00
Benoit Marty
babddd167b Ensure that all the ModalBottomSheet can scroll. 2026-04-27 10:23:56 +02:00
ElementBot
f04d3b2f8b Merge pull request #6658 from element-hq/sync-localazy
Sync Strings
2026-04-27 09:17:54 +02:00
Benoit Marty
1b2eb3a375 Merge pull request #6643 from element-hq/feature/bma/updateMediaViewer
Update media viewer UI
2026-04-24 17:48:38 +02:00
Benoit Marty
4ebd37e364 Ensure preview has a date 2026-04-24 16:53:53 +02:00
Benoit Marty
9de94543f6 a11y: add heading to the title. 2026-04-24 16:16:15 +02:00
Benoit Marty
ed91278b70 MediaDetailsBottomSheet: update wording. 2026-04-24 15:16:26 +02:00
Benoit Marty
f19ceb1570 Replace " - " by " • " as it renders better. 2026-04-24 14:28:52 +02:00
Kurban Sagitov
2e446c3a0a PR:Fix mention pill cut off (#6622)
* Fix mention pill cut off

* trigger CI after screenshots

* trigger CI after screenshots
2026-04-24 14:20:24 +02:00
Richard van der Hoff
e961214c4d Promote "history sharing on invite" out of developer options (#6647)
* Enable history sharing by default, unconditionally

* Remove feature-flag dep from history viz icons in room header

* Remove feature-flag dep from warning on inviting new people

* Remove feature-flag dep from warning on starting chat with new people

* Remove `enableKeyShareOnInvite` feature flag

* Update screenshots

* Remove redundant `FakeFeatureFlagService()` invocation, per review comment

---------

Co-authored-by: ElementBot <android@element.io>
2026-04-24 10:52:21 +00:00
Jorge Martin Espinosa
b17388d686 Set max lines for 'in reply to' view conditionally (#6612)
* Set max lines for 'in reply to' view conditionally. When there is enough screen space, use 2 lines as before. If the screen space is limited, use a single one.

* Reduce vertical padding for reply-to view in compose

* Add screenshot test with single line in reply to view

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-04-23 15:15:52 +02:00
Benoit Marty
2ba8d65f26 MediaDetailsBottomSheet: Add missing preview case. 2026-04-23 11:22:47 +02:00
Benoit Marty
7457b9ef79 MediaDetailsBottomSheet: iterate on design.
Closes #6645
2026-04-23 11:20:20 +02:00
renovate[bot]
2e672bb879 fix(deps): update camera to v1.6.0 (#6514)
* fix(deps): update camera to v1.6.0

* Add dependency to com.google.guava:guava to fix compilation issue.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2026-04-23 09:48:15 +02:00
Jorge Martin Espinosa
e70e5f31a5 Remove distributed tracing of the 'timeline loading' flow (#6644)
* Remove distributed tracing of the 'timeline loading' flow. This is causing crashes in the app when a debug SDK build is used

* Discourage using the APIs related with distributed tracing, explaining the problem
2026-04-22 17:51:51 +02:00
Benoit Marty
12c5cf2ab6 Improve rendering when sender does not have a display name. 2026-04-22 14:57:18 +02:00
Benoit Marty
7d31944a0a Rename sub classes of MediaBottomSheetState and improve preview of MediaDeleteConfirmationBottomSheet 2026-04-22 14:42:56 +02:00
Benoit Marty
3148e000a4 Add more preview for MediaDetailsBottomSheetPreview 2026-04-22 12:21:20 +02:00
Benoit Marty
77a646defa Remove some dividers. 2026-04-22 12:16:52 +02:00
Benoit Marty
d03dfbdae7 Improve and add test 2026-04-22 12:07:56 +02:00
Benoit Marty
629abc07ff MediaGalleryEvents -> MediaGalleryEvent 2026-04-22 11:01:36 +02:00
Benoit Marty
34574fc391 Move "Open with" action to bottom sheet 2026-04-22 10:59:21 +02:00
Benoit Marty
ab5b1217ce MediaDetailsBottomSheet: update wording and dividers. 2026-04-21 16:53:22 +02:00
Jorge Martin Espinosa
0377fc86d0 Add flag for automatic back pagination feature (#6637) 2026-04-21 14:42:44 +00:00
Benoit Marty
81e61bbbd1 MediaViewer: add Save action as a main action. 2026-04-21 16:21:01 +02:00
Benoit Marty
6342b925d5 MediaViewer: add Share action as a main action. 2026-04-21 16:14:07 +02:00
Benoit Marty
5d8b9ef56c MediaViewerEvents -> MediaViewerEvent 2026-04-21 15:50:59 +02:00
Benoit Marty
ce30a4ab23 Merge pull request #6633 from element-hq/feature/bma/deactivateStrings
Update wording of deactivate account screen
2026-04-21 15:34:23 +02:00
Jorge Martin Espinosa
4bf0c2c92b Fix media viewer bottom sheets not being scrollable (#6631)
Both the info and confirm deletion bottom sheets were not scrollable, which made them useless on devices with low resolution or landscape orientation in most devices
2026-04-21 15:30:50 +02:00
Benoit Marty
9d054e08b1 Use new action_delete and action_delete_account 2026-04-21 14:57:33 +02:00