Commit graph

1761 commits

Author SHA1 Message Date
Benoit Marty
32aa06f94d Rename file. 2023-11-08 16:47:18 +01:00
Benoit Marty
035609d74a Add preview for AttachmentThumbnail and fix issue rendering for AttachmentThumbnailType.Location for coherency. 2023-11-08 16:28:07 +01:00
Benoit Marty
65c6da1480 Use the blurHash if available, when the thumbnailSource is null, and if not available render the image icon for image file. 2023-11-08 15:34:06 +01:00
Benoit Marty
8e7075b920
Merge pull request #1770 from vector-im/feature/bma/noBannerIfKeyBackIsEnabled
Show full history if key backup is enabled.
2023-11-08 14:00:25 +01:00
renovate[bot]
9e66180d20
Update kotlin (#1697)
* Update kotlin

* Lower Sonar RAM usage, remove redundant `Dkotlin.daemon.jvm.options`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-11-08 12:58:14 +00:00
Benoit Marty
f64eb5218c Show full history if key backup is enabled. 2023-11-08 12:41:15 +01:00
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
Benoit Marty
64a00eec16 Fix test after wording change. 2023-11-08 11:44:34 +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
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
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
2de508c6d5
Merge pull request #1737 from vector-im/feature/bma/improvePages
Create UserStoryFlowPage
2023-11-07 14:30:38 +01:00
Jorge Martin Espinosa
52c9565ac8
Fix crash on logout (#1749) 2023-11-07 14:24:31 +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
3483eaaa00 Fix issue about modifier. 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
9fa6026483 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]
74ccdf83f6
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
64b7c906db
Merge pull request #1742 from vector-im/sync-localazy
Sync Strings
2023-11-06 16:05:01 +01:00
Benoit Marty
e984b9bb5c Introduce AsyncViewDefaults for ProgressDialog 2023-11-06 10:42:15 +01:00
Benoit Marty
aaa89afe34 Use AsyncView in EditUserProfileView 2023-11-06 10:09:41 +01:00
Benoit Marty
d700b0bc4e Introduce AsyncView to limit duplicated code. 2023-11-06 10:09:41 +01:00
bmarty
2fca8412b2 Sync Strings from Localazy 2023-11-06 08:23:40 +00:00
Benoit Marty
6fda11aff0 Convert Data.Audio to data class, and implement equals and hashCode as suggested. 2023-11-03 17:32:38 +01: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
Jorge Martin Espinosa
1f5a135072
Use Parallel GC and bump RAM usage (#1734)
* Use Parallel GC and bump RAM usage

* Build only `app` project in `Build APKs (debug)` flow.

* Remove redundant JNA dependency
2023-11-03 10:34:49 +01: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
4a62edc86a
Merge pull request #1597 from vector-im/renovate/androidx.compose.material3-material3-1.x
Update dependency androidx.compose.material3:material3 to v1.2.0-alpha10
2023-11-02 17:06:11 +01:00
Benoit Marty
a1b97fe99e Remove useless wrapping in lazy block, since the value was assigned later during object construction. 2023-11-02 16:14:21 +01:00
jonnyandrew
5080df3262
Add voice message 'hold to record' tooltip (#1710)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-02 14:29:05 +00:00
Benoit Marty
8cc541b5fc
Merge pull request #1726 from vector-im/feature/bma/improveDialogApi
Improve dialog api
2023-11-02 15:05:47 +01:00
Benoit Marty
250389633b Progress for LinearProgressIndicator and CircularProgressIndicator are now lambdas. 2023-11-02 14:51:42 +01:00
Benoit Marty
d640b04728
Merge pull request #1691 from vector-im/jonny/fix-composer-scaling
Fix scaling of composer UI
2023-11-02 14:40:52 +01:00
Benoit Marty
6db4f34d1b Add preview for dialog with a third button 2023-11-02 14:13:44 +01:00
Benoit Marty
5f3770d4dd If there is only one button, use a TextButton. 2023-11-02 14:09:20 +01:00
Benoit Marty
1ba2a22eda Reorder parameters for readability 2023-11-02 14:02:32 +01:00
Benoit Marty
70ea2beaf9 SimpleAlertDialogContent: enforce button submit instead of button cancel and improve API around dialogs. 2023-11-02 14:02:32 +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
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
Benoit Marty
8df9b7fb3c Add TestTags to dialog buttons. 2023-11-02 11:55:56 +01:00
Benoit Marty
23cf703925 Fix maestro test. 2023-11-02 09:23:07 +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
3e9710a0c1 Do not throw the exception. 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