ganfra
5176499195
Media: fix encrypted media
1 year ago
Benoit Marty
e2f4ec3cf0
Fix more warning and replace deprecated code. Also use `TextField` from our components.
1 year ago
Benoit Marty
457b83184a
Use default material3 version again and cleanup `@OptIn` annotations.
...
Material3 is now 1.1.0
1 year ago
Florian Renaud
719dd20555
Remove useless OptIn in tests
1 year ago
ganfra
4236b69705
Introduce MatrixMediaSource
2 years ago
Chris Smith
ee909fcbd8
Show badges for new invites ( #355 )
...
Show badges for new invites
Closes #238
2 years ago
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").
2 years ago
Jorge Martin Espinosa
0389f782c9
Fix: Maestro tests fail when using settings ( #358 )
...
* Fix Maestro tests using 'Settings' to open the settings screen.
* Try to allow manually running Maestro tests.
* Also adjust logout flow.
2 years ago
Jorge Martin Espinosa
0234553bca
[Room list] Search & menu improvements ( #356 )
...
* Remove settings menu item, start splitting search UI. Also, add `applyIf` and `circularReveal` modifiers.
* Split UI & logic for room list search
* Suppress `composed` warning, improve its debuggability
* Add content description to the user's avatar, fix window insets. Also, remove unused `SearchRoomListTopBar`.
2 years ago
bmarty
860777d20c
Sync Strings from Localazy
2 years ago
ganfra
c168573af3
Avoid crash on placeholder RoomSummary
2 years ago
Chris Smith
34cc352053
Invite list view
...
Adds a CTA on the room list to view invites if there are any.
The invite list presents each invite with accept/decline buttons
and (for room invites) the sender details.
Fixes #102
2 years ago
Jorge Martin Espinosa
fae3417181
Validate several ids in constructors ( #336 )
...
* Validate ids in constructors.
* Remove redundant `.value` usage in string interpolation.
* Make a distinction between `SessionId` and `UserId` in `TestData`.
2 years ago
Jorge Martin Espinosa
d391275420
[Room List] Show offline indicator when the device is offline ( #239 )
...
* Implement the network status indicator.
* Add `networkmonitor` feature.
2 years ago
Jorge Martin Espinosa
de010545fb
Update Gradle to 8.1 and AGP to v8.0 ( #329 )
...
* Update AGP to 8.0.0.
* Set JAVA_HOME to JDK17
* Update lint version.
* Use right JDK for dependency analysis, replace deprecated env var.
* Upgrade to Gradle 8.1.
* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
ganfra
478de7ee64
One more clean
2 years ago
Benoit Marty
b982d24bab
Create LoggedIn presenter
2 years ago
Benoit Marty
08fa22069b
Use presenter factory
2 years ago
Benoit Marty
9c6bc8d872
Create noop version for the minimal sample and test.
2 years ago
Benoit Marty
d8b37d6ead
Add permission modules
2 years ago
Jorge Martin Espinosa
3aea24380a
[Room Details] Leave room ( #296 )
...
* Add leave room functionality to the Room Details screen
* Add snackbar message throught `SnackbarDistpacher`
2 years ago
Benoit Marty
cca31af3f4
Invoke `./tools/localazy/downloadStrings.sh --all`
2 years ago
Benoit Marty
998178b70f
[Strings] Use strings from localazy.
2 years ago
Benoit Marty
0af5ee0741
[Strings] Sync the strings.
2 years ago
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>
2 years ago
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`.
2 years ago
Jorge Martin Espinosa
dcb98f06aa
Add Session Verification flow ( #197 )
2 years ago
ganfra
7504b0fdbd
[MatrixSDK] makes sure to release FFI objects from RustMatrixClient
2 years ago
ganfra
86ebcc376d
[Architecture] clean and makes compile
2 years ago
ganfra
bc9f3b69cc
[Architecture] split all feature modules to api/impl
2 years ago
Maxime NATUREL
3b60245355
Use correct color for FAB button
2 years ago
Florian Renaud
61a4776907
Customize create room floating button
2 years ago
Florian Renaud
a8101d3b32
Add empty create room fab button
2 years ago
ganfra
84bfb14bd9
[Architecture] introduce nodeBuilder concept
2 years ago
Benoit Marty
e2bd966878
Split module `dateformatter` into `api`, `impl` and `test`.
2 years ago
Benoit Marty
387452679c
Remove the line about testFixtures, this is not supported yet.
2 years ago
ganfra
91863e2529
[Architecture] introduce BackstackNode
2 years ago
Benoit Marty
466579c4d3
Move class of `matrix.api` module to `api` sub package.
2 years ago
Benoit Marty
c2dff7888c
Move module `matrixtest` to `matrix.test`
2 years ago
Benoit Marty
b8467e547c
Split module `matrix` to `matrix.api` with interfaces and data classes and `matrix.impl` with Rust implementation.
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
ganfra
66922c2dfa
[Architecture] use FeatureEntryPoint on Preferences
2 years ago
ganfra
5db0008116
[Architecture] Introduce EntryPoint and use createNode for ParentNode too
2 years ago
Benoit Marty
a304b92bb6
Do not use import wildcard
2 years ago
Benoit Marty
35eb0174b7
Create `RoomListStateProvider`
2 years ago
Benoit Marty
24984416dd
Add some previews.
2 years ago
Benoit Marty
6bb01d640f
Make `@Preview` internal.
...
And exclude class generated by Showkase
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
700204df69
Add preview for RoomListTopBar
2 years ago