Commit Graph

1966 Commits

Author SHA1 Message Date
bmarty
6014858aba Sync Strings from Localazy 2023-11-06 08:23:40 +00: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
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
c3cf49a5e4 Remove other useless lazy wrapping. 2023-11-02 16:28:50 +01:00
Benoit Marty
638186ff5a Progress for LinearProgressIndicator and CircularProgressIndicator are now lambdas. 2023-11-02 14:51:42 +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
renovate[bot]
927552d2e5 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
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
jonnyandrew
e376feba22 Add analytics for voice messages (#1706) 2023-11-02 09:32:22 +00:00
Benoit Marty
323765c3bc Fix maestro test. 2023-11-02 09:23:07 +01:00
Benoit Marty
75a99cf3ba Fix tests 2023-10-31 22:28:59 +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
b985afa4be Merge pull request #1709 from vector-im/feature/bma/secureBackupIteration
Secure backup iteration
2023-10-31 21:51:29 +01:00
Benoit Marty
e69390b5b5 Consider keys are backing up only for SteadyStateException.Connection 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
Benoit Marty
654f344640 TimelineEncryptedHistoryBannerView: render depend on verification and key backup state (#1576) 2023-10-31 21:03:43 +01:00
Benoit Marty
898392dde2 Map new state BackupUploadState.Error 2023-10-31 21:03:43 +01:00
ganfra
564c2aa23e Pin unlock : implement design for in-app unlock 2023-10-31 20:12:45 +01:00
ganfra
8d903362c8 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
Benoit Marty
1c74c8d56f 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
f7f3925fc9 [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
0a126c480e Fix tests 2023-10-31 16:49:19 +01:00
jonnyandrew
c4ab264495 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
63cf5ef5b1 Merge pull request #1648 from vector-im/feature/bma/secureBackup
Secure backup
2023-10-30 21:29:54 +01:00
Benoit Marty
0e2e854885 Merge pull request #1687 from vector-im/sync-localazy
Sync Strings
2023-10-30 20:20:29 +01:00
Benoit Marty
3b0c51198d Fix test. 2023-10-30 20:16:18 +01:00
Benoit Marty
29e1e9b316 Secure Storage: improve API for waitForBackupUploadSteadyState() 2023-10-30 20:16:18 +01:00
Benoit Marty
4898d8012c Secure backup and sign out: add TopBar with Back button. 2023-10-30 20:16:18 +01:00
Benoit Marty
ddd9ca40fc Enter recovery key: add Done ime action. 2023-10-30 20:16:18 +01:00
Benoit Marty
8152acfcde Replace it by when. 2023-10-30 20:16:18 +01:00
Benoit Marty
1c57a5c35e Move SecureBackupConfig to the appconfig module. 2023-10-30 20:16:18 +01:00
Jorge Martin Espinosa
22767031d9 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
340a4b5b4f Sync Strings from Localazy 2023-10-30 14:50:36 +00:00
jonnyandrew
6f49d689f4 Keep screen on during voice message recording (#1684) 2023-10-30 12:37:10 +00:00
Benoit Marty
84ddef3e6c Merge pull request #1680 from vector-im/sync-localazy
Sync Strings
2023-10-30 12:38:41 +01:00
Jorge Martin Espinosa
69c0a3b6be 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
10ff9742e1 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
Marco Romano
5e43083f7c Add a11y label to voice messages (#1683) 2023-10-30 10:41:15 +00:00
bmarty
458e2a1b58 Sync Strings from Localazy 2023-10-30 00:10:04 +00:00
Marco Romano
08e2bed5db Don't show body in replies to voice messages but rather show "Voice message" string (#1673)
Story: https://github.com/vector-im/element-meta/issues/2106
2023-10-27 21:57:05 +00:00
jonnyandrew
4dfe8121b4 Show voice message preview player progress (#1675)
* Show voice message preview player progress

* Update screenshots

* Fix test

* Some nits over mediaplayer stuff

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Marco Romano <marcor@element.io>
2023-10-27 20:43:52 +00:00
Benoit Marty
6cc60e7d35 Merge pull request #1662 from vector-im/feature/bma/secureBackupUi
Secure backup UI
2023-10-27 18:36:38 +02:00
jonnyandrew
ac90b74a4f Merge pull request #1671 from vector-im/jonny/voice-message-fixes
Fix voice message preview player playing after delete/send
2023-10-27 16:49:38 +01:00
Marco Romano
b137e1f1ab Track errors in VoiceMessagePresenter (#1667)
Story: https://github.com/vector-im/element-meta/issues/2085
2023-10-27 15:23:53 +00:00
Marco Romano
ad01421b22 Enable swipe to reply on voice messages (#1668)
With the new waveform view it does not conflict anymore.
2023-10-27 15:10:56 +00:00
jonnyandrew
e3bb3c55b6 Ensure sending pauses audio 2023-10-27 16:05:35 +01:00