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
Jorge Martin Espinosa
5e547269e7
Integrate Element Call with widget API ( #1581 )
...
* Integrate Element Call with widget API.
- Add `appconfig` module and extract constants that can be overridden in forks there.
- Add an Element Call feature flag, disabled by default.
- Refactor the whole `ElementCallActivity`, move most logic out of it.
- Integrate with the Rust Widget Driver API (note the Rust SDK version used in this PR lacks some needed changes to make the calls actually work).
- Handle calls differently based on `CallType`.
- Add UI to create/join a call.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-10-19 15:38:43 +00:00
David Langley
af4a1d3fd6
Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/custom_room_notification_settings_list
2023-10-18 22:07:14 +01:00
ganfra
f07a687630
Create pin : start handling the text field
2023-10-18 21:20:47 +02:00
Benoit Marty
5f56961fd0
Merge pull request #1556 from vector-im/feature/bma/videoLock
...
Ensure screen does not turn off when playing a video (#1519 )
2023-10-13 14:05:30 +02:00
ganfra
c6a6ccc844
Merge pull request #1554 from vector-im/feature/fga/init_pin_unlock
...
[Pin code] : setup the feature
2023-10-13 12:38:41 +02:00
Benoit Marty
a71fb431d3
Ensure screen does not turn off when playing a video ( #1519 )
2023-10-12 15:53:05 +02:00
Benoit Marty
eebc39fab7
Konsist: add test about PreviewParameterProvider class name and fix existing issues.
2023-10-12 15:03:50 +02:00
Benoit Marty
84594caad3
Use existing BooleanProvider
2023-10-12 15:03:50 +02:00
ganfra
a2ebf39cb5
Pin setup with fake lock
2023-10-11 18:09:16 +02:00
Benoit Marty
308a0c0f57
Konsist: add test to ensure filename match top level Composable View, and fix existing issue
2023-10-10 15:39:22 +02:00
Marco Romano
182511d92c
Optimize use of blurhash algo in bloom modifier ( #1509 )
...
- Reduced to 20px the size of the bitmap we encode the blurhash from.
- Reduced the blurhash components from 5 to 4.
As per suggestions in: https://github.com/woltapp/blurhash#good-questions
2023-10-09 16:24:37 +02:00
Benoit Marty
0d297bd0da
Add preview for InfoListOrganism
2023-10-04 09:16:19 +02:00