Commit graph

58 commits

Author SHA1 Message Date
Benoit Marty
c7aac2788e Create ButtonWithProgress composable 2023-03-17 17:22:38 +01:00
Benoit Marty
823b1d806a Rename things from Template 2023-03-17 16:01:19 +01:00
Benoit Marty
1f0149daeb Merge branch 'develop' into feature/bma/networkModule 2023-03-17 13:39:01 +01:00
Jorge Martin Espinosa
dcb98f06aa Add Session Verification flow (#197) 2023-03-17 10:07:19 +01:00
Benoit Marty
52b62a2018 Add preview for CircularProgressIndicator 2023-03-16 16:34:36 +01:00
Benoit Marty
ac8d071d43 Cleanup and use indeterminate progress indicator 2023-03-16 16:34:20 +01:00
Benoit Marty
b74e1e6074 allLibraries renamed to allLibrariesImpl and only reference implementation of the libraries. 2023-03-16 10:10:55 +01:00
ganfra
ac5c587308 [Architecture] regenerate screenshots 2023-03-09 16:44:12 +01:00
ganfra
a230144431 Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-09 15:42:23 +01:00
Benoit Marty
9bdcaae0cf Create allFeatureApis extension and rename allFeatures to allFeaturesImpl 2023-03-09 14:52:40 +01:00
Jorge Martin Espinosa
ff5694239c Address design comments on the change server screen (#196)
* Address design comments on the change server screen

* Update screenshots

* Address review comments.
2023-03-09 13:51:44 +00:00
Florian Renaud
2e06326ce7 Update screenshot tests 2023-03-08 15:50:38 +01:00
Benoit Marty
fc1952bf9e New name pattern for screenshot test reference after upgrading com.google.testparameterinjector:test-parameter-injector to v1.10 2023-03-08 15:28:03 +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
Jorge Martin Espinosa
f300842a87 CI: make sure Paparazzi test failures stop the test flow (#117)
* Run Paparazzi tests just once when koverMergedReport is used.
* Make sure a Paparazzi failure breaks the test flow and blocks merging.
* Change ./gradlew check call in quality.yml to custom runQualityChecks task.
2023-03-02 09:15:47 +01:00
Benoit Marty
35eb0174b7 Create RoomListStateProvider 2023-02-16 11:15:07 +01:00
Benoit Marty
2dae6b6d7b Add test for HtmlDocument. 2023-02-15 15:20:12 +01:00
Benoit Marty
bdae51f252 Improve BubbleStateProvider (and this removes duplicated values!) 2023-02-15 15:20:05 +01:00
Benoit Marty
6a534e7536 Improve preview for OutlinedTextField and TextField 2023-02-15 12:57:08 +01:00
Benoit Marty
1505951d31 Update screenshot test reference 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
6bb01d640f Make @Preview internal.
And exclude class generated by Showkase
2023-02-14 17:03:02 +01:00
Benoit Marty
b439109d05 Enable Showkase for matrixui 2023-02-14 17:03:02 +01:00
Benoit Marty
700204df69 Add preview for RoomListTopBar 2023-02-14 17:03:02 +01:00
Benoit Marty
fe44c8906d Add some Preview 2023-02-14 17:03:02 +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
d7e62f4ae3 Update Screenshot test reference. 2023-02-03 13:12:11 +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
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
e4cc733f4a First draft of full custom theme.
ElementTheme everywhere

Create ElementButton
2023-02-03 12:55:36 +01:00
ganfra
e616d75d9d Rename all features modules 2023-01-20 18:35:03 +01:00
ganfra
0c6cd35b69 Rename tests/uitest modules 2023-01-20 17:51:52 +01:00
ganfra
a2f0c64921 Rename designsystem module 2023-01-20 17:09:12 +01:00
Benoit Marty
ce0f0fdb6e Update screenshot after paparazzi version upgrade to 1.2.0 (and remove o 2023-01-19 10:19:43 +01:00
Benoit Marty
1a847f5d67 Add images for screenshot test. 2023-01-18 15:49:57 +01:00
Benoit Marty
8ac154ed12 Rename folder to kotlin 2023-01-18 15:49:57 +01:00
Benoit Marty
bfb8f4bba2 Cleanup 2023-01-18 15:49:57 +01:00
Benoit Marty
2b9fb78f14 Update preview 2023-01-18 15:49:57 +01:00
Benoit Marty
54aa496247 Ktlint 2023-01-18 15:49:57 +01:00
Benoit Marty
b1bd793736 Add missing licence 2023-01-18 15:49:57 +01:00
Benoit Marty
0b6b1eeeef Add screenshots 2023-01-18 15:49:57 +01:00
Benoit Marty
809ad978eb Paparazzi: Apply fix from https://github.com/chrisbanes/paparazzi/pull/2 2023-01-18 15:49:57 +01:00
Benoit Marty
1336e2ab79 Change name of test 2023-01-18 15:49:57 +01:00
Benoit Marty
e9d8d1a7fa Fix some Previews 2023-01-18 15:49:57 +01:00
Benoit Marty
fd32ef7781 1.1.0 2023-01-18 15:20:45 +01:00