Jorge Martin Espinosa
33b88b8026
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
bdc96da04f
Improve preview for OutlinedTextField and TextField
2023-02-15 12:57:08 +01:00
Benoit Marty
ed3466d8c3
Fix compilation warning (even if this drawable will never be used at runtime)
2023-02-14 18:20:19 +01:00
Benoit Marty
6d9e79132b
Add some previews.
2023-02-14 17:03:02 +01:00
Benoit Marty
8cb8c2f306
Move and rename VectorIcon
2023-02-14 17:03:02 +01:00
Benoit Marty
12fb178eb5
Add some previews.
2023-02-14 17:03:02 +01:00
Benoit Marty
3c3f473534
Add some previews.
2023-02-14 17:03:02 +01:00
Benoit Marty
e40735e0e0
Remove duplicated ShowkaseButton and fix colors.
2023-02-14 17:03:02 +01:00
Benoit Marty
35c7d4c132
Add Preview for timeline items.
2023-02-14 17:03:02 +01:00
Benoit Marty
41e63173b3
Make @Preview internal.
...
And exclude class generated by Showkase
2023-02-14 17:03:02 +01:00
Benoit Marty
aecc294df9
Add a way to Preview images.
2023-02-14 17:03:02 +01:00
Benoit Marty
ec687edc2d
Extract Provider (and rename them) to their own file and move fixture(s) there.
2023-02-14 17:03:02 +01:00
Benoit Marty
f04f2dad9e
Give the id to AvatarData to be able to compute initial properly.
2023-02-14 17:03:02 +01:00
Benoit Marty
7a3a4ca026
Add StringPreviewParameterProvider
2023-02-14 17:03:02 +01:00
Benoit Marty
e1b9d1da02
PreviewParameterProvider FTW
2023-02-14 17:03:02 +01:00
Benoit Marty
395d432220
Add some Preview
2023-02-14 17:03:02 +01:00
Benoit Marty
cde64d4860
Fix detekt issue
2023-02-07 10:36:06 +01:00
Benoit Marty
864b70f512
Add preview for colors.
2023-02-03 16:29:17 +01:00
Benoit Marty
732fb9bd1e
Fix detekt issue, optimize import, fix color of preference category title
2023-02-03 13:43:00 +01:00
Benoit Marty
579693354a
Fix issue.
2023-02-03 12:57:42 +01:00
Benoit Marty
56cb19707b
Add some TODO for design input
2023-02-03 12:57:42 +01:00
Benoit Marty
decd3a9585
ElementTheme + MaterialTheme3
2023-02-03 12:57:42 +01:00
Benoit Marty
37840af3fd
Rename component. No need for Element prefix
2023-02-03 12:57:42 +01:00
Benoit Marty
fb4c5138ee
Material3 only in designsystem.
2023-02-03 12:56:53 +01:00
Benoit Marty
65e7984d5d
Add some Preview
2023-02-03 12:56:53 +01:00
Benoit Marty
2cfa921a70
Rework Preview for a better rendering in the IDE.
2023-02-03 12:56:53 +01:00
Benoit Marty
8f551fbe03
Optimize import
2023-02-03 12:56:53 +01:00
Benoit Marty
8d87320531
Add ElementCircularProgressIndicator and ElementOutlinedTextField.
2023-02-03 12:56:53 +01:00
Benoit Marty
171e35c89a
Fix color error.
2023-02-03 12:55:36 +01:00
Benoit Marty
3273685cc4
Theme: Add ElementModalBottomSheetLayout.
2023-02-03 12:55:36 +01:00
Benoit Marty
0af99b88a1
Add some aliases and fixes placeholder color.
2023-02-03 12:55:36 +01:00
Benoit Marty
6e4edc8289
First draft of full custom theme.
...
ElementTheme everywhere
Create ElementButton
2023-02-03 12:55:36 +01:00
Benoit Marty
3ecce4e24f
Create ExtendedColors to define more colors.
2023-02-03 12:55:36 +01:00
ganfra
085e5bebe4
Simplify AvatarData and avoid carrying ByteArray
2023-02-01 15:57:00 +01:00
ganfra
27bf42c5f2
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
d7b4cb97a7
Rename uistrings module
2023-01-20 17:42:09 +01:00
ganfra
0a3697bfe8
Rename matrix modules
2023-01-20 17:27:47 +01:00
ganfra
7903e855ec
Rename designsystem module
2023-01-20 17:09:12 +01:00
Benoit Marty
8f2fecd386
Naming convention for Previews
2023-01-18 15:49:57 +01:00
Benoit Marty
443efd2aac
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
63ff259d01
Do not show bg in preview
2023-01-18 15:34:41 +01:00
Benoit Marty
66a389c4c5
Rename folders java to kotlin
2023-01-18 13:51:30 +01:00
Benoit Marty
8c93aedbc1
Create dedicated modules for Strings and apply the plugin com.likethesalad.stem
...
Remove translations
2023-01-18 11:54:02 +01:00
ganfra
f470f2a6af
Make some data class @Immutable when needed
2023-01-11 17:08:56 +01:00
ganfra
7edfcac62b
Migrate Preferences to new architecture
2023-01-09 19:27:28 +01:00
Benoit Marty
a9ac218a36
Adapt size of text for avatar
2022-12-22 18:17:38 +01:00
Benoit Marty
166a776502
Improve Setting screen
2022-12-22 18:11:41 +01:00
Benoit Marty
ef091297b3
Create a MatrixUserRow composable
2022-12-22 15:56:55 +01:00
Benoit Marty
e2515020cf
Add missing Copyright
2022-12-22 13:51:56 +01:00
Benoit Marty
37daf12cd0
Move logout and report bug to Setting screen
2022-12-21 22:01:21 +01:00