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
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
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
Marco Romano
ec198ce2e9
Blink red dot while recording voice message ( #1677 )
...
Story: https://github.com/vector-im/element-meta/issues/2084
2023-10-27 21:12:43 +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
Marco Romano
f7ed09eb82
Create 1669.feature ( #1674 )
...
Add changelog item for voice messages
2023-10-27 16:45:33 +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
Marco Romano
a33a36cb35
Use correct icon tint in voice message preview player ( #1672 )
...
Action item from design review.
2023-10-27 16:24:16 +00:00
Benoit Marty
c13dc6c11b
Add topBar parameter to HeaderFooterPage and use a Scaffold.
2023-10-27 18:21:05 +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
Benoit Marty
8ac677797f
Merge pull request #1666 from vector-im/feature/bma/mergeFallbackNotification
...
Display a single notification for unable to decrypt Event received form push (fallback notification)
2023-10-27 17:42:22 +02: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
473ac2dcc1
Default enable voice message feature flag ( #1669 )
...
:party
2023-10-27 15:16:32 +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
jonnyandrew
1683049b0c
Ensure deleting pauses audio
2023-10-27 16:05:34 +01:00
jonnyandrew
fca94692f6
Refactor waveform factory function
2023-10-27 16:05:34 +01:00
Marco Romano
d05dd11485
Split VoiceMessageType from AudioMessageType ( #1664 )
...
Currently, for compatibility reasons, we implement MSC3245v1 which puts the voice data inside an audio message type. Though at times it seems impractical to deal with a single message type which effectively represents 2 different kinds of messages.
This PR creates a new message type called `VoiceMessageType` which is used whenever we receive an event with `"msgtype": "m.audio"` which also has the `"org.matrix.msc3245.voice": {}` field. This makes it easier to process voice messages as different entities throughout the rest of the codebase.
2023-10-27 16:02:16 +02:00
David Langley
f1b98e8746
Merge pull request #1659 from vector-im/langleyd/live_waveform
...
Live waveform
2023-10-27 14:41:16 +01:00
David Langley
eb8e6e7dce
Merge branch 'langleyd/live_waveform' of https://github.com/vector-im/element-x-android into langleyd/live_waveform
2023-10-27 13:55:45 +01:00
David Langley
fe2d2554c0
Fix documentation
2023-10-27 13:55:42 +01:00
Benoit Marty
f409b31e8a
Display a single notification for all the fallback notifications.
...
When dismissed, dismiss all the fallback notifications in the model.
2023-10-27 14:55:10 +02:00
David Langley
54f276c125
Merge branch 'develop' of https://github.com/vector-im/element-x-android into langleyd/live_waveform
2023-10-27 13:54:18 +01:00
Marco Romano
1014380e32
Always treat waveform as List<Float> ( #1663 )
...
[MSC3246](https://github.com/matrix-org/matrix-spec-proposals/pull/3246 ) specifies the waveform as a list of ints because:
> Because floating point numbers are not allowed in Matrix events
Though DSP on audio data is almost always done using their floating point representation.
This PR brings the float<->int rescaling in the `matrix` module so that the application code can always work with float waveform samples.
2023-10-27 12:49:58 +00:00
Benoit Marty
2d9d34b41f
Notification: fix issue: clear event only for the matching session.
...
We do not have multi session so the bug is not visible yet.
2023-10-27 14:41:39 +02:00
ElementBot
de011c0dcb
Update screenshots
2023-10-27 12:23:14 +00:00
Marco Romano
e59a6b7ed6
Add missing screenshots in TimelineView ( #1660 )
...
Add audio, voice and poll screenshots to TimelineView which were missing.
2023-10-27 12:18:28 +00: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
David Langley
34dda1b568
Fix naming and waveform previews
2023-10-27 13:06:33 +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
ElementBot
1e6d06c1e5
Update screenshots
2023-10-27 10:42:35 +00: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
David Langley
05c8a286d1
Merge branch 'langleyd/live_waveform' of https://github.com/vector-im/element-x-android into langleyd/live_waveform
2023-10-27 10:56:48 +01:00
David Langley
cd41875c08
Fix tests
2023-10-27 10:56:45 +01: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
ElementBot
e2f6346b44
Update screenshots
2023-10-27 08:51:51 +00:00
David Langley
0c4e7547a2
Merge branch 'develop' into langleyd/live_waveform
2023-10-27 09:37:21 +01:00
David Langley
d0664dae0d
Fix tests
2023-10-27 09:32:05 +01:00
ganfra
723431052f
Merge pull request #1655 from vector-im/renovate/com.google.firebase-firebase-appdistribution-gradle-4.x
...
Update dependency com.google.firebase:firebase-appdistribution-gradle to v4.0.1
2023-10-27 10:30:06 +02:00
Marco Romano
eb223deba1
Move MediaPlayer from messages module to new dedicated library module ( #1654 )
2023-10-27 09:58:17 +02:00
David Langley
7425c3905b
lint
2023-10-27 08:45:20 +01: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
d20ae3f6b9
FIx height and concurrent exception
...
- Fix live waveform hight
- Fix concurrent modification exception when sharing levels
- Tidy up width of live waveform
2023-10-27 08:41:08 +01:00
Benoit Marty
22c7b587a9
Merge pull request #1653 from vector-im/feature/bma/secureBackupSdk
...
SecureBackup: update matrix sdk module.
2023-10-27 09:35:19 +02:00
renovate[bot]
7456d87bde
Update plugin com.google.firebase.appdistribution to v4.0.1 ( #1656 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 08:12:44 +02:00
renovate[bot]
f914de4486
Update dependency com.google.firebase:firebase-bom to v32.4.1 ( #1657 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 07:37:33 +02:00