Commit Graph

4460 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
5bb8efb728 Iterate design on Settings screen (#1763)
* Iterate design on Settings screen:

- Set new icons provided by design.
- Replace `PreferenceText` usages with `ListItem`.
- Add missing icons, and a new way to group them for previews.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-08 11:31:17 +01:00
Jorge Martin Espinosa
bf4ce9f05a Lower max RAM usage for gradle to avoid CI issues (#1766) 2023-11-08 09:45:55 +00:00
Benoit Marty
aae6d1e07a Merge pull request #1760 from vector-im/renovate/org.maplibre.gl-android-plugin-annotation-v9-2.x
Update dependency org.maplibre.gl:android-plugin-annotation-v9 to v2.0.2
2023-11-08 10:16:11 +01:00
Marco Romano
d1a9d5e377 Voice messages: Don't crash if mxc uri is invalid (#1756)
<!-- Please read [CONTRIBUTING.md](https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md) before submitting your pull request -->
 
## Type of change

- [ ] Feature
- [x] Bugfix
- [ ] Technical
- [ ] Other :

## Content

Code now checks whether the mx uri is invalid and handles the error condition properly.

## Motivation and context

https://github.com/vector-im/element-x-android/pull/1748#discussion_r1384557443

## Screenshots / GIFs

<!--
We have screenshot tests in the project, so attaching screenshots to a PR is not mandatory, as far as there
is a Composable Preview covering the changes. In this case, the change will appear in the file diff.
Note that all the UI composables should be covered by a Composable Preview.

Providing a video of the change is still very useful for the reviewer and for the history of the project.

You can use a table like this to show screenshots comparison.
Uncomment this markdown table below and edit the last line `|||`:
|copy screenshot of before here|copy screenshot of after here|

|Before|After|
|-|-|
|||
 -->

## Tests

<!-- Explain how you tested your development -->

- Step 1
- Step 2
- Step ...

## Tested devices

- [ ] Physical
- [ ] Emulator
- OS version(s):

## Checklist

<!-- Depending on the Pull Request content, it can be acceptable if some of the following checkboxes stay unchecked. -->

- [ ] Changes have been tested on an Android device or Android emulator with API 23
- [ ] UI change has been tested on both light and dark themes
- [ ] Accessibility has been taken into account. See https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md#accessibility
- [ ] Pull request is based on the develop branch
- [ ] Pull request includes a new file under ./changelog.d. See https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md#changelog
- [ ] Pull request includes screenshots or videos if containing UI changes
- [ ] Pull request includes a [sign off](https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#sign-off)
- [ ] You've made a self review of your PR
2023-11-08 07:46:00 +01:00
renovate[bot]
e351916e35 Update dependency org.maplibre.gl:android-plugin-annotation-v9 to v2.0.2 2023-11-07 20:13:58 +00:00
ganfra
e99a50664b Merge pull request #1761 from vector-im/renovate/org.maplibre.gl-android-sdk-ktx-v7-2.x
Update dependency org.maplibre.gl:android-sdk-ktx-v7 to v2.0.2
2023-11-07 21:13:22 +01:00
renovate[bot]
acd95adc35 Update dependency org.maplibre.gl:android-sdk-ktx-v7 to v2.0.2 2023-11-07 18:06:41 +00:00
Jorge Martin Espinosa
92fa35e0c7 Message composer isn't resized when changing the replied to message (#1750) 2023-11-07 16:59:58 +01:00
Jorge Martin Espinosa
d21358ed9b Improve confusing text in the 'ready to start verification' screen (#1751)
* Improve confusing text in the 'ready to start verification' screen

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-07 14:33:26 +01:00
Benoit Marty
e2870442c7 Merge pull request #1737 from vector-im/feature/bma/improvePages
Create UserStoryFlowPage
2023-11-07 14:30:38 +01:00
Jorge Martin Espinosa
6fa785a4a3 Fix crash on logout (#1749) 2023-11-07 14:24:31 +01:00
renovate[bot]
4f528d8a51 Update dependency io.sentry:sentry-android to v6.33.1 (#1752)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 13:31:28 +01:00
ElementBot
f7da88eb93 Update screenshots 2023-11-07 12:08:26 +00:00
Benoit Marty
6d8386307b FlowStepPage: make onBackClicked nullable and remove canGoBack. 2023-11-07 10:59:22 +01:00
Benoit Marty
96c81999a3 Rename UserStoryFlowPage to FlowStepPage
Rename UserStoryFlowPage to FlowStepPage
2023-11-07 10:59:22 +01:00
Benoit Marty
f0d1d1f74a Fix issue about modifier. 2023-11-07 10:57:34 +01:00
ElementBot
921f552d4e Update screenshots 2023-11-07 10:57:34 +01:00
Benoit Marty
240b8e1f4f Let SecureBackupEnterRecoveryKeyView use UserStoryFlowPage. 2023-11-07 10:57:34 +01:00
Benoit Marty
769cafc877 Let SecureBackupEnableView use UserStoryFlowPage. 2023-11-07 10:53:21 +01:00
Benoit Marty
0e918e9db8 Use ButtonColumnMolecule 2023-11-07 10:53:21 +01:00
Benoit Marty
f28d9af2ae Let SecureBackupDisableView use UserStoryFlowPage. 2023-11-07 10:53:21 +01:00
Benoit Marty
c57397792c Let LogoutView use UserStoryFlowPage. 2023-11-07 10:53:21 +01:00
Benoit Marty
4bd47c4436 Let SecureBackupSetupView use UserStoryFlowPage. 2023-11-07 10:53:21 +01:00
Benoit Marty
64ca96d502 Create UserStoryFlowPage.
This will reduce some boilerplate and copy pasting we have in the codebase.
2023-11-07 10:53:21 +01:00
renovate[bot]
8b5e8bf6da Update dependency org.matrix.rustcomponents:sdk-android to v0.1.67 (#1747)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.67

* Fix breaking change in `RustMediaLoader`.

* Fix breaking change in `DefaultCallWidgetSettingsProvider`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
2023-11-07 07:53:24 +00:00
Benoit Marty
0e55cc820d Merge pull request #1745 from vector-im/feature/bma/lint
Feature/bma/lint
2023-11-06 18:50:22 +01:00
Benoit Marty
5777ed0a76 Merge pull request #1742 from vector-im/sync-localazy
Sync Strings
2023-11-06 16:05:01 +01:00
Benoit Marty
a6d108a5aa Upgrade lint to version 8.3.0-alpha11 and suppress false positive. 2023-11-06 16:03:16 +01:00
Benoit Marty
95f04eb2ee Remove dependency on material library. 2023-11-06 16:03:10 +01:00
Benoit Marty
18e479e160 Let lint analysis the module :appconfig.
We had this warning:
Lint will treat :appconfig as an external dependency and not analyze it.
 * Recommended Action: Apply the 'com.android.lint' plugin to java library project :appconfig. to enable lint to analyze those sources.
2023-11-06 16:03:03 +01:00
Benoit Marty
2369960af1 Merge pull request #1738 from vector-im/feature/bma/AsyncView
Introduce AsyncView to avoid repeating ourselves
2023-11-06 15:43:18 +01:00
Benoit Marty
760f4a284f Fix Konsist test. Was causing issue with AsyncProvider : PreviewParameterProvider<Async<Unit>> 2023-11-06 15:00:46 +01:00
ElementBot
dfcffce243 Update screenshots 2023-11-06 13:57:15 +00:00
Benoit Marty
f5a6682cd6 Introduce AsyncViewDefaults for ProgressDialog 2023-11-06 10:42:15 +01:00
Benoit Marty
36a7e6b57b BugReportView: show progress in the button, not as a dialog. 2023-11-06 10:09:41 +01:00
Benoit Marty
101feacdd1 Use AsyncView in SecureBackupEnterRecoveryKeyView 2023-11-06 10:09:41 +01:00
Benoit Marty
5d82819ea9 Use AsyncView in RoomNotificationSettingsView and UserDefinedRoomNotificationSettingsView 2023-11-06 10:09:41 +01:00
Benoit Marty
af6241920f Use AsyncView in RoomDetailsEditView 2023-11-06 10:09:41 +01:00
Benoit Marty
ed4363c5c6 Use AsyncView in BugReportView 2023-11-06 10:09:41 +01:00
Benoit Marty
044b6ac018 Use AsyncView in EditUserProfileView 2023-11-06 10:09:41 +01:00
Benoit Marty
537e4cd4a7 Use AsyncView in EditDefaultNotificationSettingView 2023-11-06 10:09:41 +01:00
Benoit Marty
469e34a0d4 Use AsyncView in NotificationSettingsView 2023-11-06 10:09:41 +01:00
Benoit Marty
41040f45ef Use AsyncView in ReportMessageView 2023-11-06 10:09:41 +01:00
Benoit Marty
4c6cd7d3f2 Use AsyncView in OidcView 2023-11-06 10:09:41 +01:00
Benoit Marty
ec62907ade Use AsyncView in CreateRoomRootView 2023-11-06 10:09:41 +01:00
Benoit Marty
ed450c49b4 Use AsyncView in ConfigureRoomView 2023-11-06 10:09:41 +01:00
Benoit Marty
59c01b1764 Introduce AsyncView to limit duplicated code. 2023-11-06 10:09:41 +01:00
bmarty
6014858aba Sync Strings from Localazy 2023-11-06 08:23:40 +00:00
Benoit Marty
fad35bfade Merge pull request #1731 from vector-im/feature/bma/variousCleanup
Konsist: check if sealed class could be sealed interface
2023-11-03 18:09:49 +01:00
Benoit Marty
b907b77733 Convert Data.Audio to data class, and implement equals and hashCode as suggested. 2023-11-03 17:32:38 +01:00