Commit Graph

746 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
Stefan Ceriu 0bd6c4aea2 Check and mark the received MSK as trusted before locally verifying the existing device 2022-10-18 12:15:47 +03:00
Stefan Ceriu 11a4a7dc11 Fix incorrect Task creation for processing scanned qr codes 2022-10-18 12:13:14 +03:00
Hugh Nimmo-Smith a8ecfe5205 Use unstable prefixes for QR code login 2022-10-18 09:13:21 +03: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
Alfonso Grillo 2076a3d97f Merge pull request #6898 from vector-im/alfogrillo/fix_session_details
Filter out application section in session details (PSG-898)
2022-10-17 19:49:47 +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
Velin92 151e316e1d Merge pull request #6895 from vector-im/mauroromito/wysiwyg_bottom_action_sheet_design_improvements
wysiwyg bottom action sheet design improvements
2022-10-17 15:43:19 +02:00
Alfonso Grillo 9e96068f3f Filter out application section if needed 2022-10-17 15:38:54 +02: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
Aleksandrs Proskurins 328877e93c Merge pull request #6882 from vector-im/aleksandrs/6881_identify_inactive_sessions
Device manager: Identify inactive sessions.
2022-10-17 11:38:48 +03: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
Aleksandrs Proskurins fd7d1a5021 Identify inactive sessions 2022-10-14 12:16:12 +03:00
Mauro Romito 1ff2a9c00f custom tint + blinking dark theme text color issue fix 2022-10-14 10:45:24 +02:00
Aleksandrs Proskurins 7dd21088f0 Merge pull request #6878 from vector-im/aleksandrs/6877_navigation_fix
Device Manager: Navigating to session overview goes to session details
2022-10-14 11:01:42 +03:00
David Langley 9318ee2635 Merge pull request #6875 from vector-im/langleyd/6873_accessibility_labels
WYSIWYG: Accessibility labels
2022-10-14 08:49:20 +01:00
Aleksandrs Proskurins 8614315c00 Navigating to session overview goes to session details 2022-10-14 09:21:17 +03:00
Stefan Ceriu a776a764ed Login against the homeserver provided through the QR code 2022-10-13 20:49:32 +03:00