Commit Graph

386 Commits

Author SHA1 Message Date
ganfra
184a68b637 [Architecture] split createroom feature module 2023-03-09 12:31:30 +01:00
ganfra
ed2706f7ef Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-09 12:00:34 +01:00
ganfra
335b99b567 [Architecture] remove unused drawable file 2023-03-09 11:40:07 +01:00
ganfra
cf74fadb19 [Architecture] Fix unittest compilation 2023-03-09 11:25:46 +01:00
ganfra
c5c39dc40a [Architecture] fix compile and rename LoginRootScreen -> LoginRootView 2023-03-09 10:37:17 +01:00
ganfra
a19917da80 Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-09 10:27:00 +01:00
ganfra
b07e0e62b1 [Architecture] clean and makes compile 2023-03-09 10:18:25 +01:00
ganfra
7051bfc14e [Architecture] split all feature modules to api/impl 2023-03-08 16:13:45 +01:00
Florian Renaud
9a5455e264 Move button actions to view events 2023-03-08 15:47:18 +01:00
Florian Renaud
c662b221c9 Rework create room action buttons and remove custom TextIconButton 2023-03-08 15:46:48 +01:00
Florian Renaud
b81f91b563 Use material icons while design system is not ready 2023-03-08 15:46:48 +01:00
Florian Renaud
a7b6d36fae Make CreateRoomSearchBar stateless 2023-03-08 15:46:48 +01:00
Maxime NATUREL
f43ab8434b Adding missing padding top 2023-03-08 15:46:47 +01:00
Maxime NATUREL
eb93b8783f TextIconButton component 2023-03-08 15:46:47 +01:00
Maxime NATUREL
7f45361381 Wrapper for TextButton 2023-03-08 15:46:47 +01:00
Maxime NATUREL
29888350d4 Moving back button into button package 2023-03-08 15:46:47 +01:00
Florian Renaud
a3d0ebc170 Fix icon color on dark theme 2023-03-08 15:46:47 +01:00
Florian Renaud
c708fcdf66 Improve buttons rendering 2023-03-08 15:46:47 +01:00
Maxime NATUREL
5f8ed2649b Fix code formatting 2023-03-08 15:46:47 +01:00
Maxime NATUREL
a6ae25c5a1 Hiding the buttons when the search is active 2023-03-08 15:46:47 +01:00
Maxime NATUREL
aa2b4919da Add buttons to create and invite 2023-03-08 15:46:47 +01:00
Maxime NATUREL
34d0636331 Fix using matrix.api module 2023-03-08 15:46:46 +01:00
Maxime NATUREL
db83f4bf6d Fix duplicated strings and use back button 2023-03-08 15:46:46 +01:00
Maxime NATUREL
7f0590b304 Fix matrix test dependency 2023-03-08 15:46:46 +01:00
Florian Renaud
ed46d42489 Update SearchBar by using the DockedSearchBar from material3 2023-03-08 15:46:46 +01:00
Maxime NATUREL
70acc9b2da Search bar 2023-03-08 15:46:46 +01:00
Maxime NATUREL
bcaf71a917 Rename top bar to CreateRoomRootViewTopBar 2023-03-08 15:46:46 +01:00
Maxime NATUREL
1827faec9c Remove displayCutoutPadding 2023-03-08 15:46:46 +01:00
Maxime NATUREL
550bad9376 Navigate up on close 2023-03-08 15:46:46 +01:00
Maxime NATUREL
14a385e577 Top app bar for the start chat screen 2023-03-08 15:46:46 +01:00
Maxime NATUREL
bb312041ea Use correct color for FAB button 2023-03-08 15:46:45 +01:00
Florian Renaud
00a19107ce Update create room screen 2023-03-08 15:46:45 +01:00
Florian Renaud
5832110a25 Remove useless comment 2023-03-08 15:46:45 +01:00
Florian Renaud
d11c18d6b6 Customize create room floating button 2023-03-08 15:46:45 +01:00
Florian Renaud
e8a4365b05 Rename parent node to flow node 2023-03-08 15:46:45 +01:00
Florian Renaud
7fbab8939b Add empty create room fab button 2023-03-08 15:46:45 +01:00
Florian Renaud
c135d2a13c Create root node 2023-03-08 15:46:45 +01:00
Florian Renaud
0e4bde644d Init create room module 2023-03-08 15:46:45 +01:00
Jorge Martin Espinosa
0c8d8b62f8 Clear focus when submitting forms to prevent issues with the IME keyboard. (#139) 2023-03-08 15:30:40 +01:00
ganfra
b2c68d555a [Architecture] introduce nodeBuilder concept 2023-03-07 20:31:16 +01: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
ganfra
9d91fb06cc Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-07 12:10:20 +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
2907189b61 [Architecture] move back java file to the java directory 2023-03-03 18:14:45 +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
d1cbd907e7 [Architecture] clean up 2023-03-02 18:06:31 +01:00
Benoit Marty
87464b9622 Remove the line about testFixtures, this is not supported yet. 2023-03-02 18:03:05 +01:00
ganfra
c581f0b383 [Architecture] introduce BackstackNode 2023-03-02 17:55:26 +01:00