Commit Graph

1685 Commits

Author SHA1 Message Date
renovate[bot] 342aae624a fix(deps): update dependency org.robolectric:robolectric to v4.15.1 (#4911)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-06-24 11:06:45 +02:00
Benoit Marty 2ac94f2827 Cleanup 2025-06-23 17:57:44 +02:00
Benoit Marty 3669128e60 Introduce AvatarType to be able to render space avatars 2025-06-23 17:08:14 +02:00
Benoit Marty 512ed810f7 Improve preview of AttachmentsPreviewViewPreview to have the case with a caption. 2025-06-20 14:55:45 +02:00
Benoit Marty be62f2cd69 a11y: now that the grouped events are read one by one, we also need to reverse the order because the timeline is last message at the top when screen reader is enabled. 2025-06-20 09:34:38 +02:00
Benoit Marty 44940fc093 a11y: improve accessibility on grouped state events header. 2025-06-19 17:08:05 +02:00
ganfra a8d96a6292 Merge pull request #4896 from element-hq/feature/fga/fix_dm_predecessor_room_banner
fix (room upgrade) : room predecessor banner on DM room
2025-06-18 18:21:46 +02:00
ganfra 11aa5346f9 fix (room upgrade) : room predecessor banner should be displayed for DM too 2025-06-18 17:40:24 +02:00
ganfra 680b63d460 Merge pull request #4895 from element-hq/feature/fga/can-edit-permission
fix (event action): allow to edit only if permission to send message
2025-06-18 17:28:59 +02:00
renovate[bot] 0b238b0b8e fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.6.18 (#4894)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-06-18 15:10:47 +00:00
ganfra 713bae06b0 test (event action): clean test 2025-06-18 16:45:48 +02:00
ganfra 323d8cf7b3 fix (event action): allow to edit only if permission to send message 2025-06-18 16:20:22 +02:00
ganfra b8cef93681 change (room avatar) : fix test after refactor 2025-06-18 14:41:18 +02:00
ganfra 3cf236907b change (room avatar) : clean code related to room name/avatar 2025-06-17 20:37:41 +02:00
ganfra 254216ef18 change (room avatar) : use the new RoomAvatar with the isTombstoned param 2025-06-17 10:37:07 +02:00
ganfra f47c0f648b change (room avatar) : expose isTombstone where we need to display the RoomAvatar 2025-06-17 10:37:07 +02:00
ganfra 2bdb3f8a1f Merge pull request #4862 from element-hq/feature/fga/room-version-upgrade
Feature : room version upgrade
2025-06-16 21:17:59 +02:00
Benoit Marty 564beb3fee Merge pull request #4877 from element-hq/feature/bma/a11yReactions
A11Y: improve accessibility on event reactions.
2025-06-16 20:57:58 +02:00
ganfra e2b1ab2632 Merge branch 'develop' into feature/fga/room-version-upgrade 2025-06-16 20:46:28 +02:00
ganfra e9117d94e9 feature (room upgrade) : add "same room" permalink toast to localazy 2025-06-16 20:45:55 +02:00
Benoit Marty dbd0e4a098 a11y: Improve accessibility on ReactionSummaryView 2025-06-16 14:54:46 +02:00
Benoit Marty 030af71378 a11y: Extract method a11yReactionDetails to use it at other places 2025-06-16 14:29:00 +02:00
Benoit Marty 74081f3bed a11y: Extract method to avoid code duplication 2025-06-16 14:25:45 +02:00
Benoit Marty 3bf51ba114 a11y: improve reaction behavior on message action list. 2025-06-16 14:18:52 +02:00
bmarty 78def8a6e7 Sync Strings from Localazy 2025-06-16 00:31:39 +00:00
Benoit Marty 4ed12bb2d3 A11Y: improve accessibility on event reactions. 2025-06-13 17:02:03 +02:00
Benoit Marty 5111e1bef0 A11Y: allow the answers of a poll to be traversed by Talkback 2025-06-13 10:43:52 +02:00
Benoit Marty a732cfa324 Remove ExperimentalCoroutinesApi. Not necessary anymore.
tom with ExperimentalCoroutinesApi
2025-06-12 11:51:30 +02:00
Benoit Marty 784e751102 Remove unused field BubbleState.isHighlighted 2025-06-12 11:51:27 +02:00
Benoit Marty ec13e7fedf Remove ExperimentalFoundationApi. Not necessary anymore. 2025-06-11 18:10:55 +02:00
Benoit Marty f28df4389f Remove ExperimentalComposeUiApi. Not necessary anymore. 2025-06-11 17:49:11 +02:00
ganfra 88573fd2ae Merge branch 'develop' into feature/fga/room-version-upgrade 2025-06-11 16:30:21 +02:00
ganfra 09e5734251 feature (room upgrade) : add tests 2025-06-11 16:16:41 +02:00
ElementBot 520c1293b6 Sync Strings from Localazy (#4842)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-06-11 14:13:33 +02:00
Benoit Marty f68b411659 Annotate Composable function with ReadOnlyComposable where it's possible. (#4859) 2025-06-11 14:12:54 +02:00
ganfra e8bc54cf9e feature (room upgrade) : manage navigation and clean code. 2025-06-11 13:32:12 +02:00
ganfra 94e678a905 feature (room upgrade) : sync translations 2025-06-11 10:46:40 +02:00
ganfra 7b75a52ca2 feature (room upgrade) : start rendering SuccessorRoom and PredecessorRoom banners in timeline 2025-06-11 10:46:39 +02:00
Jorge Martin Espinosa eff693ccd9 Fix for message composer losing focus in Compose 1.8.0 (#4853)
Co-authored-by: ElementBot <android@element.io>
2025-06-10 16:39:26 +00:00
ganfra 800a3318e6 Merge pull request #4824 from element-hq/feature/fga/fix_identity_change
fix (identity change) :  RoomMemberIdentityStateChange in non encrypted room
2025-06-05 11:16:56 +02:00
renovate[bot] 03b801094b fix(deps): update coil to v3.2.0 (#4712)
* fix(deps): update coil to v3.2.0

* Fix compilation issue. Need to provide an image for preview.

https://coil-kt.github.io/coil/compose/#previews

* Improve preview for images.

* Update screenshots

* More cleanup

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2025-06-05 09:49:27 +02:00
ganfra e664e24484 fix (identity change) : ensure we can configure to observe RoomMemberIdentityStateChange in non encrypted room if needed 2025-06-04 22:27:40 +02:00
Benoit Marty 5f191d9f9c Fix coroutine scope (#4820)
* Inject the session scope instead of the application scope where it's possible.

* Create AppCoroutineScope annotation to let developers explicitly choose the appropriate CoroutineScope when injecting one.
2025-06-04 15:33:51 +00:00
Benoit Marty 58d503f661 Mark room as fully read when user goes back to the room list. (#2687)
* Remove not helping warning.

* Add and improve tests

* Send the `m.fully_read` read marker when the user navigates back to the room list, to mark the room as read.
2025-06-04 16:14:29 +02:00
Jorge Martin Espinosa fa2ac28166 fix: When sending media as files use the application/octet-stream mime type (#4815)
This ensures there is no media pre-processing applied, but also has the side effect of not sending a thumbnail as we (incorrectly) did until now.
2025-06-04 10:30:50 +02:00
Jorge Martin Espinosa efdc10e60a Add catchingExceptions method to replace runCatching (#4797)
- Add `runCatchingExceptions` and `mapCatchingExceptions` to replace `runCatching` and `mapCatching`.
- Make `tryOrNull { ... }` catch only exceptions too.
- Apply the changes to the whole project.
- Add new Rust fakes for tests to handle the code that's now unblocked - previously it just threw an `UnsatisfiedLinkError` which we ignored.
- Add a new `detekt-rules` project with a `RunCatchingRule` to prevent `runCatching` and `mapCatching` usages.
2025-06-04 09:02:26 +02:00
renovate[bot] 7bb1e24ff5 fix(deps): update dependency androidx.compose:compose-bom to v2025.04.01 (#4631)
* fix(deps): update dependency androidx.compose:compose-bom to v2025.04.01

* Fix autofill deprecations

* Adapt our custom BottomSheetState and scaffold to the new APIs

* Get rid of all the custom bottom sheet implementation

It doesn't seem to be needed anymore 🎉

* Replace `semantics { invisibleToUser() }`  with `hideFromAccessibility()`

* Update screenshots

* Add commit and cancel callbacks for autofill on the login view

* Fix broken tests caused mainly by https://issuetracker.google.com/issues/366255137

Add `LocalUiTestMode` composition local and helper functions.

* Remove dependency that caused a new license to need to be approved

* Let setSafeContent handle setting the value for LocalUiTestMode

* Fix broken test

* Apply fix to RoomMemberModerationViewTest and RoomListDeclineInviteMenuTest

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-06-03 21:05:43 +00:00
ganfra abc5547aa3 Merge branch 'develop' into feature/fga/user_moderation_bottomsheet 2025-06-03 10:46:12 +02:00
Benoit Marty 2c96fb8871 Cleanup testImplementation dependencies (#4790) 2025-06-02 10:51:02 +02:00
ElementBot e8f29a38bf Sync Strings (#4775) 2025-05-30 08:47:39 +00:00