Benoit Marty
7f60fde9dc
Remove default param for Avatar.avatarType
2025-06-23 21:36:53 +02:00
Benoit Marty
2bc2cd5472
Cleanup
2025-06-23 17:57:44 +02:00
Benoit Marty
8df920a3ac
Introduce AvatarType to be able to render space avatars
2025-06-23 17:08:14 +02:00
Benoit Marty
47ec84f6b3
Improve preview of AttachmentsPreviewViewPreview to have the case with a caption.
2025-06-20 14:55:45 +02:00
Benoit Marty
bec109a61c
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
cb34e70586
a11y: improve accessibility on grouped state events header.
2025-06-19 17:08:05 +02:00
ganfra
4cc814590e
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
5f2050233e
fix (room upgrade) : room predecessor banner should be displayed for DM too
2025-06-18 17:40:24 +02:00
ganfra
17c0bd88b6
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]
31bb1848e4
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
a789f9e0a3
test (event action): clean test
2025-06-18 16:45:48 +02:00
ganfra
fe3ad46ab9
fix (event action): allow to edit only if permission to send message
2025-06-18 16:20:22 +02:00
ganfra
5d95e3f7cf
change (room avatar) : fix test after refactor
2025-06-18 14:41:18 +02:00
ganfra
f3614ab67e
change (room avatar) : clean code related to room name/avatar
2025-06-17 20:37:41 +02:00
ganfra
a5145279da
change (room avatar) : use the new RoomAvatar with the isTombstoned param
2025-06-17 10:37:07 +02:00
ganfra
d6be3b5a1d
change (room avatar) : expose isTombstone where we need to display the RoomAvatar
2025-06-17 10:37:07 +02:00
ganfra
f88e6d57e7
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
76d0d4dcdd
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
50f666169a
Merge branch 'develop' into feature/fga/room-version-upgrade
2025-06-16 20:46:28 +02:00
ganfra
cfc6362057
feature (room upgrade) : add "same room" permalink toast to localazy
2025-06-16 20:45:55 +02:00
Benoit Marty
37425b192e
a11y: Improve accessibility on ReactionSummaryView
2025-06-16 14:54:46 +02:00
Benoit Marty
2dd31d1b3a
a11y: Extract method a11yReactionDetails to use it at other places
2025-06-16 14:29:00 +02:00
Benoit Marty
ace1ec9d14
a11y: Extract method to avoid code duplication
2025-06-16 14:25:45 +02:00
Benoit Marty
ca00f71e74
a11y: improve reaction behavior on message action list.
2025-06-16 14:18:52 +02:00
bmarty
e826ed726f
Sync Strings from Localazy
2025-06-16 00:31:39 +00:00
Benoit Marty
4fb73497f1
A11Y: improve accessibility on event reactions.
2025-06-13 17:02:03 +02:00
Benoit Marty
23cd587e2c
A11Y: allow the answers of a poll to be traversed by Talkback
2025-06-13 10:43:52 +02:00
Benoit Marty
f001592320
Remove ExperimentalCoroutinesApi. Not necessary anymore.
...
tom with ExperimentalCoroutinesApi
2025-06-12 11:51:30 +02:00
Benoit Marty
c0dd5f2184
Remove unused field BubbleState.isHighlighted
2025-06-12 11:51:27 +02:00
Benoit Marty
72978b22f9
Remove ExperimentalFoundationApi. Not necessary anymore.
2025-06-11 18:10:55 +02:00
Benoit Marty
a7eb623e06
Remove ExperimentalComposeUiApi. Not necessary anymore.
2025-06-11 17:49:11 +02:00
ganfra
fad622b018
Merge branch 'develop' into feature/fga/room-version-upgrade
2025-06-11 16:30:21 +02:00
ganfra
2742e7d2ca
feature (room upgrade) : add tests
2025-06-11 16:16:41 +02:00
ElementBot
f32495ee58
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
cfa48d1df7
Annotate Composable function with ReadOnlyComposable where it's possible. ( #4859 )
2025-06-11 14:12:54 +02:00
ganfra
d92d1ad3c3
feature (room upgrade) : manage navigation and clean code.
2025-06-11 13:32:12 +02:00
ganfra
ad7a514f75
feature (room upgrade) : sync translations
2025-06-11 10:46:40 +02:00
ganfra
aff8dd8522
feature (room upgrade) : start rendering SuccessorRoom and PredecessorRoom banners in timeline
2025-06-11 10:46:39 +02:00
Jorge Martin Espinosa
cfb9cc3edc
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
45113818eb
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]
96063373b7
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
df5e4062ec
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
03e23477b7
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
525870f30d
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
0aa1a258e4
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
58a3ea8b1f
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]
9d5e8aa308
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
cfbbccb09d
Merge branch 'develop' into feature/fga/user_moderation_bottomsheet
2025-06-03 10:46:12 +02:00
Benoit Marty
0b5e816f0d
Cleanup testImplementation dependencies ( #4790 )
2025-06-02 10:51:02 +02:00
ElementBot
498cf15d38
Sync Strings ( #4775 )
2025-05-30 08:47:39 +00:00