Commit graph

91 commits

Author SHA1 Message Date
Benoit Marty
e1b528e861 Show current user in the settings and extract code in CurrentUserProvider. 2023-07-03 17:09:04 +02:00
bmarty
6e54ed7b77 Sync Strings from Localazy 2023-07-03 00:11:17 +00:00
Benoit Marty
8cb0e0808c Improve API of UnreadIndicatorAtom 2023-06-29 18:17:37 +02:00
Benoit Marty
349d9fbc0f Rename color alias 2023-06-29 18:17:37 +02:00
Benoit Marty
85d3fef5e7 Unread indicator color changed to iconAccentTertiary 2023-06-29 18:17:37 +02:00
Benoit Marty
ebb34a0214 Fix placeholoder color issue (with a workaround) 2023-06-29 18:17:37 +02:00
Benoit Marty
909e4518c0 Tweak colors of drop down menu. 2023-06-29 18:17:37 +02:00
Benoit Marty
60bdfe1658 Use correct typography 2023-06-29 18:17:37 +02:00
Benoit Marty
8a416bf4d3 Outlined icon for menu. 2023-06-29 18:17:37 +02:00
Benoit Marty
0b7e0293cf Ensure menu item text has style fontBodyLgRegular 2023-06-29 18:17:37 +02:00
Benoit Marty
c1ae0ffa58 Create wrapper for DropdownMenuItem and DropdownMenu 2023-06-29 18:17:37 +02:00
Benoit Marty
0e24fa1758 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
35f19f625a Reduce height of invite button, and improve click effect. 2023-06-29 18:17:37 +02:00
Benoit Marty
df081cdf4f Extract InvitesEntryPointView to its own file and add preview (no other change) 2023-06-29 18:17:37 +02:00
Benoit Marty
fb9c8f9346 Singleline for search room list TextField 2023-06-29 18:17:37 +02:00
Yoan Pintas
c0106a692c Add analytics tracking for some screens (#698) 2023-06-29 13:39:34 +00:00
ganfra
8e5c2a749a Merge branch 'develop' into feature/fga/room_list_api 2023-06-28 15:14:06 +02:00
Jorge Martin Espinosa
683b0b3594 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
8c3402b3f9 Use Semantic color for placeholder. 2023-06-27 21:27:59 +02:00
Benoit Marty
8dcf527933 Fix compilation issue after rebase. 2023-06-27 19:58:42 +02:00
Benoit Marty
80f2f6aa55 Fix compilation issue after rebase. 2023-06-27 19:51:10 +02:00
Benoit Marty
d2d5e2e745 Modifier parameter as first param with default value. 2023-06-27 19:43:03 +02:00
Benoit Marty
b6cdafe02d Fix test compilation issue. 2023-06-27 19:43:03 +02:00
Benoit Marty
69868917ba Iterate on Room placeholder 2023-06-27 19:41:59 +02:00
Benoit Marty
980d5462f3 Iterate on Room placeholder 2023-06-27 19:41:59 +02:00
Benoit Marty
5ef52f063b Fab icon alignment. 2023-06-27 19:31:44 +02:00
Benoit Marty
fb09991793 Create UnreadIndicatorAtom with preview. 2023-06-27 19:31:44 +02:00
Benoit Marty
0c0f11eb61 Extract InvitesEntryPointView and change font style to bodyMedium 2023-06-27 19:30:42 +02:00
Benoit Marty
c966acb829 Remove useless (?) Column. 2023-06-27 19:28:28 +02:00
Benoit Marty
637bc9706b Move preview to the Composable it is previewing. 2023-06-27 19:26:45 +02:00
Benoit Marty
7eca946313 Extract RequestVerificationHeader to its own file. 2023-06-27 19:26:45 +02:00
Benoit Marty
8b03203cc1 Design: iterate on Room List item 2023-06-27 19:23:37 +02:00
Benoit Marty
92bd16832d Rework AvatarSize.
Remove default value for AvatarSize, it has to be explicitely provided.
2023-06-27 19:23:37 +02:00
Benoit Marty
4d0f58568f 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
a16335b4b7 [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
aadc6d68d8 Merge branch 'develop' into feature/bma/removeOldResources 2023-06-27 16:09:30 +02:00
ganfra
812880a148 RoomList: fix tests and sample 2023-06-27 14:06:58 +02:00
Benoit Marty
659b9d3d9c Now that the composer as been removed, we do not need element resource module anymore. 2023-06-27 13:34:55 +02:00
ganfra
34f5e0597a Merge branch 'develop' into feature/fga/room_list_api 2023-06-27 10:47:50 +02:00
Benoit Marty
dfa1adb9c1 More cleanup 2023-06-27 09:51:33 +02:00
Benoit Marty
798da50454 Use CommonStrings everywhere 2023-06-27 09:45:00 +02:00
ganfra
fa48c29486 RoomList: more rework on RoomSummaryDataSource 2023-06-26 18:02:53 +02:00
Marco Romano
c5c9cd33da Refine handleSnackbarMessage API (#676)
As per our offline convos during a PR review.
2023-06-26 16:29:50 +02:00
bmarty
874739ece9 Sync Strings from Localazy 2023-06-26 00:10:53 +00:00
ganfra
7ee3c1bf42 Merge branch 'develop' into feature/fga/room_list_api 2023-06-23 18:14:09 +02:00
ganfra
e0e50a97e9 API: simplify NetworkMonitor api 2023-06-22 15:47:15 +02:00
Jorge Martin Espinosa
42827206b3 [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
ef8dc6ea7a RoomList: change a bit the api of RoomSummaryDataSource 2023-06-22 12:34:07 +02:00
github-actions[bot]
fe5524bae4 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
9b4b9e9140 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