Commit Graph

90 Commits

Author SHA1 Message Date
bmarty
bd3dd76039 Sync Strings from Localazy 2023-07-03 00:11:17 +00:00
Benoit Marty
c06a0d46f6 Improve API of UnreadIndicatorAtom 2023-06-29 18:17:37 +02:00
Benoit Marty
b75100b2ab Rename color alias 2023-06-29 18:17:37 +02:00
Benoit Marty
9345cbb724 Unread indicator color changed to iconAccentTertiary 2023-06-29 18:17:37 +02:00
Benoit Marty
a663f0e86c Fix placeholoder color issue (with a workaround) 2023-06-29 18:17:37 +02:00
Benoit Marty
beb78be082 Tweak colors of drop down menu. 2023-06-29 18:17:37 +02:00
Benoit Marty
5807c1dc85 Use correct typography 2023-06-29 18:17:37 +02:00
Benoit Marty
4a8d870c54 Outlined icon for menu. 2023-06-29 18:17:37 +02:00
Benoit Marty
6333de8b12 Ensure menu item text has style fontBodyLgRegular 2023-06-29 18:17:37 +02:00
Benoit Marty
7fd6851c65 Create wrapper for DropdownMenuItem and DropdownMenu 2023-06-29 18:17:37 +02:00
Benoit Marty
6c47cd4029 Reduce height of invite button, and improve click effect. Also change text style to fontBodyMdMedium 2023-06-29 18:17:37 +02:00
Benoit Marty
b8c95045b3 Reduce height of invite button, and improve click effect. 2023-06-29 18:17:37 +02:00
Benoit Marty
2f544fd27a Extract InvitesEntryPointView to its own file and add preview (no other change) 2023-06-29 18:17:37 +02:00
Benoit Marty
a95067ae0d Singleline for search room list TextField 2023-06-29 18:17:37 +02:00
Yoan Pintas
8ab32bfaa0 Add analytics tracking for some screens (#698) 2023-06-29 13:39:34 +00:00
ganfra
e3744636b6 Merge branch 'develop' into feature/fga/room_list_api 2023-06-28 15:14:06 +02:00
Jorge Martin Espinosa
c5a5810c05 Link Compound's TypographyTokens to ElementTheme. (#700)
* Link Compound's `TypographyTokens` to `ElementTheme`.

Also add some docs about when we should use each set of tokens.

* Renamed `LocalColors` to `LocalLegacyColors`.

Made both `LocalLegacyColors` and `LocalCompoundColors` internal. This means it will need to always be used through `ElementTheme.`

Also, removed any usages of `LocalColors.current` accross the project, they're now used through `ElementTheme.legacyColors`.
2023-06-28 08:53:20 +00:00
Benoit Marty
6ccfd41c2d Use Semantic color for placeholder. 2023-06-27 21:27:59 +02:00
Benoit Marty
a7da76ae36 Fix compilation issue after rebase. 2023-06-27 19:58:42 +02:00
Benoit Marty
15fba25651 Fix compilation issue after rebase. 2023-06-27 19:51:10 +02:00
Benoit Marty
02c1553d1e Modifier parameter as first param with default value. 2023-06-27 19:43:03 +02:00
Benoit Marty
1b84d8e3ee Fix test compilation issue. 2023-06-27 19:43:03 +02:00
Benoit Marty
659d719456 Iterate on Room placeholder 2023-06-27 19:41:59 +02:00
Benoit Marty
6ece791840 Iterate on Room placeholder 2023-06-27 19:41:59 +02:00
Benoit Marty
931a1fe4de Fab icon alignment. 2023-06-27 19:31:44 +02:00
Benoit Marty
5c27952194 Create UnreadIndicatorAtom with preview. 2023-06-27 19:31:44 +02:00
Benoit Marty
47b8ceb832 Extract InvitesEntryPointView and change font style to bodyMedium 2023-06-27 19:30:42 +02:00
Benoit Marty
35fbdff907 Remove useless (?) Column. 2023-06-27 19:28:28 +02:00
Benoit Marty
dc6a65a8db Move preview to the Composable it is previewing. 2023-06-27 19:26:45 +02:00
Benoit Marty
abe6ffcdae Extract RequestVerificationHeader to its own file. 2023-06-27 19:26:45 +02:00
Benoit Marty
7d69e9a4dd Design: iterate on Room List item 2023-06-27 19:23:37 +02:00
Benoit Marty
d6f2d7a5d3 Rework AvatarSize.
Remove default value for AvatarSize, it has to be explicitely provided.
2023-06-27 19:23:37 +02:00
Benoit Marty
82e566175a Room list: tweak UI and add overflow menu with report bug and invite friends action.
Extract invite friends action to a use case to avoid copy paste.
2023-06-27 19:23:37 +02:00
Jorge Martin Espinosa
02dc447624 [Compound] Integrate compound tokens (#586)
* Added tokens.

* Apply color to MaterialTheme, also add typography.

* Map colors to the right ones in the themes.

* Create and improve previews of some components

* More preview improvements

* Add `tertiary` and `onTertiary` colors, remove some unused ones.

* Fix usage of deleted color token

* Fix bug in Switch previews

* Create a separate `:libraries:theme` module to keep everything related to colors, typography and Compound in general.

* Fix `DatePickerPreview`

* Add missing Compound generated files by fixing their package name

* Move `ElementTheme` to the `:libraries:theme` module, make some variables internal.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-27 16:15:40 +00:00
Benoit Marty
5f16297939 Merge branch 'develop' into feature/bma/removeOldResources 2023-06-27 16:09:30 +02:00
ganfra
3d872ec0e2 RoomList: fix tests and sample 2023-06-27 14:06:58 +02:00
Benoit Marty
4cb9843415 Now that the composer as been removed, we do not need element resource module anymore. 2023-06-27 13:34:55 +02:00
ganfra
2a24d0196e Merge branch 'develop' into feature/fga/room_list_api 2023-06-27 10:47:50 +02:00
Benoit Marty
287328f7df More cleanup 2023-06-27 09:51:33 +02:00
Benoit Marty
4a8c49fa28 Use CommonStrings everywhere 2023-06-27 09:45:00 +02:00
ganfra
e5c86675a4 RoomList: more rework on RoomSummaryDataSource 2023-06-26 18:02:53 +02:00
Marco Romano
ffc9d1e82e Refine handleSnackbarMessage API (#676)
As per our offline convos during a PR review.
2023-06-26 16:29:50 +02:00
bmarty
9c5c578c67 Sync Strings from Localazy 2023-06-26 00:10:53 +00:00
ganfra
e392f15872 Merge branch 'develop' into feature/fga/room_list_api 2023-06-23 18:14:09 +02:00
ganfra
37174cf53c API: simplify NetworkMonitor api 2023-06-22 15:47:15 +02:00
Jorge Martin Espinosa
de7bbbd5cf [Message Actions] Forward messages (#635)
* Add forwarding messages base

* Make forwarding single-selection

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-22 13:27:59 +02:00
ganfra
8ce65b4429 RoomList: change a bit the api of RoomSummaryDataSource 2023-06-22 12:34:07 +02:00
github-actions[bot]
3f7738c001 Sync Strings (#630)
* Sync Strings from Localazy

* Update strings, remove broken German translation

* Update screenshots

---------

Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-19 11:18:01 +00:00
Benoit Marty
9321a9f718 Introduce simulateLongTask to ensure that the Presenter State Loading is visible.
Also do some cleanup on the tests.
2023-06-15 10:57:05 +02:00
ganfra
8a3a70ffa5 Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-07 16:31:28 +02:00