Commit graph

590 commits

Author SHA1 Message Date
ganfra
58e2c93018 Update tests and avoid useless recomposition 2023-05-02 13:04:00 +02:00
ganfra
5cd8e7c6c0 Merge branch 'develop' into feature/fga/some_room_related_fixes 2023-04-28 15:58:54 +02:00
ganfra
23a7b871f7 RoomMembers: change the API again.. 2023-04-28 15:04:33 +02:00
Jorge Martin Espinosa
eeca1c9ee3 Add PickerLauncher wrapper for media/file pickers. (#361)
* Add `PickerLauncher` wrapper for media/file pickers.

* Add FileProvider path, handle Camera picker and add NoOp implementation to fix tests.

* Move media pickers to their own module.

* Add missing media pickers

* Add feature flag and some extra tests
2023-04-28 10:52:34 +02:00
ganfra
4b9f2fdae0 Don't pass RoomMember to Node but a UserId instead 2023-04-27 22:38:52 +02:00
ganfra
64c50d4468 Ignore/Unignore: makes more sense to be at the client level than room 2023-04-27 22:13:25 +02:00
ganfra
b433725783 RoomDetailsPresenter: fix dm test 2023-04-27 17:34:27 +02:00
ganfra
40f3f2873b Merge branch 'develop' into feature/fga/some_room_related_fixes 2023-04-27 17:25:12 +02:00
Jorge Martin Espinosa
2376d32b9e [Room Details] Block & unblock user (#340) 2023-04-26 16:14:44 +02: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
ganfra
1d690fdd00 Merge develop into feature/fga/some_room_related_fixes 2023-04-24 18:13:12 +02:00
ganfra
e65adaecd1 Timeline: add ContentType instead of using introspection. 2023-04-24 10:42:27 +02:00
bmarty
860777d20c Sync Strings from Localazy 2023-04-24 00:09:54 +00:00
Chris Smith
ff5672597a Accepting and declining invites
Hook up accept and decline buttons in the invites UI. Accept
will attempt to accept and then navigate to the room; decline
shows a confirmation dialog.

Fixes #106
2023-04-21 15:01:27 +01:00
ganfra
90bfe97250 Room : continue improving members loading 2023-04-21 14:39:47 +02:00
ganfra
a1869a3019 Improve handling members 2023-04-20 18:21:47 +02:00
ganfra
5104fc8ac1 Fix bottomsheet not using right theme (BottomSheet is not part of material3) 2023-04-20 15:58:20 +02:00
ganfra
c168573af3 Avoid crash on placeholder RoomSummary 2023-04-19 18:24:36 +02:00
Jorge Martin Espinosa
30d4a63ed2 Fix: improve offline indicator designs (#341)
* Use the right font weight for the offline indicator title.

* Remove unneeded suppression in some build files.
2023-04-19 15:58:56 +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
ganfra
638b45930e Merge pull request #334 from vector-im/feature/fga/feature_flag
Feature/fga/feature flag
2023-04-18 15:24:04 +02:00
ganfra
991c7ff7f0 [FeatureFlag] add more tests 2023-04-18 12:05:29 +02:00
ganfra
a11b407038 FeatureFlag: first implementation 2023-04-17 19:44:29 +02:00
Jorge Martin Espinosa
30eb794d9c [Room details] DM designs (#313)
* Implement member details screen

* Add DM-only sections to the room details screen.
2023-04-17 16:41:10 +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
Benoit Marty
200763e15a Cleanup 2023-04-17 14:37:26 +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
Florian Renaud
13f1ca3a60 Merge pull request #324 from vector-im/feature/fre/create_room
Handle create room action
2023-04-14 17:50:29 +02:00
Florian Renaud
509299b1d2 Revert "move instruction"
This reverts commit 9c56c62548.
2023-04-14 17:27:47 +02:00
ganfra
478de7ee64 One more clean 2023-04-14 17:22:03 +02:00
ganfra
f001460a3a Merge branch 'develop' into feature/fga/clean_up 2023-04-14 17:15:40 +02:00
Florian Renaud
9c56c62548 move instruction 2023-04-14 16:49:11 +02:00
Florian Renaud
9fcbab851a Rename callbacks for clarity and consistency 2023-04-14 16:46:45 +02:00
Florian Renaud
3c9af936ab Add tests on create action 2023-04-14 16:26:14 +02:00
ganfra
776e9bd221 Add some tests on RoomFlowNode 2023-04-14 15:34:41 +02:00
Florian Renaud
81fc3406c8 Handle create room action 2023-04-14 14:57:25 +02:00
Florian Renaud
c9edd8c6cd Add missing test 2023-04-14 14:54:38 +02:00
Florian Renaud
b59fab03e1 Fix privacy item binding 2023-04-14 14:05:07 +02:00
Florian Renaud
1bc59bb9ab update ConfigureRoomPresenter unit tests 2023-04-14 09:17:44 +02:00
Florian Renaud
4c2237a63e Fix unit test 2023-04-14 00:22:55 +02:00
Florian Renaud
33bac15b44 Merge remote-tracking branch 'origin/develop' into feature/fre/create_room_flow_persist_data 2023-04-13 23:45:33 +02:00
Florian Renaud
62866965d9 Merge pull request #308 from vector-im/feature/fre/create_room_screen
Create a room screen (UI)
2023-04-13 23:40:25 +02:00
Florian Renaud
841a24a3a4 Check if user is not already selected 2023-04-13 23:37:42 +02:00
Florian Renaud
ddb49da7f3 rename state provider 2023-04-13 23:32:27 +02:00
Florian Renaud
27a6e5f9e9 Use immutableList 2023-04-13 23:30:33 +02:00
Florian Renaud
d9844e4ffa Merge branch 'feature/fre/create_room_screen' into feature/fre/create_room_flow_persist_data 2023-04-13 23:28:19 +02:00
Florian Renaud
7c3a3e225e Split ConfigureRoomView into multiple files 2023-04-13 23:20:30 +02:00