Chris Smith
ee909fcbd8
Show badges for new invites ( #355 )
...
Show badges for new invites
Closes #238
2023-05-04 15:30:55 +00:00
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").
2023-05-03 16:30:19 +00:00
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.
2023-04-25 18:01:54 +02:00
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`.
2023-04-25 11:35:36 +00:00
bmarty
860777d20c
Sync Strings from Localazy
2023-04-24 00:09:54 +00:00
ganfra
c168573af3
Avoid crash on placeholder RoomSummary
2023-04-19 18:24:36 +02:00
Chris Smith
88360802af
Merge pull request #297 from csmith/102-show-invites-list
...
Feat: show invites list
2023-04-19 12:40:29 +01:00
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
2023-04-19 10:20:48 +01:00
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`.
2023-04-18 16:17:13 +00:00
Jorge Martin Espinosa
d391275420
[Room List] Show offline indicator when the device is offline ( #239 )
...
* Implement the network status indicator.
* Add `networkmonitor` feature.
2023-04-17 17:01:16 +02:00
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>
2023-04-17 08:49:52 +00:00
ganfra
478de7ee64
One more clean
2023-04-14 17:22:03 +02:00
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