Commit Graph

286 Commits

Author SHA1 Message Date
yostyle 690059c4e4 Remove matrixsdk import 2022-10-20 09:18:32 +02:00
yostyle 3cad530e50 Add voice broadcast error view 2022-10-20 02:36:27 +02:00
yostyle ba11761d79 Fixes after rebase on develop
Update voice broadcast playback UI
2022-10-20 02:01:01 +02:00
manuroe 58f9feaae1 VB: Support multi chunks playback 2022-10-20 01:45:57 +02:00
manuroe 56bec55080 VB: Make the view model aware of every chunk new coming
this reactive approach will help to cache and reorder them by sequence
2022-10-20 01:45:57 +02:00
manuroe 79ca7b8dc0 Expose better broadcast details to the view
Starting from the sender name but we can add more things. This is up to the design expectation
2022-10-20 01:45:57 +02:00
manuroe e2f41f45f1 VB: Improve playback states 2022-10-20 01:45:57 +02:00
manuroe c51287a490 VB: Playback starts to work but only the first chunk if it is ogg 2022-10-20 01:45:57 +02:00
manuroe 664004eec5 VB: Move view logic to the view model 2022-10-20 01:45:57 +02:00
manuroe 5d198d0d3a Renamed back to VoiceBroadcastPlaybackCoordinator
The logic will be moved to the view model. This file will just serve the SwiftUI view
2022-10-20 01:45:57 +02:00
manuroe eb71a8f34a Rename some existing voice broadcast files to VoiceBroadcastPlayback
Record will happen in separate files
2022-10-20 01:45:57 +02:00
manuroe d7fe686429 Simplify TimelineVoiceBroadcastDetails struct 2022-10-20 01:45:57 +02:00
manuroe 2bce98f1c7 Removed VoiceBroadcastProtocol
We do not need to abstract it
2022-10-20 01:45:57 +02:00
manuroe 9be993e532 Rename TimelineVoiceBroadcastCoordinator to controller
It has nothing todo with a coordinator. Start to follow the same naming as VoiceMessage.

Remove SwiftUI VoiceBroadcastChunk to make it build
2022-10-20 01:45:57 +02:00
yostyle 1c171b61f4 Check user id to prevent fake ckunk 2022-10-20 01:45:57 +02:00
yostyle c0afefb4c8 Add chunks in TimelineVoiceBroadcastDetails 2022-10-20 01:45:57 +02:00
yostyle edca596f49 Add some comments 2022-10-20 01:45:57 +02:00
yostyle 90acfe9a43 Init voice broadcast playing service 2022-10-20 01:45:57 +02:00
Giom Foret 68f2b1cdef Display info dialogs when we prevent the user from starting a new voice broadcast
- Update the existing implementation used to start/stop a voice broadcast in order to handle the different cases where voice broadcast is denied
- Add the optional Voice broadcast action to the new wysiwyg composer
2022-10-20 00:38:42 +02:00
Velin92 d8aae8dee7 Merge pull request #6901 from vector-im/mauroromito/wysiwyg_toolbar_design_improvements
WYSIWYG design improvements
2022-10-17 21:10:44 +02:00
Mauro Romito 8d6a52bbfd spacing improved further 2022-10-17 19:25:17 +02:00
Yoan Pintas 5279338e62 [Voice Broadcast] Aggregate the chunks of voice messages in room timeline (#6891) 2022-10-17 18:23:47 +02:00
Mauro Romito 1e75f69c56 Merge branch 'develop' into mauroromito/wysiwyg_toolbar_design_improvements
# Conflicts:
#	Riot.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	project.yml
2022-10-17 18:13:12 +02:00
Mauro Romito f2ab4922ae updated the swiftpm 2022-10-17 18:11:19 +02:00
Mauro Romito adad2f2bcd designs are perfect now 2022-10-17 17:03:43 +02:00
Mauro Romito 76ffd2fa49 design improvements! 2022-10-17 16:39:42 +02:00
David Langley 21877a9a30 Merge pull request #6897 from vector-im/langleyd/6896_focus_taps_inside_border
Fix tap area being too small on composer
2022-10-17 15:02:09 +01:00
David Langley 99a44cbdb3 Update Wysiwyg dep and use new focused param on WysiwygComposerView 2022-10-17 14:10:02 +01:00
Mauro Romito 61162ed929 better padding 2022-10-17 13:47:33 +02:00
Mauro Romito 3163b9ba0e Revert "ios 16 custom detent"
This reverts commit 63babcf61a.
2022-10-17 13:46:13 +02:00
Mauro Romito 63babcf61a ios 16 custom detent 2022-10-17 12:35:47 +02:00
Mauro Romito f266be4523 the right corner radius value 2022-10-17 11:22:16 +02:00
Mauro Romito 1e364a2040 added the grabber and the corner radius 2022-10-14 18:50:43 +02:00
Mauro Romito f64a77f5a5 updated UI tests 2022-10-14 13:04:32 +02:00
Mauro Romito 158a4bf949 0.15 animation 2022-10-14 12:53:33 +02:00
Mauro Romito dc751cf584 opacity transition implemented 2022-10-14 12:49:13 +02:00
Velin92 ea91f4fb55 Merge pull request #6880 from vector-im/mauroromito/wysiwyg_custom_tint
WYSIWYG: Custom Tint + FIX blinking text when typing very fast in dark mode
2022-10-14 11:47:57 +02:00
Mauro Romito 1ff2a9c00f custom tint + blinking dark theme text color issue fix 2022-10-14 10:45:24 +02:00
David Langley 6f25472dc8 Additional translations and accessiblity labels 2022-10-13 17:03:33 +01:00
David Langley 23365e56ae Merge branch 'langleyd/6830_wysiwyg_core_formatting' of github.com:vector-im/element-ios into langleyd/6830_wysiwyg_core_formatting 2022-10-13 12:19:55 +01:00
Mauro Romito 3d4288803b improved UI tests 2022-10-13 13:06:20 +02:00
Mauro Romito f268b7ecdf unit tests improved! 2022-10-13 13:01:29 +02:00
David Langley 7cab1eaef0 more comment updates 2022-10-13 11:46:00 +01:00
David Langley ca8467e7b0 Updates based on comments. 2022-10-13 11:12:14 +01:00
Mauro Romito 3c73f8cc9c ui test improvements 2022-10-13 03:10:25 +02:00
Mauro Romito 27583b9975 ui tests fix on ci 2022-10-13 02:28:56 +02:00
Mauro Romito f7cf4b515b ui test should work now 2022-10-13 02:16:02 +02:00
Mauro Romito c35f91026a ui tests should now work on CI 2022-10-13 01:27:14 +02:00
Mauro Romito b55fd7a8fe code improvement 2022-10-13 00:23:30 +02:00
Mauro Romito 8057c5766c code improvement 2022-10-13 00:21:03 +02:00