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: display tooltip when selection is disabled #12439

Merged
merged 5 commits into from
Mar 7, 2024
Merged

Conversation

f0ssel
Copy link
Contributor

@f0ssel f0ssel commented Mar 6, 2024

Screenshot is missing mouse but this is on hover.

image image

@f0ssel f0ssel changed the title fix: display tooltip on disable select fix: display tooltip when selection is disabled Mar 6, 2024
@f0ssel f0ssel requested a review from kylecarbs March 6, 2024 14:25
@f0ssel f0ssel enabled auto-merge (squash) March 6, 2024 14:35
@f0ssel f0ssel disabled auto-merge March 6, 2024 15:18
@BrunoQuaresma
Copy link
Collaborator

I don't know if a tooltip is a good option here since it is a popover on top of the other 2 popovers. Ports popover -> Sharing level menu -> Toopltip.

The menu items can accept any React elements so I think the content in the tooltip could be an item description like the email in the image below:

Screenshot 2024-03-07 at 10 57 03

Wdyt?

Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma left a comment

Choose a reason for hiding this comment

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

I will leave it to you to decide if a tooltip would be better than what I suggested in the previous comment.

@f0ssel
Copy link
Contributor Author

f0ssel commented Mar 7, 2024

I do like your suggestion, but I think we can leave it for when we take another look at this design, and we can live with the tooltip for now. Thanks for the review.

@f0ssel f0ssel merged commit d2a74cf into main Mar 7, 2024
24 checks passed
@f0ssel f0ssel deleted the f0ssel/disable-tooltip branch March 7, 2024 15:43
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants