Commit graph

97 commits

Author SHA1 Message Date
Maxime NATUREL
e5349040b2 Moving back button into button package 2023-03-08 15:46:47 +01:00
Maxime NATUREL
e6c7afd614 Add buttons to create and invite 2023-03-08 15:46:47 +01:00
Maxime NATUREL
3efb141afc Fix duplicated strings and use back button 2023-03-08 15:46:46 +01:00
Florian Renaud
1f85df8a1a Update SearchBar by using the DockedSearchBar from material3 2023-03-08 15:46:46 +01:00
Maxime NATUREL
4342c4ec07 Search bar 2023-03-08 15:46:46 +01:00
Maxime NATUREL
fd43b6b336 Top app bar for the start chat screen 2023-03-08 15:46:46 +01:00
Maxime NATUREL
0470abaded Revert the color change in theme 2023-03-08 15:46:45 +01:00
Florian Renaud
cec6d3ef88 Update create room screen 2023-03-08 15:46:45 +01:00
Florian Renaud
61a4776907 Customize create room floating button 2023-03-08 15:46:45 +01:00
Jorge Martin Espinosa
d36ca2907c Use user friendly error messages in login following iOS logic (#174)
* Use user friendly error messages in login following iOS logic, fix dialog colors.

* Use `AlertDialogDefaults` for the default properties of dialogs

* Improve Maestro tests with wrong password dialog

* Add tests for error messages
2023-03-07 17:55:48 +01:00
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
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