-
Notifications
You must be signed in to change notification settings - Fork 443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(SpeakingWhileMutedWarner): show warning in the popup #14152
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Maksim Sukharev <[email protected]>
backport to stable30 |
@@ -182,6 +194,7 @@ export default { | |||
data() { | |||
return { | |||
screenSharingMenuOpen: false, | |||
speakingWhileMutedWarner: null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of mounted, if it doesn't require the button bar to be mounted to DOM.
Then no need for second re-render after mounting from ?.
speakingWhileMutedWarner: null, | |
speakingWhileMutedWarner: new SpeakingWhileMutedWarner(this.model), |
<NcPopover :boundary="boundaryElement" | ||
:show-triggers="[]" | ||
:hide-triggers="['click']" | ||
:auto-hide="false" | ||
:focus-trap="false" | ||
:shown="speakingWhileMutedWarner?.showPopup"> | ||
<template #trigger> | ||
<LocalAudioControlButton :token="token" | ||
:conversation="conversation" | ||
:model="model" | ||
type="tertiary" /> | ||
</template> | ||
<div class="hint"> | ||
<span>{{ speakingWhileMutedWarner?.message }}</span> | ||
</div> | ||
</NcPopover> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about viewer overlay? Maybe make it a part of the LocalAudioControlButton
?
☑️ Resolves
🖌️ UI Checklist
🖼️ Screenshots / Screencasts
🏁 Checklist