-
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
feat: add tooltip trigger #694
Conversation
Hi, Vladislav. Thanks for your contribution. You've open a PR before we could fully discuss. Here are my feedback on this PR:
If you have any questions, feel free to comment below or contact us on slack. Again, thanks for your interests and contributions to the project. 😄 |
Hi, Harry) Sure, i can move the icon like on your screnshot and edit tooltip area how on it, also remove switch. |
Is the current icon right for you? @wxharry |
I was expecting an information mark like in the previous screenshot if possible.
I understand. I was expecting it to be resuable because we are planning some new features in this option page, so we might reuse the tooltips in the near future.
Sure. For example, you could refer to |
1c4f5cd
to
dc8df59
Compare
Are there any other changes needed to the current version or will we be able to close this PR soon? @wxharry |
Slow down. Thanks for your passion but there is no need to rush. I am running some tests and thinking about some improvements. |
Of course, I'll just find out if any more updates are needed, I will check this thread once a day to find out |
It's fine if we cannot make it transparent. just make it to the default style as before will do. |
I'm update MR and fix default style for TooltipTrigger @wxharry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good to me, except that it feels unnatural to me change the cursor to a question mark when hovering over the icon. Could you remove it?
I understand this style given by the demo I previously provided. Sorry for letting you change the style again and again!
@wxharry Okay, no problem. I can change to default cursor style, sorry for awaiting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks!
/approve
* 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 💄
Brief Information
This pull request is in the type of (more info about types):
Related issues (all available keywords):
Details
Checklist
Others
Demo:
https://github.com/hypertrons/hypertrons-crx/assets/32329117/788d1878-9dcb-4a8c-99fd-e4d76924c825