ElementBot
3bf34eae01
Sync Strings ( #1789 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
10 months ago
Benoit Marty
5850f5342d
Move Knit to Gradle catalog and use alias(libs.plugins.kotlin.serialization). Fix issue with JNA
10 months ago
Benoit Marty
67d58bac35
Move remaining hard-coded dependency to Gradle catalog. We had 2 different version of material3 library.
10 months ago
Benoit Marty
8819522423
Replace hard-coded value by value from gradle datalog
10 months ago
Marco Romano
2f51919670
Check for the correct media id when ensuring the MediaPlayer is ready ( #1783 )
...
Just forgot to add this further condition.
11 months ago
jonnyandrew
14be887cac
Enable seeking a recorded voice message ( #1758 )
11 months ago
Marco Romano
878417f557
Voice message MediaPlayer: wait until player is ready ( #1772 )
...
Change to `MediaPlayer` API to allow waiting for the player to be in a ready state.
This is needed in order to perform some tasks (e.g. read the media duration, seek) after changing the media file.
11 months ago
Benoit Marty
fee91cf018
Ensure the size of the icon is 20.dp
11 months ago
Marco Romano
b83d8733e2
Don't leak MediaFileHandle when downloading voice messages ( #1748 )
...
Uses the new `MediaFile.persist()` [API](https://github.com/matrix-org/matrix-rust-sdk/pull/2789 ) to cache voice messages.
This allows to close the `MediaFile` handle after use and keeping the file.
Also disables rust sdk caching for voice messages as we'll use the app's cache dir for that purpose.
Fixes: https://github.com/vector-im/element-meta/issues/2175
11 months ago
Benoit Marty
cbc93cfd48
Move icons to the design system to reuse them (and use new ic_devices).
11 months ago
Benoit Marty
827dd1747e
Revert icon change for location.
11 months ago
Benoit Marty
32aa06f94d
Rename file.
11 months ago
Benoit Marty
035609d74a
Add preview for AttachmentThumbnail and fix issue rendering for AttachmentThumbnailType.Location for coherency.
11 months ago
Benoit Marty
65c6da1480
Use the blurHash if available, when the thumbnailSource is null, and if not available render the image icon for image file.
11 months ago
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>
11 months ago
Benoit Marty
f64eb5218c
Show full history if key backup is enabled.
11 months ago
Benoit Marty
64a00eec16
Fix test after wording change.
11 months ago
Benoit Marty
348da6bec2
Ensure BackupState and RecoveryState values are set from the SDK only when the first sync is finished.
11 months ago
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>
11 months ago
Benoit Marty
a818807677
UTD: Change wording from "Decryption error" to "Waiting for this message"
11 months ago
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>
11 months ago
Jorge Martin Espinosa
52c9565ac8
Fix crash on logout ( #1749 )
11 months ago
Benoit Marty
7bd2ccd2a9
FlowStepPage: make `onBackClicked` nullable and remove `canGoBack`.
11 months ago
Benoit Marty
163bc8703f
Rename UserStoryFlowPage to FlowStepPage
...
Rename UserStoryFlowPage to FlowStepPage
11 months ago
Benoit Marty
3483eaaa00
Fix issue about modifier.
11 months ago
Benoit Marty
256eb23acf
Let SecureBackupEnableView use UserStoryFlowPage.
11 months ago
Benoit Marty
9fa6026483
Create UserStoryFlowPage.
...
This will reduce some boilerplate and copy pasting we have in the codebase.
11 months ago
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>
11 months ago
Benoit Marty
e984b9bb5c
Introduce AsyncViewDefaults for ProgressDialog
11 months ago
Benoit Marty
aaa89afe34
Use AsyncView in EditUserProfileView
11 months ago
Benoit Marty
d700b0bc4e
Introduce AsyncView to limit duplicated code.
11 months ago
bmarty
2fca8412b2
Sync Strings from Localazy
11 months ago
Benoit Marty
6fda11aff0
Convert Data.Audio to data class, and implement equals and hashCode as suggested.
11 months ago
Benoit Marty
21200df294
Konsist: check that if `sealed interface` is used in parameter of `Composable`, it has the `@Stable` or `@Immutable` annotation
11 months ago
Benoit Marty
3092ca23f0
Konsist: check if sealed class could be sealed interface and fix existing issues.
11 months ago
jonnyandrew
ddc1e1d0cc
Display duration of recorded voice message ( #1733 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
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>
11 months ago
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
11 months ago
Benoit Marty
a1b97fe99e
Remove useless wrapping in lazy block, since the value was assigned later during object construction.
11 months ago
jonnyandrew
5080df3262
Add voice message 'hold to record' tooltip ( #1710 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
Benoit Marty
250389633b
Progress for LinearProgressIndicator and CircularProgressIndicator are now lambdas.
11 months ago
Benoit Marty
6db4f34d1b
Add preview for dialog with a third button
11 months ago
Benoit Marty
5f3770d4dd
If there is only one button, use a TextButton.
11 months ago
Benoit Marty
1ba2a22eda
Reorder parameters for readability
11 months ago
Benoit Marty
70ea2beaf9
SimpleAlertDialogContent: enforce button submit instead of button cancel and improve API around dialogs.
11 months ago
jonnyandrew
83a6395688
Add time to voice message composer UI ( #1720 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
Benoit Marty
8df9b7fb3c
Add TestTags to dialog buttons.
11 months ago
Benoit Marty
23cf703925
Fix maestro test.
11 months ago
Benoit Marty
d09d95b269
Avoid runBlocking. Start with a nullable boolean.
11 months ago
Benoit Marty
5013ff061e
Secure backup: create a feature flag (disabled)
11 months ago