Benoit Marty
349d9fbc0f
Rename color alias
1 year ago
Benoit Marty
85d3fef5e7
Unread indicator color changed to iconAccentTertiary
1 year ago
Benoit Marty
ebb34a0214
Fix placeholoder color issue (with a workaround)
1 year ago
Benoit Marty
909e4518c0
Tweak colors of drop down menu.
1 year ago
Benoit Marty
60bdfe1658
Use correct typography
1 year ago
Benoit Marty
8a416bf4d3
Outlined icon for menu.
1 year ago
Benoit Marty
0b7e0293cf
Ensure menu item text has style fontBodyLgRegular
1 year ago
Benoit Marty
c1ae0ffa58
Create wrapper for DropdownMenuItem and DropdownMenu
1 year ago
Benoit Marty
0e24fa1758
Reduce height of invite button, and improve click effect. Also change text style to fontBodyMdMedium
1 year ago
Benoit Marty
35f19f625a
Reduce height of invite button, and improve click effect.
1 year ago
Benoit Marty
df081cdf4f
Extract InvitesEntryPointView to its own file and add preview (no other change)
1 year ago
Benoit Marty
fb9c8f9346
Singleline for search room list TextField
1 year ago
Yoan Pintas
c0106a692c
Add analytics tracking for some screens ( #698 )
1 year ago
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`.
1 year ago
Benoit Marty
8c3402b3f9
Use Semantic color for placeholder.
1 year ago
Benoit Marty
8dcf527933
Fix compilation issue after rebase.
1 year ago
Benoit Marty
80f2f6aa55
Fix compilation issue after rebase.
1 year ago
Benoit Marty
d2d5e2e745
Modifier parameter as first param with default value.
1 year ago
Benoit Marty
b6cdafe02d
Fix test compilation issue.
1 year ago
Benoit Marty
69868917ba
Iterate on Room placeholder
1 year ago
Benoit Marty
980d5462f3
Iterate on Room placeholder
1 year ago
Benoit Marty
5ef52f063b
Fab icon alignment.
1 year ago
Benoit Marty
fb09991793
Create UnreadIndicatorAtom with preview.
1 year ago
Benoit Marty
0c0f11eb61
Extract InvitesEntryPointView and change font style to bodyMedium
1 year ago
Benoit Marty
c966acb829
Remove useless (?) Column.
1 year ago
Benoit Marty
637bc9706b
Move preview to the Composable it is previewing.
1 year ago
Benoit Marty
7eca946313
Extract RequestVerificationHeader to its own file.
1 year ago
Benoit Marty
8b03203cc1
Design: iterate on Room List item
1 year ago
Benoit Marty
92bd16832d
Rework AvatarSize.
...
Remove default value for AvatarSize, it has to be explicitely provided.
1 year ago
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.
1 year ago
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>
1 year ago
ganfra
812880a148
RoomList: fix tests and sample
1 year ago
Benoit Marty
659b9d3d9c
Now that the composer as been removed, we do not need element resource module anymore.
1 year ago
Benoit Marty
dfa1adb9c1
More cleanup
1 year ago
Benoit Marty
798da50454
Use `CommonStrings` everywhere
1 year ago
ganfra
fa48c29486
RoomList: more rework on RoomSummaryDataSource
1 year ago
Marco Romano
c5c9cd33da
Refine handleSnackbarMessage API ( #676 )
...
As per our offline convos during a PR review.
1 year ago
bmarty
874739ece9
Sync Strings from Localazy
1 year ago
ganfra
e0e50a97e9
API: simplify NetworkMonitor api
1 year ago
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>
1 year ago
ganfra
ef8dc6ea7a
RoomList: change a bit the api of RoomSummaryDataSource
1 year ago
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>
1 year ago
Benoit Marty
9b4b9e9140
Introduce `simulateLongTask` to ensure that the Presenter State `Loading` is visible.
...
Also do some cleanup on the tests.
1 year ago
Chris Smith
fd34ab5cd9
Invite button: fiddle with touch area
...
Instead of the whole width of the screen being touchable, make the
clickable component 48dp high and 16dp padding either side of the
content.
1 year ago
ganfra
89d4b81f80
Media action: show snackbar when file saved on disk
1 year ago
Chris Smith
a20e087a87
Invite button tweaks
...
- Force to 48dp to ensure a good touch target
- Make the whole row clickable not just the button
- Proper text size for label
1 year ago
Chris Smith
048c477906
Show dividers in room list
1 year ago
bmarty
175b7deccb
Sync Strings from Localazy
1 year ago
Benoit Marty
a5fc4ffe84
Rename `processMessageItem` to simple `format`
1 year ago
Benoit Marty
9d66af834d
Move RoomLastMessageFormatter and related class and resource to the new module `eventformatter`, in order to prepare rendering of state event in the timeline.
1 year ago