Commit Graph

1762 Commits

Author SHA1 Message Date
Benoit Marty
9af275b7cf Revert icon change for location. 2023-11-09 12:31:36 +01:00
Benoit Marty
344cad5341 Rename file. 2023-11-08 16:47:18 +01:00
Benoit Marty
e7a6e4039c Add preview for AttachmentThumbnail and fix issue rendering for AttachmentThumbnailType.Location for coherency. 2023-11-08 16:28:07 +01:00
Benoit Marty
d2483ea11a 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
1026648ee8 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]
dd57197f32 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
cf0e92f7f6 Show full history if key backup is enabled. 2023-11-08 12:41:15 +01:00
Benoit Marty
062567fadc Merge pull request #1767 from vector-im/feature/bma/encryptedMessages
Feature/bma/encrypted messages
2023-11-08 11:58:38 +01:00
Benoit Marty
6874df8875 Fix test after wording change. 2023-11-08 11:44:34 +01:00
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
Benoit Marty
a284f5cb03 UTD: Change wording from "Decryption error" to "Waiting for this message" 2023-11-07 17:52:06 +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
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
Benoit Marty
769cafc877 Let SecureBackupEnableView 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
5777ed0a76 Merge pull request #1742 from vector-im/sync-localazy
Sync Strings
2023-11-06 16:05:01 +01:00
Benoit Marty
f5a6682cd6 Introduce AsyncViewDefaults for ProgressDialog 2023-11-06 10:42:15 +01:00
Benoit Marty
044b6ac018 Use AsyncView in EditUserProfileView 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
b907b77733 Convert Data.Audio to data class, and implement equals and hashCode as suggested. 2023-11-03 17:32:38 +01:00
Benoit Marty
8b85aa51e2 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
c5f3562454 Konsist: check if sealed class could be sealed interface and fix existing issues. 2023-11-03 15:19:55 +01:00
jonnyandrew
413ec4b5db 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
0e89080a50 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
3fc8f1aaec 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
b1ee914173 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
19bd43186d 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
aeb4c6eba0 Remove useless wrapping in lazy block, since the value was assigned later during object construction. 2023-11-02 16:14:21 +01:00
jonnyandrew
9cd45c16e0 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
0e84fe1ef3 Merge pull request #1726 from vector-im/feature/bma/improveDialogApi
Improve dialog api
2023-11-02 15:05:47 +01:00
Benoit Marty
638186ff5a Progress for LinearProgressIndicator and CircularProgressIndicator are now lambdas. 2023-11-02 14:51:42 +01:00
Benoit Marty
c6ec388113 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
48aeee8dfe Add preview for dialog with a third button 2023-11-02 14:13:44 +01:00
Benoit Marty
f4539c321d If there is only one button, use a TextButton. 2023-11-02 14:09:20 +01:00
Benoit Marty
f0f578cc26 Reorder parameters for readability 2023-11-02 14:02:32 +01:00
Benoit Marty
d50816cdea SimpleAlertDialogContent: enforce button submit instead of button cancel and improve API around dialogs. 2023-11-02 14:02:32 +01:00
Benoit Marty
9ad37b3581 Merge pull request #1722 from vector-im/feature/bma/fixMaestroSignOut
Fix maestro test.
2023-11-02 13:57:38 +01:00
jonnyandrew
3e58e03a10 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
0a298433e0 Add TestTags to dialog buttons. 2023-11-02 11:55:56 +01:00
Benoit Marty
323765c3bc Fix maestro test. 2023-11-02 09:23:07 +01:00
Benoit Marty
8684d23a6d Avoid runBlocking. Start with a nullable boolean. 2023-10-31 21:52:33 +01:00
Benoit Marty
eb82c245ad Secure backup: create a feature flag (disabled) 2023-10-31 21:52:33 +01:00
Benoit Marty
7634a5512f Do not throw the exception. 2023-10-31 21:03:43 +01:00
Benoit Marty
72ba9997a2 Sign out: handle no network error. 2023-10-31 21:03:43 +01:00