Marco Romano
b2a61f2ed3
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
bf905dd79b
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
db70c98af9
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
1389c9ed24
Simple live waveform implementation.
2023-10-26 23:46:03 +01:00
Marco Romano
0457e5915c
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
bf5047647a
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
ea9c7f5b10
Rename file.
2023-10-26 17:40:51 +02:00
Benoit Marty
96dd7bbd8d
Use DialogLikeBannerMolecule in NotificationSettingsView.
2023-10-26 17:40:51 +02:00
Benoit Marty
fa2a2e2f7f
Design: extract DialogLikeBannerMolecule from RequestVerificationHeader
2023-10-26 17:40:51 +02:00
Benoit Marty
93e05e9d9f
Preference: Add badge to the icon preference.
2023-10-26 17:40:51 +02:00
Benoit Marty
bec12c4cca
Design kit: add destructive dialog action
2023-10-26 17:40:51 +02:00
Benoit Marty
e9e050a6d8
Design kit: add destructive buttons.
2023-10-26 17:40:51 +02:00
Benoit Marty
cb8c6f3eb1
Add RedIndicatorAtom
2023-10-26 17:40:51 +02:00
jonnyandrew
acd7aef6be
Move waveform UI to design system library ( #1649 )
2023-10-26 15:15:42 +00:00
David Langley
4784235f8d
Merge branch 'develop' into dla/feature/custom_room_notification_settings_list
2023-10-24 17:20:15 +01:00
ganfra
20c2ee9e3a
Merge branch 'develop' into feature/fga/pin_create_ui
2023-10-19 22:26:21 +02:00
Jorge Martin Espinosa
46f78ef700
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
87b8bfe99d
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
4416c0133a
Create pin : start handling the text field
2023-10-18 21:20:47 +02:00
Benoit Marty
fee54efb4f
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
5d0eb3d693
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
c3bc44bfec
Ensure screen does not turn off when playing a video ( #1519 )
2023-10-12 15:53:05 +02:00
Benoit Marty
8f8a5746e5
Konsist: add test about PreviewParameterProvider class name and fix existing issues.
2023-10-12 15:03:50 +02:00
Benoit Marty
3c41158558
Use existing BooleanProvider
2023-10-12 15:03:50 +02:00
ganfra
2d5a3a473c
Pin setup with fake lock
2023-10-11 18:09:16 +02:00
Benoit Marty
8929a90970
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
096d57517e
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
e344a8fbaf
Add preview for InfoListOrganism
2023-10-04 09:16:19 +02:00
Benoit Marty
7a9ac33caa
Move InfoListItemMolecule to the molecules package.
2023-10-04 09:09:46 +02:00
Benoit Marty
af6dcadd4a
Move InfoListOrganism to the new organisms package.
2023-10-04 09:08:57 +02:00
jonnyandrew
53cf82f025
[Rich text editor] Add full screen mode ( #1447 )
...
- Add full screen mode for the rich text editor (RTE). When text formatting options are enabled, the editor can be dragged to full screen.
- Remove `ConstraintLayout` from `textcomposer` module, now made much simpler now the RTE supports being called in multiple layouts matrix-org/matrix-rich-text-editor#822
- Part of vector-im/element-meta#1973
- Includes design from #1315
- Fixes #1293 (through new layout)
- Fixes #1394 (through inclusion of matrix-org/matrix-rich-text-editor#824 )
- Fixes #1259 (through inclusion of matrix-org/matrix-rich-text-editor#820 )
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-29 09:11:18 +00:00
Benoit Marty
2cce7f3b47
Fix lint UnnecessaryComposedModifier and make it an error
2023-09-28 16:55:21 +02:00
Benoit Marty
702c137ead
Replace mutableStateOf by mutableIntStateOf and mutableFloatStateOf. Use intValue and floatValue to avoid unboxing.
2023-09-26 18:07:53 +02:00
David Langley
752da37383
Add roomsWithUserDefinedRules data and render list
...
- get roomsWithUserDefinedRules from rust
- add to state in the presenter
- render in the edit defaults view as a list
2023-09-22 16:16:52 +01:00
Benoit Marty
03eacdc454
Add animation on the timeline content, to avoid glitch ( #1323 )
2023-09-21 18:43:46 +02:00
Benoit Marty
0e4c146e87
Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty
97f2d211ae
Detekt: Rename LargeHeightPreview to PreviewWithLargeHeight to follow naming convention.
...
MultiPreview annotations should start with `Preview` as prefix
Detekt: Rename `LargeHeightPreview` to `PreviewWithLargeHeight` to follow naming convention.
Custom Preview annotations should start with `Preview` as prefix
2023-09-21 08:30:15 +02:00
Benoit Marty
e622f8d869
Merge pull request #1392 from vector-im/feature/bma/iterateOnIcons
...
Iterate on icons
2023-09-20 23:20:28 +02:00
Benoit Marty
03d69146aa
Remove unused resource, and use compound icons when possible.
2023-09-20 16:45:38 +02:00
Benoit Marty
d531e71cd8
Migrate other icons to compound icons.
2023-09-20 16:44:59 +02:00
Benoit Marty
32f95e70cb
Better rendering on screenshot test
2023-09-20 16:44:59 +02:00
Benoit Marty
7ec5e0e173
Fix warnings.
2023-09-20 16:44:59 +02:00
Benoit Marty
c652606f56
Remove VectorIcons object, inline the values.
2023-09-20 16:44:59 +02:00
Benoit Marty
8f4f2f9d56
All icons are now white
2023-09-20 09:08:31 +02:00
Benoit Marty
45d45ecc87
Add Icons preview.
2023-09-20 09:03:57 +02:00
jonnyandrew
d784ca3804
[Rich text editor] Update code and links style ( #1362 )
2023-09-19 15:40:59 +00:00
Benoit Marty
b690dc3a78
Import all the icons from zip file at https://github.com/vector-im/element-x-android/issues/1320
2023-09-19 17:11:57 +02:00
Benoit Marty
9dab4e7834
Import all the compound icons from https://github.com/vector-im/compound-design-tokens/tree/main/icons .
2023-09-19 17:05:30 +02:00
Benoit Marty
f808dcd6ea
Merge pull request #1372 from vector-im/feature/bma/dayNightPreview
...
Day night preview annotation
2023-09-19 14:04:49 +02:00
jonnyandrew
ee8d27e927
[Rich text editor] Add link functionality to rich text editor ( #1309 )
...
* Add link functionality to rich text editor
* Add 'list dialog' component compound design library
* Add 'text field list item' component to compound design library
2023-09-19 11:20:07 +00:00