Commit graph

4455 commits

Author SHA1 Message Date
renovate[bot]
bfd684cd53
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.6.23 (#4917)
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.6.23

* Fix API break.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-06-24 11:23:20 +02:00
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
655e2c212d Add unit test on ChooseAccountProviderState so that the coverage is above 90%
Fixes issue:
Rule 'Check code coverage of states' violated: instructions covered percentage for class 'io.element.android.features.login.impl.screens.chooseaccountprovider.ChooseAccountProviderState' is 88.571400, but expected minimum is 90
2025-06-24 10:41:44 +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
ganfra
0a4d32f3d3
Merge pull request #4909 from element-hq/feature/fga/invalid-invite
Change : handle invalid invite error
2025-06-20 18:42:09 +02:00
ganfra
c857f7a243 change (accept invite) : fix tests after api break 2025-06-20 18:14:34 +02:00
ganfra
57a8d30021 change (accept invite) : updates the error title/content dialog for accept/decline actions 2025-06-20 16:40:52 +02:00
ganfra
b0e3f818c3 change (accept invite) : map Unknown error to AcceptInvite.Failures.InvalidInvite 2025-06-20 16:36:01 +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
a20af8674f
Merge pull request #4904 from element-hq/feature/bma/roomDebugInfo
Room debug info
2025-06-20 13:49:42 +02:00
Benoit Marty
416188824d Suppress LargeClass on test. 2025-06-20 10:33:30 +02:00
Benoit Marty
d8a09535ba Remove unused import 2025-06-20 10:29:52 +02:00
Benoit Marty
9baa540281 Use CompoundIcons.Code() instead of CompoundDrawables.ic_compound_code 2025-06-20 10:13:48 +02:00
Benoit Marty
d4388062b0 Debug info: render the roomId in the room details screen when developer mode is enabled. 2025-06-20 10:12:12 +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
802e1d2124
Merge pull request #4899 from element-hq/feature/fga/fix_join_room_navigation
fix (join room) : do not navigate up when join is successful
2025-06-19 11:51:04 +02:00
ganfra
106a0bf2df fix (join room) : do not navigate up when join is successful 2025-06-19 11:27:12 +02:00
Benoit Marty
911fba711d
Merge pull request #4889 from element-hq/feature/bma/genericNotification
Show generic notification when Event cannot be resolved
2025-06-19 08:56:37 +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
Benoit Marty
017664f672 Ensure that the battery optimization banner is not displayed after an internal clear cache. 2025-06-17 16:31:35 +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
6c844821b4
Merge pull request #4881 from element-hq/sync-localazy
Sync Strings
2025-06-16 16:31:25 +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
Benoit Marty
8f94b4cd0e
Merge pull request #4845 from element-hq/feature/bma/batteryOptimization
Add a banner to ask the user to disable battery optimization when Event cannot be resolved from Push
2025-06-16 11:19:15 +02:00
Benoit Marty
751f7e766c Rename DoAction to more specific RequestDisableOptimizations 2025-06-16 10:49:26 +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
Jorge Martin Espinosa
c598b0699e
Disable BT audio devices for Element Call on Android < 12 (#4876)
Display an error dialog muting the call when a bluetooth audio device is selected on Android 11 or lower, re-enable the audio once another device is used.
2025-06-13 16:29:07 +02:00
Benoit Marty
2cab05ed5c Convert a11y_polls_percent_of_total to plurals 2025-06-13 13:04:24 +02:00
Benoit Marty
ad64903315 A11Y: add missing content description to the delete answer button. 2025-06-13 12:43:19 +02:00
Benoit Marty
ffe0a4540f A11Y: improve poll history talkback behavior. 2025-06-13 10:43:54 +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
d15a352f74 Improve accessibility of Poll answers. 2025-06-13 10:15:37 +02:00