Commit Graph

4118 Commits

Author SHA1 Message Date
Benoit Marty
ddca92a353 Provide avatarShape: Shape instead of AvatarType to sub composable functions 2025-06-23 21:51:56 +02:00
Benoit Marty
db98e3c146 Extract subcomposable InitialOrImageAvatar 2025-06-23 21:45:59 +02:00
Benoit Marty
7f60fde9dc Remove default param for Avatar.avatarType 2025-06-23 21:36:53 +02:00
Benoit Marty
b532f6e60b Remove default param for AvatarCluster.avatarType 2025-06-23 21:27:40 +02:00
Benoit Marty
f3a885e535 SpaceAvatar can be internal 2025-06-23 21:25:23 +02:00
Benoit Marty
390ecdaedc Cleanup code rework by IDE. 2025-06-23 21:24:40 +02:00
Benoit Marty
041eb88aee Extract UserAvatar to its own file. 2025-06-23 21:24:03 +02:00
Benoit Marty
688fbdd1bd Let AvatarType be the receiver of avatarShape() 2025-06-23 18:34:52 +02:00
Benoit Marty
0f6dd82b97 Move isTombstoned to AvatarType.Space 2025-06-23 18:33:42 +02:00
Benoit Marty
a76730c365 AvatarType is Immutable. 2025-06-23 18:03:53 +02:00
Benoit Marty
290e4be82d Extract ImageAvatar and InitialLetterAvatar to their own files. 2025-06-23 18:02:34 +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
d524c23b8d Merge pull request #4916 from element-hq/feature/bma/zoomVideo2
Add ability to zoom on video.
2025-06-23 13:46:43 +02:00
Benoit Marty
a79b8c9c16 Add ability to zoom on video. 2025-06-23 12:09:33 +02:00
夜坂雅
9248b6cfdf refactor: Migrate SQLCipher Android to new API (#4874)
Co-authored-by: Benoit Marty <benoitm@element.io>
2025-06-23 09:29:44 +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
Jorge Martin Espinosa
39be607c5c Restore MarkdownEditText.focusSearch override (#4908) 2025-06-20 17:24:17 +02:00
renovate[bot]
304b99d544 fix(deps): update dependency org.robolectric:robolectric to v4.15 (#4901)
* fix(deps): update dependency org.robolectric:robolectric to v4.15

* It seems that there's been some improvement on Robolectric 4.15 so this can be tested properly now.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-06-20 17:23:20 +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
3ee5ee3f45 a11y: let Markdown/Rich text input render the placeholder to help for accessibility. 2025-06-20 15:00:28 +02:00
Benoit Marty
a4523a8de1 Inline TextInput so that we have code parity in the when statement 2025-06-20 14:20:23 +02:00
Benoit Marty
f0508d342f a11y: Make isTalkbackActive() live.
We made the assumption that the user needs to navigate to the setting to enable or disable the talkback, but there is a way to add a talkback switch on the bottom navigation bar. So the talkback can be enabled/disabled when the application is resumed. Since the UI may render differently depending on the talkback state, we need to make the composable `isTalkbackActive()` backed on a mutable state.
2025-06-20 09:43:01 +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
Richard van der Hoff
9be05262e2 Add a developer option for history sharing on invite (#4821)
Adds a new developer flag, enabling our experimental support for MSC4268.
2025-06-18 17:11:57 +01:00
Benoit Marty
91279d6f0a Update wording of generic notification. 2025-06-18 18:00:50 +02:00
ganfra
5f2050233e fix (room upgrade) : room predecessor banner should be displayed for DM too 2025-06-18 17:40:24 +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
Benoit Marty
0a50c9f9cf Add missing test on RustNotificationService 2025-06-18 14:44:57 +02:00
Benoit Marty
fde4fe871f Add test for UnableToResolve case. 2025-06-18 14:30:44 +02:00
Benoit Marty
af68176dbe Add missing test for UnableToResolve case. 2025-06-18 14:27:28 +02:00
Benoit Marty
5054164379 Fix test after wording change. 2025-06-18 14:19:57 +02:00
ganfra
438a22bcec change (room avatar) : replace modifier.requiredSize by modifier.size 2025-06-18 13:39:46 +02:00
ganfra
21129d0c0b change (room avatar) : fix AvatarClusterPreview 2025-06-18 12:53:27 +02:00
ganfra
da371797d3 change (room avatar) : add preview for TombstonedRoomAvatar 2025-06-18 12:29:47 +02:00
ganfra
f3614ab67e change (room avatar) : clean code related to room name/avatar 2025-06-17 20:37:41 +02:00
Benoit Marty
5c105c0b47 Remove string duplication 2025-06-17 16:55:03 +02:00
Benoit Marty
9c16f9b161 Add missing unit test on DefaultPushService 2025-06-17 16:38:56 +02:00
Benoit Marty
d8095faa43 Ensure that the battery optimization banner is not displayed after an internal clear cache. 2025-06-17 16:31:35 +02:00
Benoit Marty
c61b118f42 Update wording of notification_fallback_content (from localazy) 2025-06-17 16:15:49 +02:00
Benoit Marty
5852558681 Notification: ensure that a notification is displayed when a Push cannot be resolved.
Previously the error was logged and added to push history but no notification was shown, so the user fully miss the new message.
2025-06-17 16:00:31 +02:00
ganfra
935a715cf6 change (room avatar) : delete CompositeAvatar 2025-06-17 10:37:07 +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
1080417dd8 change (room avatar) : introduce RoomAvatar and AvatarCluster to replace CompositeAvatar 2025-06-17 10:37:07 +02:00
ganfra
4517403038 change (room avatar) : use TextAvatar from TombstonedRoomAvatar 2025-06-17 10:37:06 +02:00
ganfra
f6dc8da6ad change (room avatar) : use TextAvatar from InitialLetterAvatar 2025-06-17 10:37:06 +02:00
ganfra
08bbd7219c change (room avatar) : introduce TextAvatar component 2025-06-17 10:37:06 +02:00