Commit graph

162 commits

Author SHA1 Message Date
Benoit Marty
b982d24bab Create LoggedIn presenter 2023-04-05 16:58:33 +02:00
Benoit Marty
08fa22069b Use presenter factory 2023-04-05 16:31:09 +02:00
Benoit Marty
9c6bc8d872 Create noop version for the minimal sample and test. 2023-04-05 16:27:17 +02:00
Benoit Marty
d8b37d6ead Add permission modules 2023-04-05 16:25:27 +02:00
Jorge Martin Espinosa
3aea24380a [Room Details] Leave room (#296)
* Add leave room functionality to the Room Details screen

* Add snackbar message throught `SnackbarDistpacher`
2023-04-05 15:36:41 +02:00
Benoit Marty
cca31af3f4 Invoke ./tools/localazy/downloadStrings.sh --all 2023-04-05 11:11:47 +02:00
Benoit Marty
998178b70f [Strings] Use strings from localazy. 2023-03-27 14:44:24 +02:00
Benoit Marty
0af5ee0741 [Strings] Sync the strings. 2023-03-27 14:36:46 +02:00
Jorge Martin Espinosa
7d0d076657 [Verify Session] Design fixes (#230)
* Design fixes.

* Make text in emoji items secondary color and the snackbar duration short again

* Try to make margins smaller on smaller displays

---------

Co-authored-by: Florian Renaud <florianr@element.io>
2023-03-23 14:54:44 +00:00
Jorge Martin Espinosa
ea17abebf3 Display most recent activity in room list (#220)
* Create `RoomLastMessageFormatter` to produce readable room summaries.

* Add unit tests using Robolectric, fix bugs

* Add changelog

* Move `RoomLastMessageFormatter` back to `impl` module, allow it to receive an `EventTimelineItem` instead of `MessageContent`.
2023-03-20 11:18:25 +01:00
Jorge Martin Espinosa
dcb98f06aa Add Session Verification flow (#197) 2023-03-17 10:07:19 +01:00
ganfra
7504b0fdbd [MatrixSDK] makes sure to release FFI objects from RustMatrixClient 2023-03-09 19:58:17 +01:00
ganfra
7455c4923f Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-09 12:00:34 +01:00
ganfra
86ebcc376d [Architecture] clean and makes compile 2023-03-09 10:18:25 +01:00
ganfra
bc9f3b69cc [Architecture] split all feature modules to api/impl 2023-03-08 16:13:45 +01:00
Maxime NATUREL
3b60245355 Use correct color for FAB button 2023-03-08 15:46:45 +01:00
Florian Renaud
61a4776907 Customize create room floating button 2023-03-08 15:46:45 +01:00
Florian Renaud
a8101d3b32 Add empty create room fab button 2023-03-08 15:46:45 +01:00
ganfra
84bfb14bd9 [Architecture] introduce nodeBuilder concept 2023-03-07 20:31:16 +01:00
ganfra
7f3679a15e Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-07 12:10:20 +01:00
Benoit Marty
e2bd966878 Split module dateformatter into api, impl and test. 2023-03-06 11:58:11 +01:00
Benoit Marty
387452679c Remove the line about testFixtures, this is not supported yet. 2023-03-02 18:03:05 +01:00
ganfra
91863e2529 [Architecture] introduce BackstackNode 2023-03-02 17:55:26 +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
ganfra
66922c2dfa [Architecture] use FeatureEntryPoint on Preferences 2023-03-02 15:59:25 +01:00
ganfra
5db0008116 [Architecture] Introduce EntryPoint and use createNode for ParentNode too 2023-03-02 12:33:18 +01:00
Benoit Marty
a304b92bb6 Do not use import wildcard 2023-02-16 11:58:31 +01:00
Benoit Marty
35eb0174b7 Create RoomListStateProvider 2023-02-16 11:15:07 +01:00
Benoit Marty
24984416dd Add some previews. 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
443076f636 Give the id to AvatarData to be able to compute initial properly. 2023-02-14 17:03:02 +01:00
Benoit Marty
700204df69 Add preview for RoomListTopBar 2023-02-14 17:03:02 +01:00
Benoit Marty
fe44c8906d Add some Preview 2023-02-14 17:03:02 +01:00
Benoit Marty
9edf715911 Naming convention. View / Content 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
606cd3efc3 Cleanup and centralize test data. 2023-02-09 17:44:20 +01:00
Benoit Marty
87b6162965 Cleanup 2023-02-09 09:52:34 +01:00
Benoit Marty
f736b48a92 Add test for MessageComposerPresenter 2023-02-08 09:56:55 +01:00
Benoit Marty
f02e5d606b Rename class. 2023-02-07 10:36:29 +01:00
Benoit Marty
6d8e4d9afc Create FakeLastMessageFormatter 2023-02-07 10:36:29 +01:00
Benoit Marty
ae4237abb5 Create module dateformatter 2023-02-07 10:36:29 +01:00
Benoit Marty
c3a7ab1de4 Add test about visible range 2023-02-07 10:36:29 +01:00
Benoit Marty
e4ca3541c3 Test room filtering. 2023-02-07 10:36:29 +01:00
Benoit Marty
feac348c89 Enable testFixtures - but not supported by AGP yet, so put files in module matrixtest 2023-02-07 10:36:29 +01:00
Benoit Marty
cb158acf00 Fix bug. n+1 items were created. 2023-02-07 10:36:29 +01:00
Benoit Marty
6cd9fe18f9 Test filter effect. 2023-02-07 10:36:29 +01:00