Commit Graph

154 Commits

Author SHA1 Message Date
ganfra
fae051ef82 Merge branch 'develop' into feature/fga/pin_settings 2023-10-26 11:13:52 +02:00
David Langley
241056b892 Unit and Snapshot tests for error and loading states. 2023-10-24 21:39:53 +01:00
David Langley
e388ea21b6 Merge branch 'develop' into dla/feature/custom_room_notification_settings_list 2023-10-24 17:20:15 +01:00
David Langley
d69a1760a8 Merge branch 'dla/feature/custom_room_notification_settings_list' of https://github.com/vector-im/element-x-android into dla/feature/room_notification_settings_ui_update 2023-10-24 16:36:27 +01:00
David Langley
7bad558f16 Remove debugging code. 2023-10-24 16:34:47 +01:00
David Langley
39af4d5e1b Address comments
- Add additional states to preview.
- Add TODO description for commented code
- Move showUserDefinedSettingStyle from the node to the view for testability.
2023-10-24 16:27:26 +01:00
ganfra
afe6d5a870 Lock settings : branch the flow 2023-10-23 18:11:02 +02:00
ElementBot
46bfbc06fa Sync Strings (#1623)
* Sync Strings from Localazy

* Fix strings

* Update screenshots

---------

Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-10-23 08:20:49 +00:00
David Langley
b7ebff0e75 Add new ui for room notifications screen
- Add new ui for room notifications screen
- Fix error when changing default notification setting.
2023-10-20 21:08:44 +01:00
David Langley
ec63baa9ce Fix typo and preview 2023-10-19 16:57:35 +01:00
Jorge Martin Espinosa
5e547269e7 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
David Langley
4b43168913 Fix tests and lint 2023-10-19 16:17:57 +01:00
David Langley
af4a1d3fd6 Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/custom_room_notification_settings_list 2023-10-18 22:07:14 +01:00
David Langley
72e7d92571 Add tests 2023-10-17 16:08:35 +01:00
David Langley
b634db1772 List user define room notification settings
- List user define room notification settings
- Add new user defined style of the room notification settings view
- Add navigation to expose room notification settings ui to the global settings
- Add Progress indicators
- Improve error handing
2023-10-17 16:08:08 +01:00
bmarty
379139a88f Sync Strings from Localazy 2023-10-16 00:09:47 +00:00
Benoit Marty
427aae9fc1 Merge pull request #1526 from vector-im/feature/bma/konsist
Konsist
2023-10-11 16:40:22 +02:00
Benoit Marty
0405683713 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
308a0c0f57 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
6f49e670fb Remove not used dependencies to some accompanist libraries. 2023-10-10 13:48:10 +02:00
bmarty
561aca7d82 Sync Strings from Localazy 2023-10-09 00:09:28 +00:00
bmarty
cd0a0f7c9a Sync Strings from Localazy 2023-10-02 00:09:47 +00:00
Benoit Marty
f65e5b6802 Update string (from Localazy) 2023-09-29 09:02:10 +02:00
Benoit Marty
7190ffa3e0 Add strings for advanced settings into Localazy. 2023-09-28 17:09:08 +02:00
bmarty
e9a7c7bbaf Sync Strings from Localazy 2023-09-25 00:09:17 +00:00
David Langley
a9d87da1ff Add roomsWithUserDefinedRules data and render list
- get roomsWithUserDefinedRules from rust
- add to state in the presenter
- render in the edit defaults view as a list
2023-09-22 16:16:52 +01:00
bmarty
4077c5c834 Sync Strings from Localazy 2023-09-21 15:51:21 +00:00
Benoit Marty
5119ca33dd 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
74fc9ad905 Rename Event for clarity 2023-09-21 15:33:03 +02:00
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
b49a4a058d Cleanup 2023-09-21 12:18:41 +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
d2ca528679 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
76d448e34b 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
d6ea21da22 Migrate other icons to compound icons. 2023-09-20 16:44:59 +02:00
Benoit Marty
4d7cad592c Merge pull request #1372 from vector-im/feature/bma/dayNightPreview
Day night preview annotation
2023-09-19 14:04:49 +02:00
jonnyandrew
d291622eea [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
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
1bbfad4a8f Fix the test. 2023-09-15 19:24:43 +02:00
Benoit Marty
574e6199fe Cleanup and compact code. Also prefer usage of DayNightPreview. 2023-09-15 18:21:29 +02:00
Jorge Martín
19caf2e7a7 Create tests 2023-09-15 17:26:39 +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
Jorge Martín
fa277f062f Add preference screen for user profile 2023-09-15 12:16:47 +02:00
Benoit Marty
d85e7e14c4 Merge branch 'develop' into feature/bma/advancedSettings 2023-09-14 20:13:26 +02:00