Commit Graph

573 Commits

Author SHA1 Message Date
Chris Smith
ae97a034e5 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
7c8524d3c1 Avoid crash on placeholder RoomSummary 2023-04-19 18:24:36 +02:00
Jorge Martin Espinosa
e651d2f9c5 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
9a54bc9168 Merge pull request #297 from csmith/102-show-invites-list
Feat: show invites list
2023-04-19 12:40:29 +01:00
Chris Smith
e90211b5d8 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
e704870e3f 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
f98fe8e52c Merge pull request #334 from vector-im/feature/fga/feature_flag
Feature/fga/feature flag
2023-04-18 15:24:04 +02:00
ganfra
82c9ee9982 [FeatureFlag] add more tests 2023-04-18 12:05:29 +02:00
ganfra
279185b175 FeatureFlag: first implementation 2023-04-17 19:44:29 +02:00
Jorge Martin Espinosa
aa12feb4d4 [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
798bedcaed [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
1a2007bfc2 Cleanup 2023-04-17 14:37:26 +02:00
Jorge Martin Espinosa
afd58f1634 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
c2927140a6 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
76245f5b6b Revert "move instruction"
This reverts commit 197972cb61.
2023-04-14 17:27:47 +02:00
ganfra
077a0ceec0 One more clean 2023-04-14 17:22:03 +02:00
ganfra
7e25371bf2 Merge branch 'develop' into feature/fga/clean_up 2023-04-14 17:15:40 +02:00
Florian Renaud
197972cb61 move instruction 2023-04-14 16:49:11 +02:00
Florian Renaud
064d4a9a7c Rename callbacks for clarity and consistency 2023-04-14 16:46:45 +02:00
Florian Renaud
5c74920a33 Add tests on create action 2023-04-14 16:26:14 +02:00
ganfra
a166636060 Add some tests on RoomFlowNode 2023-04-14 15:34:41 +02:00
Florian Renaud
04ad36641d Handle create room action 2023-04-14 14:57:25 +02:00
Florian Renaud
d10e8b8f52 Add missing test 2023-04-14 14:54:38 +02:00
Florian Renaud
d8fd19a324 Fix privacy item binding 2023-04-14 14:05:07 +02:00
Florian Renaud
b88c1f35a7 update ConfigureRoomPresenter unit tests 2023-04-14 09:17:44 +02:00
Florian Renaud
490ed7ef98 Fix unit test 2023-04-14 00:22:55 +02:00
Florian Renaud
6e0730a02a Merge remote-tracking branch 'origin/develop' into feature/fre/create_room_flow_persist_data 2023-04-13 23:45:33 +02:00
Florian Renaud
7d5b53b534 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
a3bb817d1f Check if user is not already selected 2023-04-13 23:37:42 +02:00
Florian Renaud
5979421f48 rename state provider 2023-04-13 23:32:27 +02:00
Florian Renaud
c691e2e3d3 Use immutableList 2023-04-13 23:30:33 +02:00
Florian Renaud
0e1e1bbc76 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
d5e62dfbf1 Split ConfigureRoomView into multiple files 2023-04-13 23:20:30 +02:00
Jorge Martin Espinosa
97b5fa7ea8 [Room Details] Implement member details screen (#302) 2023-04-13 16:41:57 +00:00
Florian Renaud
54b76078a8 Pass item to RoomPrivacyOption 2023-04-13 18:06:17 +02:00
Florian Renaud
878b9ccf33 Fix hardcoding privacy option 2023-04-13 17:56:18 +02:00
Florian Renaud
4337a95a39 use derived state 2023-04-13 17:49:14 +02:00
Florian Renaud
e2e641c751 Remove wildcard import 2023-04-13 16:58:53 +02:00
Florian Renaud
ea3c5618af Fix unit tests 2023-04-13 16:58:53 +02:00
Florian Renaud
f3b64e0ca5 do not reverse selected user list ordering & add autoscroll when selecting user 2023-04-13 16:19:57 +02:00
Florian Renaud
d4bc00aae4 Show toast for not implemented actions 2023-04-13 16:19:56 +02:00
Florian Renaud
9cbfa4096a Remove useless selectedUsers parameter 2023-04-13 16:19:56 +02:00
Florian Renaud
93b06116a3 Introduce ConfigureRoomFlowNode and bind CreateRoomScope to this flow 2023-04-13 16:19:56 +02:00
Florian Renaud
8de8dca653 Improve AddPeople node 2023-04-13 16:19:56 +02:00
Florian Renaud
8950428cd3 Persist selected users in data store 2023-04-13 16:19:56 +02:00
Florian Renaud
ca7e8bca0c Fix tests 2023-04-13 16:19:56 +02:00
Florian Renaud
4aad2d5ce2 Rename MatrixUserDataSource to UserListDataSource 2023-04-13 16:19:55 +02:00
Florian Renaud
5364bbd2cb Update screenshots 2023-04-13 16:19:55 +02:00
Florian Renaud
cf8e91c3cf Split user list views into multiple files 2023-04-13 16:19:55 +02:00
Florian Renaud
6b3bb17bb2 Add RemoveFromSelection event in room configuration screen 2023-04-13 16:19:55 +02:00