Commit Graph

187 Commits

Author SHA1 Message Date
ganfra
b2c68d555a [Architecture] introduce nodeBuilder concept 2023-03-07 20:31:16 +01:00
ganfra
4cff199446 Fix warning 2023-03-07 12:14:15 +01:00
ganfra
9d91fb06cc Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-07 12:10:20 +01:00
ganfra
5b16f8c4b0 [Architecture] : create appnav module so we can use only api feature modules 2023-03-06 20:30:48 +01:00
Benoit Marty
a66312d9e2 Split module session-storage into api and impl. 2023-03-06 13:10:27 +01:00
Benoit Marty
0037da4ce5 Split module dateformatter into api, impl and test. 2023-03-06 11:58:11 +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
b9febcd8d7 [Architecture] experiments to remove DI graph managements from navigation flow nodes 2023-03-04 14:14:47 +01:00
ganfra
43b304e523 Try splitting messages into api and impl modules 2023-03-03 14:38:05 +01:00
ganfra
bc14afe05d [Architecture]: use FeatureEntryPoint on Messages feature 2023-03-02 18:16:17 +01:00
ganfra
c581f0b383 [Architecture] introduce BackstackNode 2023-03-02 17:55:26 +01:00
Benoit Marty
8faca4fdac Move class of matrix.api module to api sub package. 2023-03-02 17:32:47 +01:00
Benoit Marty
0b5abc7a73 Move module matrixtest to matrix.test 2023-03-02 17:19:58 +01:00
Benoit Marty
fbdc1a477a Split module matrix to matrix.api with interfaces and data classes and matrix.impl with Rust implementation. 2023-03-02 17:12:13 +01:00
Jorge Martin Espinosa
c20013243b Store session data in a secure way (#98)
* Replace SessionData DataStore with an encrypted SQLite DB.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-03-02 16:48:54 +01:00
ganfra
15ed58b756 [Architecture] use FeatureEntryPoint on Preferences 2023-03-02 15:59:25 +01:00
ganfra
da92113e43 [Architecture] Introduce EntryPoint and use createNode for ParentNode too 2023-03-02 12:33:18 +01:00
Benoit Marty
1ec629c304 Merge pull request #92 from vector-im/feature/bma/pr_improvement
Configure Diawi and split APK
2023-03-02 11:44:34 +01:00
Benoit Marty
d617a9a3dc Split APK per ABI 2023-03-01 10:26:05 +01:00
ganfra
a23ecfca1b Merge branch 'develop' into feature/fga/update_rust_sdk and allow using 'libs' from precompiled script 2023-02-27 14:14:49 +01:00
ganfra
8d4d8e96bd Merge develop into feature/fga/update_rust_sdk 2023-02-24 11:14:36 +01:00
Benoit Marty
1e01f3d043 Also upgrade com.android.tools:desugar_jdk_libs (was waiting for AGP upgrade) 2023-02-17 14:00:34 +01:00
Benoit Marty
cec8c4644c Upgrade AGP, and some other plugins. 2023-02-17 12:28:03 +01:00
ganfra
31eb01a7c2 Merge branch 'develop' into feature/fga/update_rust_sdk 2023-02-14 21:15:28 +01:00
ganfra
d4146891d9 Create sample app for checking stuff quickly 2023-02-14 20:57:11 +01:00
Benoit Marty
e40735e0e0 Remove duplicated ShowkaseButton and fix colors. 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
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
e1b9d1da02 PreviewParameterProvider FTW 2023-02-14 17:03:02 +01:00
Benoit Marty
2a04cd3983 Create RootStatePreviewParameter 2023-02-14 17:03:02 +01:00
Benoit Marty
395d432220 Add some Preview 2023-02-14 17:03:02 +01:00
Benoit Marty
2a0f636250 Remove dead code 2023-02-14 17:03:02 +01:00
Benoit Marty
6169323043 Move test data to TestData.kt 2023-02-09 18:41:58 +01:00
Benoit Marty
23f206f7f2 Add test for RootPresenter 2023-02-09 12:30:53 +01:00
Benoit Marty
310a8ca8e3 Fix dependency issue. 2023-02-09 12:04:31 +01:00
Benoit Marty
e2de9d0410 Less verbose provider. 2023-02-09 10:43:37 +01:00
Benoit Marty
a2b02fbf9d Convert BugReporter to an interface for testing purpose.
Cannot use `@ContributesBinding(AppScope::class)`, so provide the implementation in AppModule.
2023-02-08 17:19:28 +01:00
Benoit Marty
4e25e97976 Convert Rageshake to an interface for testing purpose. 2023-02-08 14:44:00 +01:00
Benoit Marty
dfeb9d8c7f Create FakeLastMessageFormatter 2023-02-07 10:36:29 +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
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
8f551fbe03 Optimize import 2023-02-03 12:56:53 +01:00
Benoit Marty
10763dcecc Remove bad usage of ElementSurface 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
6e4edc8289 First draft of full custom theme.
ElementTheme everywhere

Create ElementButton
2023-02-03 12:55:36 +01:00
Benoit Marty
95b8cb6c03 Merge pull request #66 from vector-im/feature/bma/sonar
Sonar / Kover / Codecov
2023-02-02 11:33:12 +01:00
ganfra
6bbd5bdc3d Merge branch 'develop' into feature/fga/fix_restoration 2023-02-01 16:05:05 +01:00
ganfra
82c9a71774 Add uiMode to configChanges as it's handled by compose 2023-02-01 15:56:30 +01:00
ganfra
bfb508ba1d Remove PresenterConnector and molecule runtime in feature modules, directly call Presenter.present method 2023-02-01 15:56:07 +01:00