-
Notifications
You must be signed in to change notification settings - Fork 102
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
[Improvement] How to trigger Tooltips in settings #692
Comments
We can create a toggle state in options.tsx, offcourse switch can be positioned at correct place and if required we can position the tooltip to the right-end of the stack-item for readability purpose Options.mp4Does this make sense ? |
Wouldn't it be better to make tooltips on the question icon as @wxharry described. Something similar to what is shown in the screenshot (only with a more appropriate gray/white icon). I think this is the best solution in this case, many projects use this ux pattern in their applications and it will be intuitive to the user. Also, if you need it, I could add the ability to turn off tooltips (by switching the checkbox to the main plugin settings), but I think this is not really necessary if it only appears on hover over the icon |
This comment was marked as resolved.
This comment was marked as resolved.
I have posted the PR and am waiting for edits or acceptance as you will have time to look at it @wxharry |
* feat: add switchable TooltipTrigger to settings page, 💄 * feat: add isTooltipEnabled state and stackStyleOptions const (#692), ♻️ * feat: change cursor css prop to 'help' (#692), 💄 * feat: remove Toggle button and move TooltipTrigger to /components (#692), ♻️ * feat: fix TooltipTrigger styles (#692), ♻️ 💄 * feat: fix defaultStyle for tooltip (#692) 💄 * feat: change cursor to 'default' on tooltip icon 💄
* feat: add switchable TooltipTrigger to settings page, 💄 * feat: add isTooltipEnabled state and stackStyleOptions const (hypertrons#692), ♻️ * feat: change cursor css prop to 'help' (hypertrons#692), 💄 * feat: remove Toggle button and move TooltipTrigger to /components (hypertrons#692), ♻️ * feat: fix TooltipTrigger styles (hypertrons#692), ♻️ 💄 * feat: fix defaultStyle for tooltip (hypertrons#692) 💄 * feat: change cursor to 'default' on tooltip icon 💄
Description
Currently, the tooltips in the settings are triggered directly by hovering on the title container. IMO, it is no a big problem but it would be more intuitive if we could trigger the tooltips by adding a customize icon like this demo. Or, if the tooltips is unnecessary, we could consider removing it.
The text was updated successfully, but these errors were encountered: