Commit Graph

354 Commits

Author SHA1 Message Date
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
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
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
Benoit Marty
87464b9622 Remove the line about testFixtures, this is not supported yet. 2023-03-02 18:03:05 +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
da7af50eb5 Add preview to new timeline items 2023-03-01 11:33:54 +01:00
ganfra
b6606577d5 Should fix CI 2023-02-28 15:19:33 +01:00
ganfra
2bbdecb6f0 Use DaySeperatorFormatter 2023-02-28 14:27:54 +01:00
ganfra
61ca79a2da Timeline test: check timeline is initialized and disposed 2023-02-28 11:25:08 +01:00
ganfra
39edc780fe Makes sure to test loadMore method on TimelinePresenter 2023-02-27 20:30:22 +01:00
ganfra
c8ec8da44f Bypass error of setHomeserver 2023-02-27 18:11:51 +01:00
ganfra
ac5015d3b3 Fix test compilation 2023-02-27 12:19:43 +01:00
ganfra
fa4c8d62cf Improve a bit timeline pagination 2023-02-24 20:34:32 +01:00
ganfra
247f6d2188 Update rust-sdk (from maven) 2023-02-24 15:05:20 +01:00
ganfra
8d4d8e96bd Merge develop into feature/fga/update_rust_sdk 2023-02-24 11:14:36 +01:00
Benoit Marty
51fd6b0fd7 Do not use import wildcard 2023-02-16 11:58:31 +01:00
Benoit Marty
9b036b7b71 Create RoomListStateProvider 2023-02-16 11:15:07 +01:00
Benoit Marty
afd7319460 Add test for HtmlDocument. 2023-02-15 15:20:12 +01:00
Benoit Marty
9ac08ed3b7 Improve BubbleStateProvider (and this removes duplicated values!) 2023-02-15 15:20:05 +01:00
Benoit Marty
f8318bbb61 Rename class. 2023-02-15 12:59:30 +01:00
ganfra
31eb01a7c2 Merge branch 'develop' into feature/fga/update_rust_sdk 2023-02-14 21:15:28 +01:00
ganfra
9526eac81c Add fetchMembers and use it when init timeline (import again rust-sdk with fix on poisoning) 2023-02-14 20:13:47 +01:00
Benoit Marty
077897a874 Test higher level. 2023-02-14 17:03:02 +01:00
Benoit Marty
196274a276 Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
0734404fec Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
0959f652a8 Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
3851653d39 Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
8cb8c2f306 Move and rename VectorIcon 2023-02-14 17:03:02 +01:00
Benoit Marty
cbbcd49bc1 Add preview for MessageEventBubble. 2023-02-14 17:03:02 +01:00
Benoit Marty
04248b4996 Create MessagesStateProvider 2023-02-14 17:03:02 +01:00