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

Improve and reverse wording of microphone toggle button (participants) #13241

Conversation

Jerome-Herbinet
Copy link
Member

I need reviewers to test it.

Go to the grid participants' view and check the microphone icon at the bottom right corner of the participant.

  • If microphone is ON, tooltip should be "Mute".
  • If microphone is OFF, tooltip should be "Unmute".

The main goal of this PR is to make sure that the tooltips' wordings indicate an action but not a state.

☑️ Resolves

  • Fix #…

🖌️ UI Checklist

🖼️ Screenshots / Screencasts

🏚️ Before 🏡 After
Screenshot before Screenshot after

🚧 Tasks

  • ...

🏁 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
  • ⛑️ Tests are included or not possible
  • 📗 User documentation in https://github.com/nextcloud/documentation/tree/master/user_manual/talk has been updated or is not required

🛠️ API Checklist

🚧 Tasks

  • ...

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • 📘 API documentation in docs/ has been updated or is not required
  • 🔖 Capability is added or not needed

@@ -212,8 +212,8 @@ export default {
},
audioButtonTooltip() {
return this.model.attributes.audioAvailable
? t('spreed', 'Mute')
Copy link
Contributor

@Antreesy Antreesy Sep 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is correct for moderators. They have option to switch muted state for participant (it show Mute as an action)
image
But it happens remotely, so moderators can't turn it back (it is disabled and show Muted as a state):
image

Normal participants don't see this button at all

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, so please check my last commit.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, it was correct (as per screenshots).
this.model.attributes.audioAvailable === true => button is active => tooltip indicates action 'Mute'
this.model.attributes.audioAvailable === false => button is disabled => tooltip indicates state 'Muted'

Am I missing something?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry, I must be pretty tired already at the beginning of the week. It's not your fault, it's mine ; my neurons aren't doing their job properly 😅, because I don't quite understand our conversation.

Just tell me what I need to change and I'll make a final commit.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there's something needed to be changed)

If microphone is ON, tooltip should be "Mute".
If microphone is OFF, tooltip should be "Muted".

Copy link
Member Author

@Jerome-Herbinet Jerome-Herbinet Sep 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK I suggest closing the PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. But thanks for the effort anyway! If you'll find something else, don't hesitate to drop us a message in community chats

@Antreesy Antreesy closed this Sep 9, 2024
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.

2 participants