jonnyandrew
53f03335c3
Update voice message recording button behaviour ( #1784 )
...
Changes recording button behaviour so that
- tapping the record button starts a recording and displays the stop button
- tapping the stop button stops the recording
- tapping the delete button cancels the recording
- 'hold to record' tooltip is removed
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-11-14 14:05:59 +00:00
Benoit Marty
8c53dd435b
Ensure the size of the icon is 20.dp
2023-11-09 15:22:23 +01:00
Benoit Marty
eabc3f82ae
Move icons to the design system to reuse them (and use new ic_devices).
2023-11-09 15:09:42 +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
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
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
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
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
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
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
638186ff5a
Progress for LinearProgressIndicator and CircularProgressIndicator are now lambdas.
2023-11-02 14:51:42 +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
0a298433e0
Add TestTags to dialog buttons.
2023-11-02 11:55:56 +01: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
Benoit Marty
d6a862581d
Merge pull request #1670 from vector-im/feature/bma/topBarInPage
...
Top bar in page
2023-10-30 10:46:25 +01: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
Benoit Marty
c13dc6c11b
Add topBar parameter to HeaderFooterPage and use a Scaffold.
2023-10-27 18:21:05 +02:00
jonnyandrew
fca94692f6
Refactor waveform factory function
2023-10-27 16:05:34 +01:00
David Langley
fe2d2554c0
Fix documentation
2023-10-27 13:55:42 +01:00
David Langley
c79d24d943
Merge branch 'develop' of https://github.com/vector-im/element-x-android into langleyd/live_waveform
2023-10-27 13:10:32 +01:00
jonnyandrew
38de57bb02
Add waveform to voice message preview UI ( #1661 )
...
* Add waveform to preview UI
* Update screenshots
* Make random waveform function deterministic
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-10-27 11:33:35 +00:00
David Langley
ad81e2898c
Merge branch 'develop' of https://github.com/vector-im/element-x-android into langleyd/live_waveform
2023-10-27 12:28:46 +01:00
Jorge Martin Espinosa
0bd9c78836
Initial support for member suggestions ( #1631 )
...
* Initial support for member suggestion (search and UI)
* Add custom `BottomSheetScaffold` implementation to workaround several scrolling bugs
* Start searching as soon as `@` is typed, add UI following initial designs
* Extract suggestion processing code
* Extract component, add previews, fix tests
* Add tests
* Add exception from kover to the forked bottom sheet code
* Add a feature flag for mentions
- Extract composer & mention suggestions to their composable.
- Extract mentions suggestions processing to its own class.
- Add `MatrixRoom.canTriggerRoomNotification` function.
- Update strings and conditions for displaying the `@room` mention.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-10-27 10:26:40 +00:00
Benoit Marty
bb55a5676c
Secure backup
2023-10-27 12:18:40 +02:00
Marco Romano
d7ce326612
Show correct UI when replying to a voice message ( #1658 )
...
Shows voice messages in the room summary.
Shows voice messages in the reply context menu and composer.
Show replies to voice messages in the timeline.
(before this PR voice messages were shown the same as audio messages)
Story: https://github.com/vector-im/element-meta/issues/2106
2023-10-27 11:30:57 +02:00
Benoit Marty
61d59913bb
Merge pull request #1651 from vector-im/feature/bma/uiUpdate
...
Preparatory work for SecureBackup: UI update
2023-10-27 11:03:29 +02:00
David Langley
1db2adae7e
Merge branch 'develop' of https://github.com/vector-im/element-x-android into langleyd/live_waveform
2023-10-27 08:44:25 +01:00
David Langley
510b1f63b9
Simple live waveform implementation.
2023-10-26 23:46:03 +01:00
Marco Romano
a67560c74b
Convert mx waveform to floats as early as possible in the chain ( #1652 )
...
This way we're sure that internally we always deal with [0;1] float samples. the [0;1024] int range is used only at the rust sdk boundary.
2023-10-26 16:58:00 +00:00
Benoit Marty
f9cf3c814d
Fix warning: Composable functions should only be emitting content into the composition from one source at their top level.
2023-10-26 17:49:13 +02:00
Benoit Marty
c93470b6e4
Rename file.
2023-10-26 17:40:51 +02:00
Benoit Marty
b12f9ff3a8
Use DialogLikeBannerMolecule in NotificationSettingsView.
2023-10-26 17:40:51 +02:00
Benoit Marty
243c47682f
Design: extract DialogLikeBannerMolecule from RequestVerificationHeader
2023-10-26 17:40:51 +02:00
Benoit Marty
c6ddc33be7
Preference: Add badge to the icon preference.
2023-10-26 17:40:51 +02:00
Benoit Marty
f34fdcc87b
Design kit: add destructive dialog action
2023-10-26 17:40:51 +02:00
Benoit Marty
1af4bfb1d8
Design kit: add destructive buttons.
2023-10-26 17:40:51 +02:00
Benoit Marty
6f4335bd02
Add RedIndicatorAtom
2023-10-26 17:40:51 +02:00
jonnyandrew
8258bdcf80
Move waveform UI to design system library ( #1649 )
2023-10-26 15:15:42 +00:00
David Langley
e388ea21b6
Merge branch 'develop' into dla/feature/custom_room_notification_settings_list
2023-10-24 17:20:15 +01:00
ganfra
833bff9ba9
Merge branch 'develop' into feature/fga/pin_create_ui
2023-10-19 22:26:21 +02:00