Jorge Martin Espinosa
c87c0ea28c
Refine sign in flow to match designs and iOS flow ( #100 )
...
* Fix dark theme
* First attempt at replicating iOS' UI & flows.
* Try to fix Maestro tests
* Add error dialogs and tests
* Remove unused modifiers
* Try to fix detekt issues
* Tidy up maestro login flow a bit
* Add `CompoundColorPalette` with some needed colors
* Fixes to designs
* Fix detekt issues
* More design fixes
* Some other minor design fixes
* Add changelog
* Minor tweaks.
* Remove legacy dark material theme as it's no longer needed.
* Move sliding sync 'learn more' url to constants object
* Remove unused focusManager
* Change how the displayed homeserver works
* Keep user input as homeserver if it's valid
* Remove `CompoundColorPalette`, try to fix issue when toggling dark mode.
* Add `@Stable` to the theme, adjust how it toggles in dark mode
* Remove unused strings
* Update screenshots
* Re-organize components in LoginRootScreen
* Bump min coverage to 55, max to 60
* Always replace the snapshots contents when running `recordPaparazzi`
* Fix dark theme preview of components using content colors
* Add `BackButton` component
* Handle errors with dialogs in a generic way
* Align our Dialog components with the designs, use them were needed
* Use a `MatrixHomeserverDetails` data class instead of just an URL.
* `AuthenticationService.getHomeserverDetails()` now returns a `StateFlow`.
Also, try to fix coverage issues in tests.
2023-03-06 09:30:16 +01:00
Benoit Marty
6a534e7536
Improve preview for OutlinedTextField and TextField
2023-02-15 12:57:08 +01:00
Benoit Marty
80557924bd
Fix compilation warning (even if this drawable will never be used at runtime)
2023-02-14 18:20:19 +01:00
Benoit Marty
f466ee3639
Add some previews.
2023-02-14 17:03:02 +01:00
Benoit Marty
9234f47ce3
Move and rename VectorIcon
2023-02-14 17:03:02 +01:00
Benoit Marty
d253670d78
Add some previews.
2023-02-14 17:03:02 +01:00
Benoit Marty
25bf63527d
Add some previews.
2023-02-14 17:03:02 +01:00
Benoit Marty
a9222fae32
Remove duplicated ShowkaseButton and fix colors.
2023-02-14 17:03:02 +01:00
Benoit Marty
53c8d3ff7c
Add Preview for timeline items.
2023-02-14 17:03:02 +01:00
Benoit Marty
6bb01d640f
Make @Preview internal.
...
And exclude class generated by Showkase
2023-02-14 17:03:02 +01:00
Benoit Marty
92d3a1c811
Add a way to Preview images.
2023-02-14 17:03:02 +01:00
Benoit Marty
e120ca7163
Extract Provider (and rename them) to their own file and move fixture(s) there.
2023-02-14 17:03:02 +01:00
Benoit Marty
443076f636
Give the id to AvatarData to be able to compute initial properly.
2023-02-14 17:03:02 +01:00
Benoit Marty
6d7e7833a4
Add StringPreviewParameterProvider
2023-02-14 17:03:02 +01:00
Benoit Marty
afe5499158
PreviewParameterProvider FTW
2023-02-14 17:03:02 +01:00
Benoit Marty
fe44c8906d
Add some Preview
2023-02-14 17:03:02 +01:00
Benoit Marty
ff5a3cd86c
Fix detekt issue
2023-02-07 10:36:06 +01:00
Benoit Marty
8413b9792f
Add preview for colors.
2023-02-03 16:29:17 +01:00
Benoit Marty
426005f298
Fix detekt issue, optimize import, fix color of preference category title
2023-02-03 13:43:00 +01:00
Benoit Marty
2989370c3b
Fix issue.
2023-02-03 12:57:42 +01:00
Benoit Marty
41456ec13b
Add some TODO for design input
2023-02-03 12:57:42 +01:00
Benoit Marty
bbe10382b0
ElementTheme + MaterialTheme3
2023-02-03 12:57:42 +01:00
Benoit Marty
201508678a
Rename component. No need for Element prefix
2023-02-03 12:57:42 +01:00
Benoit Marty
cdfc13cb15
Material3 only in designsystem.
2023-02-03 12:56:53 +01:00
Benoit Marty
01aea5a9af
Add some Preview
2023-02-03 12:56:53 +01:00
Benoit Marty
9d32b05fbb
Rework Preview for a better rendering in the IDE.
2023-02-03 12:56:53 +01:00
Benoit Marty
e3fed8b4f5
Optimize import
2023-02-03 12:56:53 +01:00
Benoit Marty
7d85d8da30
Add ElementCircularProgressIndicator and ElementOutlinedTextField.
2023-02-03 12:56:53 +01:00
Benoit Marty
e889856d1c
Fix color error.
2023-02-03 12:55:36 +01:00
Benoit Marty
71fa01f8b6
Theme: Add ElementModalBottomSheetLayout.
2023-02-03 12:55:36 +01:00
Benoit Marty
c54471b5e0
Add some aliases and fixes placeholder color.
2023-02-03 12:55:36 +01:00
Benoit Marty
e4cc733f4a
First draft of full custom theme.
...
ElementTheme everywhere
Create ElementButton
2023-02-03 12:55:36 +01:00
Benoit Marty
78544357e8
Create ExtendedColors to define more colors.
2023-02-03 12:55:36 +01:00
ganfra
b8860a6658
Simplify AvatarData and avoid carrying ByteArray
2023-02-01 15:57:00 +01:00
ganfra
87d0191324
Change/move some gradle modules to be better separated. Let core module be a kotlin lib.
2023-01-24 17:38:57 +01:00
ganfra
dd00f99f0c
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
2023-01-20 19:13:44 +01:00
ganfra
caa04aa485
Rename uistrings module
2023-01-20 17:42:09 +01:00
ganfra
907d7eba75
Rename matrix modules
2023-01-20 17:27:47 +01:00
ganfra
a2f0c64921
Rename designsystem module
2023-01-20 17:09:12 +01:00
Benoit Marty
a43c3ec86f
Naming convention for Previews
2023-01-18 15:49:57 +01:00
Benoit Marty
33f549104b
Improve preview (and make the screenshot test fails in order to check the CI behavior)
2023-01-18 15:49:57 +01:00
Benoit Marty
08bf9aa6f7
Do not show bg in preview
2023-01-18 15:34:41 +01:00
Benoit Marty
862900ed9a
Rename folders java to kotlin
2023-01-18 13:51:30 +01:00
Benoit Marty
468d3f6192
Create dedicated modules for Strings and apply the plugin com.likethesalad.stem
...
Remove translations
2023-01-18 11:54:02 +01:00
ganfra
478f516cf1
Make some data class @Immutable when needed
2023-01-11 17:08:56 +01:00
ganfra
ae273bd4ea
Migrate Preferences to new architecture
2023-01-09 19:27:28 +01:00
Benoit Marty
e393e8f52b
Fix warning
2022-12-23 15:19:24 +01:00
Benoit Marty
86444807da
Adapt size of text for avatar
2022-12-22 18:17:38 +01:00
Benoit Marty
7a3a91a51f
Improve Setting screen
2022-12-22 18:11:41 +01:00
Benoit Marty
47877c4076
Create a MatrixUserRow composable
2022-12-22 15:56:55 +01:00