Commit graph

16 commits

Author SHA1 Message Date
Benoit Marty
166151a6e8 [Strings] Update test after string change 2023-03-27 14:44:24 +02:00
Jorge Martin Espinosa
ec66ed0a68 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
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
ganfra
68db4f1be7 Update maestro readme 2023-02-27 12:19:56 +01:00
Benoit Marty
f6e2e2fa90 Fix typo 2023-01-18 16:40:53 +01:00
Benoit Marty
f65ac02f50 Add another test: cancel sign out. 2023-01-17 18:12:40 +01:00
Benoit Marty
02417a4f72 Update doc. 2023-01-17 18:12:40 +01:00
Benoit Marty
2b64285edf Fix wording issue 2023-01-17 18:12:40 +01:00
Benoit Marty
5f5ec78e78 Add comments for iOS 2023-01-17 18:12:40 +01:00
Benoit Marty
e6da460619 clearKeychain (iOS) 2023-01-17 18:12:40 +01:00
Benoit Marty
2e42234971 Fix wording issue 2023-01-17 18:12:40 +01:00
Benoit Marty
3ea27c40d3 Fix wording issue 2023-01-17 18:12:40 +01:00
Benoit Marty
ac97671950 Add doc for future 2023-01-17 18:11:12 +01:00
Benoit Marty
b484c9e2e7 Typo in doc 2023-01-17 18:11:12 +01:00
Benoit Marty
369f520344 Rename job, add missing parameter ROOM_NAME and update TOC 2023-01-17 18:11:12 +01:00
Benoit Marty
1333ab6643 Setup Maestro and add first tests.
Also configure CI
2023-01-17 18:11:12 +01:00