Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Antreesy
Copy link
Contributor

☑️ Resolves

🖌️ UI Checklist

🖼️ Screenshots / Screencasts

🏚️ Before 🏡 After
image image

🏁 Checklist

  • 🌏 Tested with different browsers / clients:
    • Chromium (Chrome / Edge / Opera / Brave)
    • Firefox
    • Safari
    • Talk Desktop
    • Not risky to browser differences / client
  • 🖌️ Design was reviewed, approved or inspired by the design team

@Antreesy
Copy link
Contributor Author

backport to stable30

@@ -182,6 +194,7 @@ export default {
data() {
return {
screenSharingMenuOpen: false,
speakingWhileMutedWarner: null,
Copy link
Contributor

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 ?.

Suggested change
speakingWhileMutedWarner: null,
speakingWhileMutedWarner: new SpeakingWhileMutedWarner(this.model),

Comment on lines +46 to +61
<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>
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make 'speak while muted' a tooltip again
2 participants