Tooltip avatar toast buttons#6585
Open
HussainAther wants to merge 1 commit into
Open
Conversation
|
Thank you for the pull request. ROADMAP STATUS: This pull request isn't currently on any roadmap. Updates will be conveyed here as its place on/off a roadmap changes. You can view the roadmaps here: Roadmaps Google Drive folder. For more information on how the roadmaps work, see our roadmaps policy on GitHub. |
a02a932 to
8c2aa9a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Adds tooltips to user profile controls in the 2D people panel (
UserProfileSidebar).Tooltips were added for:
Why?
Issue #6555 notes that the behavior of several moderation and user controls is not always obvious to users.
This PR adds lightweight explanatory tooltips using the existing tooltip pattern already present elsewhere in the 2D UI (Voice, Share, Place, React, Chat, etc.), helping users understand the purpose of these controls without introducing new UI preferences or behavior changes.
Closes #6555.
Examples
Before:
After:
Examples:
How to test
Start Hubs locally.
Enter a room with at least one additional participant.
Open the People panel.
Select another user to open the User Profile sidebar.
Hover over:
Verify that an appropriate tooltip is displayed for each control.
Verify that all controls continue to function normally.
Documentation of functionality
No documentation changes required. This PR adds tooltips to existing UI controls and does not change functionality.
Limitations
This PR only targets controls in the 2D user profile sidebar.
It does not add tooltips to equivalent controls in 3D/in-world menus.
Alternative implementations considered
Adding a broader tooltip preference system was discussed in the issue thread, but this PR intentionally keeps the scope narrow and follows existing tooltip patterns already used in the 2D UI.
Open questions
None.
Additional details or related context
Related issue: #6555
This implementation uses the existing
ToolTipcomponent from@mozilla/lilypad-uifor consistency with other tooltip-enabled controls in the interface.AI tools (Chatgpt) were used in the refining and enhancement of this issue.