Commit graph

139 commits

Author SHA1 Message Date
Jorge Martin Espinosa
46f78ef700
Integrate Element Call with widget API (#1581)
* Integrate Element Call with widget API.

- Add `appconfig` module and extract constants that can be overridden in forks there.
- Add an Element Call feature flag, disabled by default.
- Refactor the whole `ElementCallActivity`, move most logic out of it.
- Integrate with the Rust Widget Driver API (note the Rust SDK version used in this PR lacks some needed changes to make the calls actually work).
- Handle calls differently based on `CallType`.
- Add UI to create/join a call.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-19 15:38:43 +00:00
bmarty
586a53653d Sync Strings from Localazy 2023-10-16 00:09:47 +00:00
Benoit Marty
6a2881416f
Merge pull request #1526 from vector-im/feature/bma/konsist
Konsist
2023-10-11 16:40:22 +02:00
Benoit Marty
0bc2020411 Konsist: add test Function which creates Presenter in test MUST be named 'createPresenterName', and fix existing issues 2023-10-10 17:31:04 +02:00
Benoit Marty
8929a90970 Konsist: add test to ensure filename match top level Composable View, and fix existing issue 2023-10-10 15:39:22 +02:00
Benoit Marty
632389daa9 Remove not used dependencies to some accompanist libraries. 2023-10-10 13:48:10 +02:00
bmarty
cd120b408f Sync Strings from Localazy 2023-10-09 00:09:28 +00:00
bmarty
7e3b9d8d3b Sync Strings from Localazy 2023-10-02 00:09:47 +00:00
Benoit Marty
a4e656ed1f Update string (from Localazy) 2023-09-29 09:02:10 +02:00
Benoit Marty
3971e86a64 Add strings for advanced settings into Localazy. 2023-09-28 17:09:08 +02:00
bmarty
c72bb92ef2 Sync Strings from Localazy 2023-09-25 00:09:17 +00:00
bmarty
a7ce12d91d Sync Strings from Localazy 2023-09-21 15:51:21 +00:00
Benoit Marty
0255ec6771
Merge pull request #1400 from vector-im/feature/bma/fixCrashPhoto
Fix crash when user wants to use the camera
2023-09-21 16:31:36 +02:00
Benoit Marty
d19b624c6f Rename Event for clarity 2023-09-21 15:33:03 +02:00
Benoit Marty
1b5aa7adaa Test that permission is requested, instead of giving the permission directly. 2023-09-21 15:00:47 +02:00
Benoit Marty
dd5d67d186 Move open system setting to the PermissionsPresenter 2023-09-21 14:20:41 +02:00
Benoit Marty
08b455afd3 Create FakePermissionsPresenterFactory, to reduce boilerplate. 2023-09-21 12:54:15 +02:00
Benoit Marty
292e21e5ad Cleanup 2023-09-21 12:18:41 +02:00
Benoit Marty
e4ca2484ba Resume action once persmission has been granted. 2023-09-21 12:16:30 +02:00
Benoit Marty
dcb1677bf1 Open app settings from the permission dialog. 2023-09-21 11:37:59 +02:00
Benoit Marty
f3456cafa7 Rename Event for clarity 2023-09-21 11:29:29 +02:00
Benoit Marty
31eca73e8d Request Camera permission before launching the external Camera app (#1395) 2023-09-21 10:54:02 +02:00
Benoit Marty
0e4c146e87 Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty
97f2d211ae Detekt: Rename LargeHeightPreview to PreviewWithLargeHeight to follow naming convention.
MultiPreview annotations should start with `Preview` as prefix

Detekt: Rename `LargeHeightPreview` to `PreviewWithLargeHeight` to follow naming convention.
Custom Preview annotations should start with `Preview` as prefix
2023-09-21 08:30:15 +02:00
Benoit Marty
d531e71cd8 Migrate other icons to compound icons. 2023-09-20 16:44:59 +02:00
Benoit Marty
f808dcd6ea
Merge pull request #1372 from vector-im/feature/bma/dayNightPreview
Day night preview annotation
2023-09-19 14:04:49 +02:00
jonnyandrew
ee8d27e927
[Rich text editor] Add link functionality to rich text editor (#1309)
* Add link functionality to rich text editor
* Add 'list dialog' component compound design library
* Add 'text field list item' component to compound design library
2023-09-19 11:20:07 +00:00
Benoit Marty
2819448cd4 Use DayNightPreview 2023-09-19 11:49:12 +02:00
Benoit Marty
0453ea5904 Localazy sync 2023-09-18 16:42:35 +02:00
Benoit Marty
27e567e6f4 Fix the test. 2023-09-15 19:24:43 +02:00
Benoit Marty
f7f9a78101 Cleanup and compact code. Also prefer usage of DayNightPreview. 2023-09-15 18:21:29 +02:00
Jorge Martín
98bb91cd27 Create tests 2023-09-15 17:26:39 +02:00
Jorge Martín
2ccafec564 Changes:
- Improve UI to match designs.
- Extract `EditableAvatarView` component.
- Create `LabelledOutlinedTextField`.
- Get strings from Localazy.
2023-09-15 14:04:21 +02:00
Jorge Martín
149677a2e6 Add preference screen for user profile 2023-09-15 12:16:47 +02:00
Benoit Marty
e058402a64
Merge branch 'develop' into feature/bma/advancedSettings 2023-09-14 20:13:26 +02:00
Benoit Marty
c01cc4aeb4 Move developer settings and remove extra dividers. 2023-09-14 19:48:20 +02:00
Benoit Marty
93da8d419e Add test on AdvancedSettingsPresenterTest 2023-09-14 19:48:20 +02:00
Benoit Marty
32f4141480 Fix typo in fun names. 2023-09-14 19:48:20 +02:00
Benoit Marty
2d9cdd1acf Add Advanced Settings screen in the preferences. 2023-09-14 19:46:18 +02:00
Benoit Marty
6ff9e802fc Change implementation to testImplementation on a test module. 2023-09-14 19:44:24 +02:00
Benoit Marty
b4546118f9 Account management with OIDC: split account and session management. #1303 2023-09-14 16:38:13 +02:00
David Langley
f6b6a0a1e2 Fix warning for removed call notification setting code. 2023-09-14 09:51:45 +01:00
David Langley
62dedbb320
Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui 2023-09-13 21:15:03 +01:00
David Langley
3907067b7f lint 2023-09-13 21:14:37 +01:00
David Langley
79c70d68c9 - Remove call notification toggle 2023-09-13 21:12:16 +01:00
David Langley
004abd16dc Address PR review comments.
- use util startNotificationSettingsIntent.
- add documentation.
- use remember with userPushStoreFactory for recomposition.
2023-09-13 21:03:52 +01:00
Marco Romano
7fdd83bf91 GRemove the @JvmField annotation whenever using WarmUpRule. 2023-09-13 15:19:26 +02:00
David Langley
5e8cb958f8 Enabled NotificationSettings by default, Fix spacing, use activeMemberCount for isOneToOne.
- Enabled Notification Settings by default
- Fix spacing
- Use activeMemberCount for isOneToOne
2023-09-13 14:18:28 +01:00
David Langley
ebde39055c Use CommonStirngs 2023-09-13 13:22:05 +01:00
David Langley
1260272c33 Add tests, mocks and lint 2023-09-13 12:44:22 +01:00