Commit Graph

4477 Commits

Author SHA1 Message Date
Benoit Marty
c843faff3a Add "View avatar" content description to all clickable Avatar that will open the avatar preview. (#4948)
* Add "View avatar" content description to all clickable Avatar that will open the avatar preview.

* Improve accessibility of avatar images.
2025-06-30 17:06:10 +02:00
Benoit Marty
ac0bdac8e3 Split RoomListPresenter and introduce HomePresenter 2025-06-30 09:50:22 +02:00
bmarty
2e8f8ec057 Sync Strings from Localazy 2025-06-30 00:33:54 +00:00
Benoit Marty
238d105f1b Fix incorrect import 2025-06-27 15:51:13 +02:00
Benoit Marty
f7bc0a0d09 Add missing import 2025-06-27 15:48:14 +02:00
Benoit Marty
752cb61b15 Add TODO 2025-06-27 15:25:02 +02:00
Benoit Marty
156be26354 Rename module roomlist to home 2025-06-27 15:24:50 +02:00
Benoit Marty
d065c30d49 Merge pull request #4944 from element-hq/feature/bma/version
Replace the Report a problem button with the app's version on the on boading screen.
2025-06-27 14:45:18 +02:00
Jorge Martin Espinosa
3c9b2144cd Element Call: remove top app bar and add it inside the webview instead (#4927)
Co-authored-by: ElementBot <android@element.io>
2025-06-27 08:41:10 +02:00
Benoit Marty
19a8412f2f Show version on OnBoarding screen. 2025-06-26 18:24:36 +02:00
Benoit Marty
11cbc2c293 Extract and unit test MultipleTapToUnlock 2025-06-26 17:45:42 +02:00
Benoit Marty
a1b9266c4a a11y: improve content description of the clear filter button. Change from "Clear" to "Clear filters" 2025-06-26 15:28:53 +02:00
renovate[bot]
a10db58872 fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.6.25 (#4936)
Fix broken API changes:
- `RoomInfo.isPublic` is now optional, so we need to assume its default value in some places of the app.
- `RoomInfo.userPowerLevels` is now `RoomInfo.roomPowerLevels` and also contains this info.
- `ClientBuilder` now uses a `DecryptionSettings` value.
- The call widget settings provider now internally uses a different Rust type.
- `Client.clearCache` now takes a `syncService` so it can stop it.

---

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-06-25 19:25:42 +00:00
Jorge Martin Espinosa
b500d135b0 Display error dialog if Element Call can't be joined (#4919) 2025-06-25 08:43:29 +02:00
Jorge Martin Espinosa
407c7ed70a Simplify message composer layout (#4884)
Co-authored-by: ElementBot <android@element.io>
2025-06-24 14:05:28 +02:00
Benoit Marty
1f34125a5f Merge pull request #4925 from element-hq/feature/bma/elementCallCheck
Introduce SessionEnterpriseService.
2025-06-24 12:52:07 +02:00
Benoit Marty
5a5195351d Merge pull request #4923 from element-hq/feature/bma/spaceAvatar2
Iterate on avatar to be able to render Space avatar Part2
2025-06-24 12:05:59 +02:00
Benoit Marty
432f1ce50a Move isElementCallAvailable fun to new SessionEnterpriseService, which implementations can get the current MatrixClient. 2025-06-24 11:28:25 +02:00
renovate[bot]
eb9204e31f 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]
3cebec9a91 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
e89acdf3f2 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
9db77db735 Ensure AvatarSize is correctly used in UnsavedAvatar, instead of hard coded size. 2025-06-24 09:58:16 +02:00
Benoit Marty
c250adbb53 Add preview with an image. 2025-06-24 09:18:28 +02:00
Benoit Marty
7d7e368bd0 Quality 2025-06-24 09:06:39 +02:00
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
ganfra
7fab4edd41 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
eb3f036b19 change (accept invite) : fix tests after api break 2025-06-20 18:14:34 +02:00
ganfra
cee279fd44 change (accept invite) : updates the error title/content dialog for accept/decline actions 2025-06-20 16:40:52 +02:00
ganfra
f710b28dc5 change (accept invite) : map Unknown error to AcceptInvite.Failures.InvalidInvite 2025-06-20 16:36:01 +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
c664c58a5c Merge pull request #4904 from element-hq/feature/bma/roomDebugInfo
Room debug info
2025-06-20 13:49:42 +02:00
Benoit Marty
1af5fe8c9b Suppress LargeClass on test. 2025-06-20 10:33:30 +02:00
Benoit Marty
56b5ea2e8b Remove unused import 2025-06-20 10:29:52 +02:00
Benoit Marty
acaee65e9b Use CompoundIcons.Code() instead of CompoundDrawables.ic_compound_code 2025-06-20 10:13:48 +02:00
Benoit Marty
009601cf5b 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
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
dc8c4436ca 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
8a770c8d4f fix (join room) : do not navigate up when join is successful 2025-06-19 11:27:12 +02:00
Benoit Marty
5ee33a8d16 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
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