Commit Graph

744 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
b0152059ff Room : continue improving members loading 2023-04-21 14:39:47 +02:00
ganfra
f02ee307cc Improve handling members 2023-04-20 18:21:47 +02:00
ganfra
df4c9b3cf7 Fix bottomsheet not using right theme (BottomSheet is not part of material3) 2023-04-20 15:58:20 +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
Benoit Marty
391fe9b158 Merge pull request #333 from vector-im/feature/bma/push5
Small cleanup and add log
2023-04-18 14:05:00 +02:00
Benoit Marty
f45e66b6c0 Merge pull request #330 from vector-im/feature/bma/ktlint
Upgrade of ktlint (not the plugin but the tool itself)
2023-04-18 14:03:59 +02:00
ganfra
82c9ee9982 [FeatureFlag] add more tests 2023-04-18 12:05:29 +02:00
ganfra
e5d70ff48e [BuildMeta] introduce BuildType and remove Network related code from BuildMeta 2023-04-18 11:58:24 +02:00
Benoit Marty
a0f386c708 Use ContributesMultibinding annotation and remove the module for push providers. 2023-04-18 10:12:45 +02:00
ganfra
de0428a419 [FeatureFlag] add some unittest and fix one case! 2023-04-17 20:17:32 +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
c8fcf9549b Update the Rust SDK to v0.1.9 (#318)
* Update the Rust SDK to v0.1.7.

* Try to have the same setup for the build apk job and maestro.

* Add option to run maestro manually.

* Update to v0.1.9 (0.1.7 and 0.1.8 were broken in x86_64).
2023-04-17 17:43:21 +02: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
328a6ba31a Upgrade ktlint to 0.48.2 2023-04-17 15:18:07 +02:00
Benoit Marty
a9fc545bc6 Merge pull request #326 from vector-im/feature/bma/push4
Notification update
2023-04-17 14:13:39 +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
Benoit Marty
ae7137bd1d Fix tests. 2023-04-17 09:51:52 +02:00
Benoit Marty
e8d1490a92 Small quality fixes 2023-04-17 09:42:59 +02:00
Benoit Marty
ebbd1372a9 More cleanup 2023-04-14 18:34:49 +02:00
Benoit Marty
e92fe45e3c Improve rendering of notifications 2023-04-14 18:31:35 +02:00
Benoit Marty
d7cd24b3d0 small cleanup 2023-04-14 18:19:59 +02:00
Benoit Marty
8a91d31c24 Fix issue with pendingintent data. (Simplier to use String that Serializable) 2023-04-14 18:10:55 +02:00
Benoit Marty
5f3d33ca72 Improve temporary message displayed in notifications 2023-04-14 17:52:39 +02: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
Benoit Marty
ffed09175d Create NotificationFactory 2023-04-14 17:49:47 +02:00
Benoit Marty
f4e2775d2a Extract channel management to dedicated class 2023-04-14 17:37:49 +02:00
Benoit Marty
4c10c8fdf9 Create PendingIntentFactory 2023-04-14 17:26:01 +02:00
Benoit Marty
0677b10de3 rename package 2023-04-14 17:17:52 +02:00
ganfra
7e25371bf2 Merge branch 'develop' into feature/fga/clean_up 2023-04-14 17:15:40 +02:00
Benoit Marty
a9881341f1 Create getDismissRoomPendingIntent() 2023-04-14 17:14:29 +02:00
Benoit Marty
cb8d206ed4 Extract code which create notification actions into ActionFactory and disable quick reply and mark as read actions. 2023-04-14 17:09:42 +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
219ac6578f Merge pull request #320 from vector-im/feature/fre/create_room_flow_persist_data
Persist data in create room flow
2023-04-14 15:09:04 +02:00
Florian Renaud
04ad36641d Handle create room action 2023-04-14 14:57:25 +02:00
Benoit Marty
65717364ca Cleanup 2023-04-14 10:32:20 +02:00
Benoit Marty
c84f6ea74f Merge pull request #321 from vector-im/feature/bma/push3
Handle navigation on notification click
2023-04-14 10:08:42 +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
Jorge Martin Espinosa
97b5fa7ea8 [Room Details] Implement member details screen (#302) 2023-04-13 16:41:57 +00:00
Florian Renaud
5364bbd2cb Update screenshots 2023-04-13 16:19:55 +02:00
Florian Renaud
335eb49b6c Add create room API 2023-04-13 16:19:55 +02:00
Florian Renaud
023c5f4a7e Use string resources 2023-04-13 15:49:00 +02:00
Florian Renaud
bb48f5f378 Room visibility 2023-04-13 15:44:45 +02:00