Commit Graph

1739 Commits

Author SHA1 Message Date
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
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
Benoit Marty 20d6383b8a Map new state BackupUploadState.Error 2023-10-31 21:03:43 +01:00
ganfra 6832b1f2db Feature/fga/biometric unlock (#1702)
* Biometric unlock : refactor a bit existing classes

* Biometric unlock : first implementation

* Biometric: add ui for biometric setup

* Biometric unlock : use localazy strings

* Biometric unlock setup : branch skip/allow events

* Biometric : fix tests

* Biometrics: add small test

* Biometric : clean up

* Update screenshots

* Biometric unlock : address some PR review

* Biometric : improve a bit edge cases

* Fix lint issues

---------

Co-authored-by: ganfra <francoisg@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-10-31 19:22:43 +01:00
ganfra ed26c74627 LockScreen : enable the feature 2023-10-31 18:23:48 +01:00
Benoit Marty 89e7ff44a2 Merge pull request #1703 from vector-im/feature/bma/featureFlagFlow
Change FeatureFlagService.isFeatureEnabled return value from Boolean to Flow<Boolean>
2023-10-31 17:14:59 +01:00
Jorge Martin Espinosa 355ee95964 [Element Call] Keep MatrixClient alive while the call is working (#1695)
* Element Call: keep MatrixClient alive to get event updates
2023-10-31 16:58:33 +01:00
Benoit Marty f554fb8dcc Change FeatureFlagService.isFeatureEnabled return value from Boolean to Flow<Boolean> 2023-10-31 16:49:19 +01:00
Jorge Martin Espinosa 3bbaf8e5e7 Improve the logs for TimelineException.CannotPaginate (#1708) 2023-10-31 15:43:18 +00:00
Marco Romano c377656354 Show "Voice message" in voice message push notifications (#1705)
Don't show the event body anymore as it's not relevant for voice messages.
2023-10-31 15:27:17 +01:00
jonnyandrew 95a2152714 Fix long press on voice message with screen reader (#1704)
As a workaround, disable seeking within the waveform so that it does
not interfere with the long press menu.

Seeking behaviour is already suboptimal given that there is no spoken
feedback about the current seek position. No core functionality is
lost as voice messages can be played using a screen reader.
2023-10-31 13:00:08 +00:00
Benoit Marty 5728d621bb Merge pull request #1648 from vector-im/feature/bma/secureBackup
Secure backup
2023-10-30 21:29:54 +01:00
Benoit Marty a63cd90b39 Merge pull request #1687 from vector-im/sync-localazy
Sync Strings
2023-10-30 20:20:29 +01:00
Benoit Marty 90b377b3a5 Secure Storage: improve API for waitForBackupUploadSteadyState() 2023-10-30 20:16:18 +01:00
Marco Romano 609b100a76 Fix wrong CompoundColors mapping (#1692)
* Fix wrong CompoundColors mapping

Fixes https://github.com/vector-im/compound/issues/262

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-30 18:22:42 +01:00
Jorge Martin Espinosa 356a321788 Fix issues with stuck 'loading...' state and hangup (#1690)
* Fix issues with stuck 'loading...' state and hangu
2023-10-30 17:01:54 +01:00
bmarty ffd02b831e Sync Strings from Localazy 2023-10-30 14:50:36 +00:00
jonnyandrew ef94421801 Fix scaling of composer UI 2023-10-30 13:23:01 +00:00
jonnyandrew fa66ffc06d Improve composer UI scaling (#1689) 2023-10-30 12:41:05 +00:00
jonnyandrew 18ca1da1b5 Add haptic feedback to voice message record button (#1686) 2023-10-30 12:01:39 +00:00
Benoit Marty 6c146f0033 Merge pull request #1680 from vector-im/sync-localazy
Sync Strings
2023-10-30 12:38:41 +01:00
Jorge Martin Espinosa e64f822f5a Enable Element Call integration in rooms by default (#1685)
Also change base url to `call.element.dev`.
2023-10-30 11:33:22 +00:00
Marco Romano 7651cf1b33 Voice message button: Show proper disabled color. (#1682)
Also changes a bit our own IconButton api to allow to mirror material's and allow color customization.
2023-10-30 10:51:22 +00:00
Benoit Marty 9472081317 Merge pull request #1670 from vector-im/feature/bma/topBarInPage
Top bar in page
2023-10-30 10:46:25 +01:00