Florian Renaud
d7791402b7
Fix unit tests
2022-10-31 15:18:24 +01:00
Florian Renaud
a06efb7abd
Fix lint issues
2022-10-31 10:58:09 +01:00
Florian Renaud
362696cfc8
VoiceBroadcast - Show error dialog if user is not able to record a voice broadcast
2022-10-28 10:43:34 +02:00
Florian Renaud
838e11c167
rename observeIncomingEvents method and reorder some methods
2022-10-28 10:43:05 +02:00
Florian Renaud
3fcac097d3
VoiceBroadcastPlayer - Fetch playlist in dedicated use case and improve player
2022-10-27 23:50:21 +02:00
Florian Renaud
174ba4f4cc
VoiceBroadcastPlayer - Create player interface and move implementation to dedicated class
2022-10-27 16:54:32 +02:00
jonnyandrew
c776aae9d0
[Rich text editor] Add plain text mode and new attachment UI ( #7459 )
...
* Add new attachments selection dialog
* Add rounded corners to bottom sheet dialog.
Note these are currently only visible in the collapsed state.
- [Google issue](https://issuetracker.google.com/issues/144859239 )
- [Rejected PR](https://github.com/material-components/material-components-android/pull/437 )
- [Github issue](https://github.com/material-components/material-components-android/issues/1278 )
* Add changelog entry
* Remove redundant call to superclass click listener
* Refactor to use view visibility helper
* Change redundant sealed class to interface
* Remove unused string
* Revert "Add rounded corners to bottom sheet dialog."
This reverts commit 17c43c9188
.
* Remove redundant view group
* Remove redundant `this`
* Update rich text editor to latest
* Update rich text editor version
* Allow toggling rich text in the new editor
* Persist the text formatting setting
* Add changelog entry
2022-10-26 18:37:40 +02:00
Florian Renaud
bdfc96ff66
Fix merge conflicts
2022-10-26 16:36:51 +02:00
Florian Renaud
cb5fc75c5d
GetOngoingVoiceBroadcastsUseCase: Return empty list if there is no session
2022-10-26 16:08:03 +02:00
Florian Renaud
c20f6fe326
GetOngoingVoiceBroadcastsUseCase: Remove debug logs
2022-10-26 16:07:38 +02:00
Florian Renaud
6ee77ad101
Merge pull request #7450 from vector-im/feature/fre/voice_broadcast_stop_on_app_restart
...
Voice Broadcast - Stop recording on app restart
2022-10-26 15:49:32 +02:00
Jorge Martin Espinosa
d242ab049b
[Rich text editor] Implement full screen editor mode (simple approach) ( #7436 )
...
* Rich text editor: implement full screen editor mode using ConstraintSets
* Add back press handler
* Change ToggleFullScreen to SetFullScreen, fix rebase issues
* Add warning to fragment_timeline* files
2022-10-26 15:15:48 +02:00
Florian Renaud
0cc2a477b4
Mockk GetOngoingVoiceBroadcastsUseCase and adapt tests
2022-10-26 14:54:55 +02:00
Florian Renaud
23b4f6d42f
Inject ActiveSessionHolder in GetOngoingVoiceBroadcastsUseCase
2022-10-26 12:49:51 +02:00
Florian Renaud
443d573205
Remove getOngoingVoiceBroadcasts from VoiceBroadcastHelper
2022-10-26 12:48:32 +02:00
Florian Renaud
5855fe1242
Add StopOngoingVoiceBroadcastUseCase
2022-10-26 12:44:38 +02:00
Florian Renaud
2f14d19130
Fix failing test
2022-10-26 12:44:37 +02:00
Florian Renaud
65a5ae9d3d
Merge pull request #7449 from vector-im/feature/fre/voice_broadcast_device_id
...
Voice Broadcast - Do not display the recording tile on the other sessions
2022-10-26 11:54:02 +02:00
Florian Renaud
1554d79f1a
Change listeners Map variable to immutable
2022-10-26 10:48:11 +02:00
Florian Renaud
8fe3b5e750
Rename method renderPlayingState to renderRecordingState
2022-10-26 10:46:33 +02:00
Florian Renaud
6091ec4ce3
Fix wrong content description
2022-10-26 10:45:25 +02:00
Florian Renaud
ec80adc8aa
Rename usecase file
2022-10-26 10:10:56 +02:00
Florian Renaud
47047b2034
move map operator in a new line
2022-10-26 10:00:56 +02:00
Florian Renaud
85bc78bd72
Do not pause already paused voice broadcast
2022-10-26 09:50:58 +02:00
Florian Renaud
6eeb54ae40
Stop ongoing voice broadcast on app restart
2022-10-26 09:46:23 +02:00
Florian Renaud
c7c05d1fe6
Add check on deviceId before showing recording tile
2022-10-25 17:54:26 +02:00
Florian Renaud
513097585a
Fix kdoc issue
2022-10-25 17:38:05 +02:00
Florian Renaud
649747bbb8
Move voice broadcast item attributes to dedicated class
2022-10-25 16:32:44 +02:00
Florian Renaud
f31429cf25
Rename renderLiveIcon method
2022-10-25 16:32:44 +02:00
Florian Renaud
2c144614ca
Improve recording state rendering if app has been relaunched
2022-10-25 16:32:44 +02:00
Florian Renaud
a7c24b23a0
Improve VoiceBroadcastItemFactory
2022-10-25 16:31:25 +02:00
Florian Renaud
4defc3dded
Voice Broadcast - Add style for the "live" indicator
2022-10-25 16:31:25 +02:00
Florian Renaud
1566adb669
Timeline - Add abstraction on voice broadcast items
2022-10-25 16:31:24 +02:00
Florian Renaud
6a88c61d12
Group voice broadcast controller buttons in a Flow
2022-10-25 16:31:24 +02:00
Florian Renaud
926f4d9201
Fix play/pause button disabled
2022-10-20 23:58:17 +02:00
Florian Renaud
34cafa373f
Add missing content description
2022-10-20 23:43:33 +02:00
Florian Renaud
4a76998c98
Use CopyOnWriteArrayList
2022-10-20 23:28:33 +02:00
Florian Renaud
f2cc08263f
Call onClick instead of setOnClickListener
2022-10-20 23:28:33 +02:00
Florian Renaud
9a96de4f06
Set id to VoiceBroadcast items
2022-10-20 23:28:33 +02:00
Florian Renaud
930c856728
Add additional information in listening tile
2022-10-20 23:28:32 +02:00
Florian Renaud
72a1acec89
Fix voice broadcast state update on wrong thread
2022-10-20 23:28:32 +02:00
Florian Renaud
6ff7a7f3ae
Update buffering view
2022-10-20 23:28:32 +02:00
Florian Renaud
9c5b6d8207
Fix null voiceBroadcastId when the playlist is empty
2022-10-20 23:28:32 +02:00
Florian Renaud
cebc096ac7
VoiceBroadcast - Update live indicator icon
2022-10-20 23:28:32 +02:00
Florian Renaud
f711a0ea74
VoiceBroadcast - Listening view
2022-10-20 23:28:32 +02:00
Florian Renaud
f1b4ebbc37
VoiceBroadcast - Introduce listening view
2022-10-20 23:28:32 +02:00
Florian Renaud
4c71209573
VoiceBroadcast - Add recording view
2022-10-20 23:28:31 +02:00
yostyle
0a9f2bfa0a
Fix some PR comments
2022-10-20 23:03:28 +02:00
Florian Renaud
05eeef9dfe
VoiceBroadcastListener - Handle end of live listening
2022-10-20 23:03:28 +02:00
Florian Renaud
bafa2f8bde
VoiceBroadcastRecorder - Send last sequence number on pause and stop
2022-10-20 23:03:28 +02:00