Commit 68932f0
authored
v5: [Composer Redesign] Voice Recording (#1267)
* Add snack bar notifications on voice recording flow
* Recording view redesign
* Handle voice recording gestures
* Improve gesture animations
* Fix shimmering effect in Slide to cancel label
* Redesign recording state
* Improve lock animation
* Do some cleanup and refactoring
* Fix keyboard and attachment picker edge cases
* Merge `LockedView` and `RecordingView` into `ComposerVoiceRcordingInputView`
* Improve hold recording UX
* Fix microphone icon to not being filled
* Use the ConfirmEditButton when publishing voice recording
* Hide lock view after the recording is locked
* Hide microphone when recording is stopped
* Update trash and stop icon sizes
* Fix additional spacing in playback controls
* Add accent color to the audio duration text when it is playing
* Add custom slider thumb
* Add test coverage
* Redesign the voice recording composer attachment view
* Fix waveform not having the same slider thumb
* Overall refactoring and cleanup
* Rename composer voice recording attachment view to follow the rest of the patterns
* Move VoiceRecording attachment folder
* Fix dismiss overlay in composer recording attachment view
* Update Message View voice recording attachment
* Fix current user voice recording attachment view not having blue borders
* Reuse the play-pause button
* Fix color of control border colors
* Fix swipe to reply being triggered when sliding voice recording progress view
* Minor cleanups
* PR feedback cleanup
* Some more PR cleanups
* Refactor gesture location state
* Cache the roundedSliderThumbImage
* Add active and inactive slider thumb versions
* Do not use env object for the view model
* Add audio playing snapshots
* Re record snapshots
* Remove recording label and fix ForEach index
* Reuse composer voice recording animation
* Fix demo app not compiling
* Fix not able to send regular messages
* Remove view model from CompoerVoiceRecordingInputVIew
* Fix E2E Test for edit button1 parent 5f003f8 commit 68932f0
File tree
94 files changed
+1651
-707
lines changed- DemoAppSwiftUI
- Sources/StreamChatSwiftUI
- ChatComposer
- Attachments
- VoiceRecording
- VoiceRecording
- ChatMessageList
- AsyncVoiceMessages
- CommonViews
- Generated
- Resources/en.lproj
- Utils
- ViewFactory
- Options
- StreamChatSwiftUITests/Tests
- ChatChannel
- __Snapshots__
- MessageComposerView_Tests
- MessageView_Tests
- Utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
94 files changed
+1651
-707
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| 99 | + | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
103 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
104 | 111 | | |
105 | 112 | | |
106 | 113 | | |
| |||
Lines changed: 119 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
0 commit comments