Commit Graph

161 Commits

Author SHA1 Message Date
Benoit Marty
581ec6a1af Use presenter factory 2023-04-05 16:31:09 +02:00
Benoit Marty
b911229f53 Create noop version for the minimal sample and test. 2023-04-05 16:27:17 +02:00
Benoit Marty
500d4801a7 Add permission modules 2023-04-05 16:25:27 +02:00
Jorge Martin Espinosa
9064481b4c [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
45cea6cc3b Invoke ./tools/localazy/downloadStrings.sh --all 2023-04-05 11:11:47 +02:00
Benoit Marty
c774f7529e [Strings] Use strings from localazy. 2023-03-27 14:44:24 +02:00
Benoit Marty
d449ede86d [Strings] Sync the strings. 2023-03-27 14:36:46 +02:00
Jorge Martin Espinosa
0c0b3d0aa6 [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
d9183e4092 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
9639d62bb3 Add Session Verification flow (#197) 2023-03-17 10:07:19 +01:00
ganfra
bdf754c26b [MatrixSDK] makes sure to release FFI objects from RustMatrixClient 2023-03-09 19:58:17 +01:00
ganfra
ed2706f7ef Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-09 12:00:34 +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
Maxime NATUREL
bb312041ea Use correct color for FAB button 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
7fbab8939b Add empty create room fab button 2023-03-08 15:46:45 +01:00
ganfra
b2c68d555a [Architecture] introduce nodeBuilder concept 2023-03-07 20:31:16 +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
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
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
15ed58b756 [Architecture] use FeatureEntryPoint on Preferences 2023-03-02 15:59:25 +01:00
ganfra
da92113e43 [Architecture] Introduce EntryPoint and use createNode for ParentNode too 2023-03-02 12:33:18 +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
3851653d39 Add some previews. 2023-02-14 17:03:02 +01:00
Benoit Marty
41e63173b3 Make @Preview internal.
And exclude class generated by Showkase
2023-02-14 17:03:02 +01:00
Benoit Marty
ec687edc2d Extract Provider (and rename them) to their own file and move fixture(s) there. 2023-02-14 17:03:02 +01:00
Benoit Marty
f04f2dad9e Give the id to AvatarData to be able to compute initial properly. 2023-02-14 17:03:02 +01:00
Benoit Marty
3e4a61a3a5 Add preview for RoomListTopBar 2023-02-14 17:03:02 +01:00
Benoit Marty
395d432220 Add some Preview 2023-02-14 17:03:02 +01:00
Benoit Marty
dae699b81f Naming convention. View / Content 2023-02-14 17:03:02 +01:00
Benoit Marty
6169323043 Move test data to TestData.kt 2023-02-09 18:41:58 +01:00
Benoit Marty
a0e56426c4 Cleanup and centralize test data. 2023-02-09 17:44:20 +01:00
Benoit Marty
2a425fc94c Cleanup 2023-02-09 09:52:34 +01:00
Benoit Marty
8ed858351b Add test for MessageComposerPresenter 2023-02-08 09:56:55 +01:00
Benoit Marty
8b599a6549 Rename class. 2023-02-07 10:36:29 +01:00
Benoit Marty
dfeb9d8c7f Create FakeLastMessageFormatter 2023-02-07 10:36:29 +01:00
Benoit Marty
674a813f3b Create module dateformatter 2023-02-07 10:36:29 +01:00
Benoit Marty
2516d0cae7 Add test about visible range 2023-02-07 10:36:29 +01:00
Benoit Marty
0082019b1c Test room filtering. 2023-02-07 10:36:29 +01:00
Benoit Marty
32dd9adda7 Enable testFixtures - but not supported by AGP yet, so put files in module matrixtest 2023-02-07 10:36:29 +01:00
Benoit Marty
e41e6b9205 Fix bug. n+1 items were created. 2023-02-07 10:36:29 +01:00
Benoit Marty
b0b38598c6 Test filter effect. 2023-02-07 10:36:29 +01:00
Benoit Marty
d6afb97aac Fix first test. 2023-02-07 10:36:29 +01:00