Benoit Marty
4afc20798c
[a11y] Ensure that heading() is applied to all screen titles.
2025-07-04 12:15:42 +02:00
Benoit Marty
70c07f0076
[a11y] Use built-in onClickLabel parameter.
2025-07-04 09:34:13 +02:00
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
1ee94a492a
Fix quality issues on Composables
2025-06-26 13:03:24 +02:00
Benoit Marty
963a19239a
Fix typo
2025-06-26 13:03:23 +02:00
Benoit Marty
811527e789
Split function into separate files.
2025-06-26 13:03:22 +02:00
Benoit Marty
f0ce4afda3
Add NavigationBar component
2025-06-26 13:03:21 +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
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
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
475b8543de
Space avatar rounded corner has radius of 25% of the width.
2025-06-24 11:00:53 +02:00
Benoit Marty
8e104b7ae5
Move internal elements to internal package.
2025-06-24 09:12:12 +02:00
Benoit Marty
0e982d4435
Replace values() by entries
2025-06-24 09:08:15 +02:00
Benoit Marty
7d7e368bd0
Quality
2025-06-24 09:06:39 +02:00
Benoit Marty
71186c9dd7
Fix regression on preview.
2025-06-24 09:06:29 +02:00
Benoit Marty
341dff7f03
Improve preview of AvatarCluster to show all types.
2025-06-23 22:16:06 +02:00
Benoit Marty
e1bde435f5
Avoid potential infinite loop.
2025-06-23 21:56:20 +02:00
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
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
ganfra
935a715cf6
change (room avatar) : delete CompositeAvatar
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
ganfra
50f666169a
Merge branch 'develop' into feature/fga/room-version-upgrade
2025-06-16 20:46:28 +02:00
ganfra
254e36de9a
feature (room upgrade) : revert ComposerAlertMolecule preview
2025-06-12 11:09:17 +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
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
aff8dd8522
feature (room upgrade) : start rendering SuccessorRoom and PredecessorRoom banners in timeline
2025-06-11 10:46:39 +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
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
Jorge Martin Espinosa
9dbaa2ed40
Make sure HeaderFooterPage can contents be scrolled ( #4704 )
...
Co-authored-by: ElementBot <android@element.io >
2025-06-02 14:28:46 +02:00
renovate[bot]
54fea47cba
fix(deps): update lifecycle to v2.9.0 ( #4693 )
...
* fix(deps): update lifecycle to v2.9.0
* Remove unused code.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org >
2025-05-09 09:55:35 +00:00