Jorge Martin Espinosa
fb0acc9f51
Make `ChangeServerPresenter.submit` fail as expected ( #236 )
...
* Make `ChangeServerPresenter.submit` fail as expected
* Fix tests to prevent this from ever happening again
2 years ago
Jorge Martin Espinosa
2906168baa
Handle 'invalid server' error in server selection screen properly. ( #214 )
...
* Handle 'invalid server' error in server selection screen properly.
* Use `action_learn_more` for composing the server location footer action.
2 years ago
Jorge Martin Espinosa
cd09c15df4
Fix behaviour of Enter and Tab hardware keys in TextFields ( #216 )
...
* Fix behaviour of Enter and Tab hardware keys in TextFields
* Add changelog
2 years ago
ganfra
944d4d6ba0
[Login] remove trim on password
2 years ago
ganfra
497fd635f8
[MatrixSDK] make tests passes
2 years ago
ganfra
801eecfe8d
[MatrixSDK] finish mapping timeline and makes it compile
2 years ago
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.
2 years ago
ganfra
ab5cdee031
[Architecture] fix compile and rename LoginRootScreen -> LoginRootView
2 years ago
ganfra
bc9f3b69cc
[Architecture] split all feature modules to api/impl
2 years ago
Maxime NATUREL
e5349040b2
Moving back button into button package
2 years ago
Maxime NATUREL
3efb141afc
Fix duplicated strings and use back button
2 years ago
Jorge Martin Espinosa
811cca6289
Clear focus when submitting forms to prevent issues with the IME keyboard. ( #139 )
2 years ago
ganfra
84bfb14bd9
[Architecture] introduce nodeBuilder concept
2 years ago
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
2 years ago
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.
2 years ago
ganfra
91863e2529
[Architecture] introduce BackstackNode
2 years ago
Benoit Marty
466579c4d3
Move class of `matrix.api` module to `api` sub package.
2 years ago
Benoit Marty
c2dff7888c
Move module `matrixtest` to `matrix.test`
2 years ago
Benoit Marty
b8467e547c
Split module `matrix` to `matrix.api` with interfaces and data classes and `matrix.impl` with Rust implementation.
2 years ago
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>
2 years ago
ganfra
66922c2dfa
[Architecture] use FeatureEntryPoint on Preferences
2 years ago
ganfra
a1a9ae1f28
[Architecture] use impl instead of implementation
2 years ago
ganfra
5db0008116
[Architecture] Introduce EntryPoint and use createNode for ParentNode too
2 years ago
ganfra
b86d5a67e5
Bypass error of setHomeserver
2 years ago
Benoit Marty
9234f47ce3
Move and rename VectorIcon
2 years ago
Benoit Marty
6bb01d640f
Make `@Preview` internal.
...
And exclude class generated by Showkase
2 years ago
Benoit Marty
2ea45a9ee1
Mode test for `ChangeServerView`
2 years ago
Benoit Marty
e120ca7163
Extract Provider (and rename them) to their own file and move fixture(s) there.
2 years ago
Benoit Marty
0f0c001c3c
Enforce no default value in state.
2 years ago
Benoit Marty
3142b884c5
Move test data to TestData.kt
2 years ago
Benoit Marty
606cd3efc3
Cleanup and centralize test data.
2 years ago
Benoit Marty
8fb1f2655e
Add test for `LoginRootPresenter`
2 years ago
Benoit Marty
5ca2b475cc
Add test for `ChangeServerPresenter`
2 years ago
Benoit Marty
426005f298
Fix detekt issue, optimize import, fix color of preference category title
2 years ago
Benoit Marty
bbe10382b0
ElementTheme + MaterialTheme3
2 years ago
Benoit Marty
201508678a
Rename component. No need for `Element` prefix
2 years ago
Benoit Marty
cdfc13cb15
Material3 only in designsystem.
2 years ago
Benoit Marty
2cac2b59ab
Cleanup and TODO.
2 years ago
Benoit Marty
9d32b05fbb
Rework Preview for a better rendering in the IDE.
2 years ago
Benoit Marty
e3fed8b4f5
Optimize import
2 years ago
Benoit Marty
2b7c965236
Remove bad usage of ElementSurface
2 years ago
Benoit Marty
7d85d8da30
Add ElementCircularProgressIndicator and ElementOutlinedTextField.
2 years ago
Benoit Marty
e4cc733f4a
First draft of full custom theme.
...
ElementTheme everywhere
Create ElementButton
2 years ago
ganfra
fc07ff29f5
Remove PresenterConnector and molecule runtime in feature modules, directly call Presenter.present method
2 years ago
Benoit Marty
3410b70af4
Optimize import
2 years ago
Benoit Marty
9b515a95ff
Rename function (code review)
2 years ago
ganfra
87d0191324
Change/move some gradle modules to be better separated. Let core module be a kotlin lib.
2 years ago
Benoit Marty
78cbca3193
Animation between screens
2 years ago
Benoit Marty
dd10fbe395
Naming convention and no need for a `val` for `presenter`
2 years ago
Benoit Marty
8647016e61
Use the `modifier` parameter.
2 years ago