Benoit Marty
3c1f764bee
Improve rendering of "All chats" regarding fontScale. ( #984 )
1 year ago
Benoit Marty
e0255777c0
Enable detekt rules `CascadingCallWrapping` and fix existing issues.
1 year ago
Benoit Marty
4312a96851
Cleanup: there are no androidTest on those modules.
1 year ago
Benoit Marty
c75eabbcb0
Enable detekt rules `UnnecessaryParentheses` and cleanup the code.
1 year ago
Benoit Marty
2928073e22
Enable detekt rules `UnusedImports` and cleanup the code.
1 year ago
Benoit Marty
e918d6affd
Enable detekt rules `TopLevelPropertyNaming` and cleanup the code.
1 year ago
renovate[bot]
156bf08b7a
Update dependency app.cash.molecule:molecule-runtime to v1 ( #925 )
...
* Update dependency app.cash.molecule:molecule-runtime to v1
* Replace `RecompositionClock` with `RecompositionMode`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
1 year ago
Benoit Marty
89334a074b
Move test classes to the correct package.
1 year ago
Benoit Marty
75f08c9873
Not a fixture so prefixed with `create` instead of `a`.
1 year ago
ganfra
bb12338583
RoomList: introduce RoomListDataSource so we keep the data in memory as long as the node is in the backstack.
1 year ago
ElementBot
e75438a8e3
Sync Strings ( #882 )
...
* Sync Strings from Localazy
* Update screenshots
---------
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
1 year ago
Benoit Marty
253e8c1c2b
Move TypographyAliases next to ColorAliases
1 year ago
Benoit Marty
3e03ca4a5e
Create alias for typography (more semantic name). `aliasButtonText`
1 year ago
Benoit Marty
b7b6e0323d
Create alias for typography (more semantic name). `aliasScreenTitle`
1 year ago
Benoit Marty
92bc490fa3
Remove `fontWeight` parameter. Must use `style` only.
1 year ago
Benoit Marty
ff5cecb5cf
TextStyle again.
1 year ago
Benoit Marty
5846af2aa4
Remove ElementTextStyles. Only ElementTheme.typography.* styles must be used now.
1 year ago
bmarty
fd6cf1d7fd
Sync Strings from Localazy
1 year ago
Benoit Marty
cd469e67bd
Fix Snackbar colors.
1 year ago
Jorge Martin Espinosa
5ee2418a1c
[Design] Use outlined textfields in login screen ( #801 )
...
* Use outlined textfields in the login screen
* Fix enabled status
* Fix loading state for button in `ConfirmAccountProviderView` too
* Update subtitle string
* Remove no longer used translation
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Marco Romano
ca695ca077
Revert "Auto generate dark mode previews and screenshots ( #776 )" ( #784 )
...
This reverts commit fd467c2451
.
1 year ago
Marco Romano
fd467c2451
Auto generate dark mode previews and screenshots ( #776 )
...
With this change, composable previews and screenshots should be created with just:
```
@ElementPreviews
@Composable
fun MyViewPreview() {
ElementPreview {
MyView()
}
}
```
- Adds `@ElementPreviews` which is a shorthand for:
```
@Preview(name = "D")
@Preview(name = "N", uiMode = Configuration.UI_MODE_NIGHT_YES)
```
Should be used in connection with the now public `fun ElementPreview()` composable.
- Adds ElementPreviews to previewAnnotations in dangerfile
- Screenshots of night mode previews are now rendered with night mode
- Replaces `ElementPreviewLight` and `ElementThemedPreview` with `ElementPreview`
- Deprecates `ElementPreviewDark` which should be removed.
- Remaining usages of `ElementPreviewDark` are now ignored during screenshot tests
1 year ago
ganfra
27df1f2112
AwaitRoom : create loading state with placeholders
1 year ago
ganfra
d59f59e9f6
Await room: first attempt to wait for a room to be ready
1 year ago
Benoit Marty
73b1ffd7d0
Replace CurrentUserProvider by an extension on MatrixClient.
1 year ago
Benoit Marty
e1b528e861
Show current user in the settings and extract code in CurrentUserProvider.
1 year ago
bmarty
6e54ed7b77
Sync Strings from Localazy
1 year ago
Benoit Marty
8cb0e0808c
Improve API of UnreadIndicatorAtom
1 year ago
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