Chris Smith
581c5ab2d2
Move and refactor MatrixUser ( #381 )
...
Move and refactor MatrixUser
Instead of living in matrixui and having an AvatarData, this can
reside in the matrix module and just have the URL. An extension
method in matrixui can then provide the AvatarData when required.
This removes some small duplication, and pushes the UI-specific
information (i.e., what size of avatar is going to be rendered)
further down the stack. It also aligns the field names with those
used by the rust SDK (e.g. "displayName" instead of "userName").
1 year ago
ganfra
58e2c93018
Update tests and avoid useless recomposition
1 year ago
ganfra
23a7b871f7
RoomMembers: change the API again..
1 year ago
ganfra
1ab96e2f34
Some clean up
1 year ago
Florian Renaud
97a40b35df
Update screenshots
1 year ago
Florian Renaud
9b9ccced81
Add fake list of matrix users
1 year ago
Florian Renaud
1c6e088d5c
Navigate from people view to configuration view
1 year ago
Florian Renaud
ac8a6f90fd
Remove default onClick from MatrixUserRow
2 years ago
Maxime NATUREL
a1fe191b64
Reuse fillMaxWidth on MatrixUserRow
2 years ago
Maxime NATUREL
ceef65316e
Using nullable onClick to avoid passing a new parameter
2 years ago
Maxime NATUREL
ddcde735fe
Present the last added user first
2 years ago
Maxime NATUREL
cee313597b
Adding checkbox in result when multi selection of users is enabled
2 years ago
Benoit Marty
771855dfe3
Let coil use our OkHttpClient.
2 years ago
Florian Renaud
d2e5e4fc45
Improve MatrixUserRow paddings
2 years ago
Florian Renaud
5a20c14524
Set avatar size value to dp
2 years ago
Florian Renaud
9e4e4b6124
Show result when searching for matrix id
2 years ago
ganfra
fb85f35525
[MatrixSDK] start mapping all the timeline objects
2 years ago
Benoit Marty
466579c4d3
Move class of `matrix.api` module to `api` sub package.
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
Benoit Marty
442fb212ae
Add some previews.
2 years ago
Benoit Marty
53c8d3ff7c
Add Preview for timeline items.
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
443076f636
Give the id to AvatarData to be able to compute initial properly.
2 years ago
Benoit Marty
b439109d05
Enable Showkase for matrixui
2 years ago
Benoit Marty
afe5499158
PreviewParameterProvider FTW
2 years ago
Benoit Marty
bbe10382b0
ElementTheme + MaterialTheme3
2 years ago
Benoit Marty
cdfc13cb15
Material3 only in designsystem.
2 years ago
Benoit Marty
9d32b05fbb
Rework Preview for a better rendering in the IDE.
2 years ago
Benoit Marty
e4cc733f4a
First draft of full custom theme.
...
ElementTheme everywhere
Create ElementButton
2 years ago
ganfra
8b4b8886a9
Clean up
2 years ago
ganfra
b8860a6658
Simplify AvatarData and avoid carrying ByteArray
2 years ago
ganfra
907d7eba75
Rename matrix modules
2 years ago
ganfra
bbbbc3495d
Rename di module
2 years ago
ganfra
a2f0c64921
Rename designsystem module
2 years ago
Benoit Marty
948d4f64f7
Do not use theme in the Preview, it breaks the screenshots building.
2 years ago
Benoit Marty
862900ed9a
Rename folders `java` to `kotlin`
2 years ago
ganfra
55d6ca566f
Apply ktlint format
2 years ago
ganfra
f95b3b5d79
Add copyright on new files
2 years ago
ganfra
7a29ce1d8d
Remove viewmodel/fragment references
2 years ago
ganfra
ec1bbdeb9c
Finish migration of Messages screen
2 years ago
ganfra
ae2534488b
Refactor where Dagger Components belongs (in node)
2 years ago
ganfra
478f516cf1
Make some data class @Immutable when needed
2 years ago
Benoit Marty
516e491af2
Clean up
2 years ago
Benoit Marty
7a3a91a51f
Improve Setting screen
2 years ago
Benoit Marty
08eb8de09b
Create a UserViewModel to avoid duplicated code.
2 years ago
Benoit Marty
d397d0741d
Create a MatrixItemHelper to avoid duplicated code.
2 years ago
Benoit Marty
d8e4880ce6
Create a MatrixUserHeader composable
2 years ago
Benoit Marty
47877c4076
Create a MatrixUserRow composable
2 years ago
Benoit Marty
c5c05e3867
Create `matrixui` module and remove dependency to `coil` in the matrix module. Move `MatrixUser` there.
2 years ago