Commit graph

1995 commits

Author SHA1 Message Date
Benoit Marty
d99ed8517e
Merge pull request #1767 from vector-im/feature/bma/encryptedMessages
Feature/bma/encrypted messages
2023-11-08 11:58:38 +01:00
Jorge Martin Espinosa
74e5bf18fc
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
Marco Romano
26eecb33dd
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
Benoit Marty
a818807677 UTD: Change wording from "Decryption error" to "Waiting for this message" 2023-11-07 17:52:06 +01:00
Jorge Martin Espinosa
26c28ff972
Message composer isn't resized when changing the replied to message (#1750) 2023-11-07 16:59:58 +01:00
Jorge Martin Espinosa
1fe45cde18
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
7bd2ccd2a9 FlowStepPage: make onBackClicked nullable and remove canGoBack. 2023-11-07 10:59:22 +01:00
Benoit Marty
163bc8703f Rename UserStoryFlowPage to FlowStepPage
Rename UserStoryFlowPage to FlowStepPage
2023-11-07 10:59:22 +01:00
Benoit Marty
3e3a7c5516 Let SecureBackupEnterRecoveryKeyView use UserStoryFlowPage. 2023-11-07 10:57:34 +01:00
Benoit Marty
256eb23acf Let SecureBackupEnableView use UserStoryFlowPage. 2023-11-07 10:53:21 +01:00
Benoit Marty
7e63f196d9 Use ButtonColumnMolecule 2023-11-07 10:53:21 +01:00
Benoit Marty
310bd5bb49 Let SecureBackupDisableView use UserStoryFlowPage. 2023-11-07 10:53:21 +01:00
Benoit Marty
85fa899b5d Let LogoutView use UserStoryFlowPage. 2023-11-07 10:53:21 +01:00
Benoit Marty
c77ebabcb2 Let SecureBackupSetupView use UserStoryFlowPage. 2023-11-07 10:53:21 +01:00
Benoit Marty
23c3e30876
Merge pull request #1745 from vector-im/feature/bma/lint
Feature/bma/lint
2023-11-06 18:50:22 +01:00
Benoit Marty
64b7c906db
Merge pull request #1742 from vector-im/sync-localazy
Sync Strings
2023-11-06 16:05:01 +01:00
Benoit Marty
5de8841d96 Upgrade lint to version 8.3.0-alpha11 and suppress false positive. 2023-11-06 16:03:16 +01:00
Benoit Marty
7bb5f3b056 BugReportView: show progress in the button, not as a dialog. 2023-11-06 10:09:41 +01:00
Benoit Marty
ffccbb5d90 Use AsyncView in SecureBackupEnterRecoveryKeyView 2023-11-06 10:09:41 +01:00
Benoit Marty
8cd4ac3303 Use AsyncView in RoomNotificationSettingsView and UserDefinedRoomNotificationSettingsView 2023-11-06 10:09:41 +01:00
Benoit Marty
fb4216c827 Use AsyncView in RoomDetailsEditView 2023-11-06 10:09:41 +01:00
Benoit Marty
f49a506d6a Use AsyncView in BugReportView 2023-11-06 10:09:41 +01:00
Benoit Marty
aaa89afe34 Use AsyncView in EditUserProfileView 2023-11-06 10:09:41 +01:00
Benoit Marty
6ad2c99576 Use AsyncView in EditDefaultNotificationSettingView 2023-11-06 10:09:41 +01:00
Benoit Marty
cc5321f65a Use AsyncView in NotificationSettingsView 2023-11-06 10:09:41 +01:00
Benoit Marty
1e09d9c65f Use AsyncView in ReportMessageView 2023-11-06 10:09:41 +01:00
Benoit Marty
31d1685709 Use AsyncView in OidcView 2023-11-06 10:09:41 +01:00
Benoit Marty
662b1f8f50 Use AsyncView in CreateRoomRootView 2023-11-06 10:09:41 +01:00
Benoit Marty
c6ee35f567 Use AsyncView in ConfigureRoomView 2023-11-06 10:09:41 +01:00
bmarty
2fca8412b2 Sync Strings from Localazy 2023-11-06 08:23:40 +00:00
Benoit Marty
21200df294 Konsist: check that if sealed interface is used in parameter of Composable, it has the @Stable or @Immutable annotation 2023-11-03 15:19:55 +01:00
Benoit Marty
3092ca23f0 Konsist: check if sealed class could be sealed interface and fix existing issues. 2023-11-03 15:19:55 +01:00
jonnyandrew
ddc1e1d0cc
Display duration of recorded voice message (#1733)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-03 12:59:36 +00:00
Jorge Martin Espinosa
14dc8e1059
Replace suffixes for @PreviewsDayNight annotation (#1736)
* Replace suffix for PreviewsDayNight annotation

* Rename Preview, since its filename was way too long

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-03 12:19:12 +00:00
Benoit Marty
ccfc4c3bac
Merge pull request #1730 from vector-im/feature/bma/uselessByLazy
Remove useless by lazy wrapping
2023-11-02 17:07:14 +01:00
Benoit Marty
f6d7a014a7 Remove other useless lazy wrapping. 2023-11-02 16:28:50 +01:00
Benoit Marty
250389633b Progress for LinearProgressIndicator and CircularProgressIndicator are now lambdas. 2023-11-02 14:51:42 +01:00
Benoit Marty
5af7b47bd5
Merge pull request #1722 from vector-im/feature/bma/fixMaestroSignOut
Fix maestro test.
2023-11-02 13:57:38 +01:00
renovate[bot]
c63601a615
Update dependency io.nlopez.compose.rules:detekt to v0.3.3 (#1638)
* Update dependency io.nlopez.compose.rules:detekt to v0.3.3

* Fix lint issues

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-11-02 13:11:42 +01:00
jonnyandrew
83a6395688
Add time to voice message composer UI (#1720)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-02 12:10:36 +00:00
jonnyandrew
dab5e0d0ca
Add analytics for voice messages (#1706) 2023-11-02 09:32:22 +00:00
Benoit Marty
23cf703925 Fix maestro test. 2023-11-02 09:23:07 +01:00
Benoit Marty
6143ea8764 Fix tests 2023-10-31 22:28:59 +01:00
Benoit Marty
d09d95b269 Avoid runBlocking. Start with a nullable boolean. 2023-10-31 21:52:33 +01:00
Benoit Marty
5013ff061e Secure backup: create a feature flag (disabled) 2023-10-31 21:52:33 +01:00
Benoit Marty
ba004187f0
Merge pull request #1709 from vector-im/feature/bma/secureBackupIteration
Secure backup iteration
2023-10-31 21:51:29 +01:00
Benoit Marty
7e1b991654 Consider keys are backing up only for SteadyStateException.Connection 2023-10-31 21:03:43 +01:00
Benoit Marty
2f62779ad4 Sign out: handle no network error. 2023-10-31 21:03:43 +01:00
Benoit Marty
4fb825b5cb TimelineEncryptedHistoryBannerView: render depend on verification and key backup state (#1576) 2023-10-31 21:03:43 +01:00
Benoit Marty
20d6383b8a Map new state BackupUploadState.Error 2023-10-31 21:03:43 +01:00