Commit Graph

186 Commits

Author SHA1 Message Date
Benoit Marty
e130722b13 Test that permission is requested, instead of giving the permission directly. 2023-09-21 15:00:47 +02:00
Benoit Marty
ffcac2a0da Move open system setting to the PermissionsPresenter 2023-09-21 14:20:41 +02:00
Benoit Marty
9b72992d51 Create FakePermissionsPresenterFactory, to reduce boilerplate. 2023-09-21 12:54:15 +02:00
Benoit Marty
f91ca07a5e Resume action once persmission has been granted. 2023-09-21 12:16:30 +02:00
Benoit Marty
378d3ff9ab Open app settings from the permission dialog. 2023-09-21 11:37:59 +02:00
Benoit Marty
676b2cc66b Rename Event for clarity 2023-09-21 11:29:29 +02:00
Benoit Marty
da61b8970a Request Camera permission before launching the external Camera app (#1395) 2023-09-21 10:54:02 +02:00
Benoit Marty
426bb5b622 Remove unused resource, and use compound icons when possible. 2023-09-20 16:45:38 +02:00
Benoit Marty
d6ea21da22 Migrate other icons to compound icons. 2023-09-20 16:44:59 +02:00
Benoit Marty
e326e49e4c Use DayNightPreview 2023-09-19 11:49:12 +02:00
Benoit Marty
d3d9367feb Localazy sync 2023-09-18 16:42:35 +02:00
Benoit Marty
7bdfd2905c Merge pull request #1351 from vector-im/feature/jme/1302-allow-users-to-change-their-avatars
Add preference screen for user profile
2023-09-18 10:58:42 +02:00
bmarty
6e5e538724 Sync Strings from Localazy 2023-09-18 00:09:19 +00:00
Benoit Marty
574e6199fe Cleanup and compact code. Also prefer usage of DayNightPreview. 2023-09-15 18:21:29 +02:00
Jorge Martín
41e614310f Changes:
- Improve UI to match designs.
- Extract `EditableAvatarView` component.
- Create `LabelledOutlinedTextField`.
- Get strings from Localazy.
2023-09-15 14:04:21 +02:00
ganfra
455d39c629 Sync Strings from Localazy 2023-09-14 14:38:49 +00:00
David Langley
cf3fd06c7e Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-13 21:15:03 +01:00
Marco Romano
b860bd30bd GRemove the @JvmField annotation whenever using WarmUpRule. 2023-09-13 15:19:26 +02:00
David Langley
ccd684ea40 Add tests, mocks and lint 2023-09-13 12:44:22 +01:00
David Langley
7d95feadc1 Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-12 16:30:36 +01:00
David Langley
2f6f28bfbb Implement Notification Settings
- Add UI and logic to inform the user of mismatched notification settings and help them correct it.
- Display a warning when the system notification settings are disabled and a link out to the app settings.
- A toggle to disable notifications for the device
- A screen for editing the group and direct chat notification defaults.
- A toggle for switching on/off atRoom and call notifications.
2023-09-12 01:11:13 +01:00
Yoan Pintas
4a870fc4a5 Add room notification settings (#807)
* Add room notification settings

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: David Langley <langley.dave@gmail.com>
2023-09-07 10:24:34 +02:00
Benoit Marty
31e14aa59d Make links in room topic clickable (#612) 2023-09-06 15:25:40 +02:00
jonnyandrew
301e49c3a3 Reduce test flakiness by warming up molecule tests (#1226) 2023-09-06 10:08:21 +00:00
jmartinesp
c3b883623c Sync Strings from Localazy 2023-09-05 06:37:36 +00:00
David Langley
d3d4eedb1a Merge branch 'develop' of https://github.com/vector-im/element-x-android into yostyle/notifications_global_settings 2023-08-30 15:02:59 +01:00
Benoit Marty
1a6376e723 Merge branch 'develop' into feature/bma/dataObject 2023-08-28 10:56:02 +02:00
Benoit Marty
cd558bc09f Import strings with Localazy. 2023-08-25 12:15:06 +02:00
Jorge Martín
b0d0c2e5d2 Try to fix tests 2023-08-24 15:58:23 +02:00
Jorge Martín
9fdeb81e50 Fix lint issues 2023-08-24 15:58:23 +02:00
Jorge Martín
675b3ab383 Add debouncing to observeNotificationSettings.
This should conceal a bit the issue with notification settings 'flashing' when we receive an update.
2023-08-24 15:58:23 +02:00
yostyle
e59d37fc0d Fix tests 2023-08-24 15:58:23 +02:00
yostyle
a78f3430e2 Fix PR comments 2023-08-24 15:58:23 +02:00
yostyle
122d5e4239 Update notification settings service interface to match rust SDK 2023-08-24 15:58:22 +02:00
yostyle
ba06c15809 Update strings 2023-08-24 15:58:22 +02:00
yostyle
eea849d74c Add feature flag 2023-08-24 15:58:22 +02:00
yostyle
28291b99fe Fix PR comments 2023-08-24 15:58:22 +02:00
yostyle
4ce6f3d4ad Update strings 2023-08-24 15:58:22 +02:00
yostyle
36926f6f0b Update room details tests 2023-08-24 15:58:22 +02:00
yostyle
9c3006a273 Update strings 2023-08-24 15:58:22 +02:00
yostyle
6895f8bcae Fix edition 2023-08-24 15:58:21 +02:00
yostyle
bfb6bd9d08 Rebase on develop 2023-08-24 15:58:21 +02:00
yostyle
3e8a536c0d Update unit tests 2023-08-24 15:58:21 +02:00
yostyle
ad6f772a62 Rebase on develop 2023-08-24 15:58:21 +02:00
yostyle
d930f4130e Add room notification settings 2023-08-24 15:58:21 +02:00
Benoit Marty
52853101d9 migrate object to data object (#1135) 2023-08-24 09:32:44 +02:00
Benoit Marty
69486c60dd Merge pull request #1001 from vector-im/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.2.1
2023-08-17 17:48:52 +02:00
Benoit Marty
4426fcd567 Merge pull request #1057 from vector-im/sync-localazy
Sync Strings
2023-08-17 17:46:35 +02:00
Jorge Martin Espinosa
e3cfbc113b Upgrade compose-material3 to 1.2.0-alpha05 version (#1011)
Co-authored-by: ElementBot <benoitm+elementbot@element.io>

Also upgrade compileSdk to 34.
2023-08-17 14:20:54 +02:00
Benoit Marty
eb4c2fba77 Fix issue detected by detekt 2023-08-16 15:24:18 +02:00