Commit Graph

834 Commits

Author SHA1 Message Date
ganfra
12a18796a5 misc (a11y) : mark MainActionButton icon as decorative 2025-07-08 11:38:09 +02:00
Benoit Marty
cb2e018431 Centralize gradient color definitions 2025-07-07 16:39:19 +02:00
Benoit Marty
28a9e7b238 Use color from Semantics. 2025-07-07 16:17:01 +02:00
Benoit Marty
d6fed29ec0 Use color from Semantics. 2025-07-07 16:14:20 +02:00
Benoit Marty
c651cfb71e SuperButton 2025-07-07 16:07:27 +02:00
Benoit Marty
9bec4ce711 Use color from Semantics. 2025-07-07 15:13:24 +02:00
Benoit Marty
1a009c01f7 Use color from Semantics. 2025-07-07 15:06:33 +02:00
Benoit Marty
bcc01d5007 Apply gradient to focused Event. 2025-07-07 15:03:30 +02:00
Benoit Marty
ea94ec32b4 Remove bloom effect and replace by linear gradient
Use semantic colors.
2025-07-07 14:49:07 +02:00
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