Commit graph

178 commits

Author SHA1 Message Date
renovate[bot]
3594925931 Update plugin com.google.firebase.appdistribution to v3.2.0 2023-03-07 10:54:41 +00:00
Benoit Marty
5ea2a4292d Split module session-storage into api and impl. 2023-03-06 13:10:27 +01:00
Benoit Marty
e2bd966878 Split module dateformatter into api, impl and test. 2023-03-06 11:58:11 +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
466579c4d3 Move class of matrix.api module to api sub package. 2023-03-02 17:32:47 +01:00
Benoit Marty
c2dff7888c Move module matrixtest to matrix.test 2023-03-02 17:19:58 +01:00
Benoit Marty
b8467e547c 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
6677f80abe 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
Benoit Marty
381bd3fd3f 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
065daa4899 Split APK per ABI 2023-03-01 10:26:05 +01:00
ganfra
c729616ce6 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
22fd4ac7f0 Merge develop into feature/fga/update_rust_sdk 2023-02-24 11:14:36 +01:00
Benoit Marty
7ddf57da8b Also upgrade com.android.tools:desugar_jdk_libs (was waiting for AGP upgrade) 2023-02-17 14:00:34 +01:00
Benoit Marty
3f202f6b57 Upgrade AGP, and some other plugins. 2023-02-17 12:28:03 +01:00
ganfra
8bca19a3fa Merge branch 'develop' into feature/fga/update_rust_sdk 2023-02-14 21:15:28 +01:00
ganfra
6989994b50 Create sample app for checking stuff quickly 2023-02-14 20:57:11 +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
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
afe5499158 PreviewParameterProvider FTW 2023-02-14 17:03:02 +01:00
Benoit Marty
f6c371e533 Create RootStatePreviewParameter 2023-02-14 17:03:02 +01:00
Benoit Marty
fe44c8906d Add some Preview 2023-02-14 17:03:02 +01:00
Benoit Marty
a77479ed05 Remove dead code 2023-02-14 17:03:02 +01:00
Benoit Marty
3142b884c5 Move test data to TestData.kt 2023-02-09 18:41:58 +01:00
Benoit Marty
afbae0a15d Add test for RootPresenter 2023-02-09 12:30:53 +01:00
Benoit Marty
165697a80e Fix dependency issue. 2023-02-09 12:04:31 +01:00
Benoit Marty
987d4d6c08 Less verbose provider. 2023-02-09 10:43:37 +01:00
Benoit Marty
e2b4056493 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
ef6f1e9f2b Convert Rageshake to an interface for testing purpose. 2023-02-08 14:44:00 +01:00
Benoit Marty
6d8e4d9afc Create FakeLastMessageFormatter 2023-02-07 10:36:29 +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
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
e3fed8b4f5 Optimize import 2023-02-03 12:56:53 +01:00
Benoit Marty
2b7c965236 Remove bad usage of ElementSurface 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
e4cc733f4a First draft of full custom theme.
ElementTheme everywhere

Create ElementButton
2023-02-03 12:55:36 +01:00
Benoit Marty
a4f9354e8a Merge pull request #66 from vector-im/feature/bma/sonar
Sonar / Kover / Codecov
2023-02-02 11:33:12 +01:00
ganfra
9cf88fff5f Merge branch 'develop' into feature/fga/fix_restoration 2023-02-01 16:05:05 +01:00
ganfra
d43d433d38 Add uiMode to configChanges as it's handled by compose 2023-02-01 15:56:30 +01:00
ganfra
fc07ff29f5 Remove PresenterConnector and molecule runtime in feature modules, directly call Presenter.present method 2023-02-01 15:56:07 +01:00
Benoit Marty
b1f8c000c8 Setup Kover 2023-02-01 11:29:06 +01:00
ganfra
4b010e01df Add splash for android < 12 so app is not completely blank during process creation 2023-01-31 20:49:47 +01:00
ganfra
fa71eab85e Handle activity and process recreation for session 2023-01-31 20:49:16 +01:00
Benoit Marty
3410b70af4 Optimize import 2023-01-30 16:36:51 +01:00
Benoit Marty
94b4f6ac63 Merge pull request #58 from vector-im/feature/bma/investigation
Add animation between screens
2023-01-25 11:49:01 +01:00
Benoit Marty
9b515a95ff Rename function (code review) 2023-01-25 11:14:50 +01:00
Benoit Marty
8b3316ec23 Better to go back to onboarding. 2023-01-24 17:26:24 +01:00
Benoit Marty
78cbca3193 Animation between screens 2023-01-24 17:24:40 +01:00
Benoit Marty
dd10fbe395 Naming convention and no need for a val for presenter 2023-01-24 09:48:35 +01:00