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

feat: tooltip help content #715

Merged
merged 8 commits into from
Apr 15, 2024
Merged

feat: tooltip help content #715

merged 8 commits into from
Apr 15, 2024

Conversation

hamed-musallam
Copy link
Contributor

No description provided.

Copy link

cloudflare-pages bot commented Apr 8, 2024

Deploying react-science with  Cloudflare Pages  Cloudflare Pages

Latest commit: b50e966
Status: ✅  Deploy successful!
Preview URL: https://025da8a0.react-science.pages.dev
Branch Preview URL: https://tooltip-template.react-science.pages.dev

View logs

@hamed-musallam hamed-musallam linked an issue Apr 8, 2024 that may be closed by this pull request
@targos
Copy link
Member

targos commented Apr 8, 2024

I don't understand the name. Why "Template" ?

@hamed-musallam
Copy link
Contributor Author

I don't understand the name. Why "Template" ?

It is not easy to get a good name for the component, I use Template because the component is a new layout for the tooltip, Do you have any alternative suggestions?

Copy link
Contributor

@stropitek stropitek left a comment

Choose a reason for hiding this comment

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

I'd describe the component as "a component to display - within a tooltip - in context help / documentation for an action in the application"

Base on that I can come up with this name:

TooltipHelpContent

Content in the name is important to help make the difference with just Tooltip which refers to a component handling both the target and the content.

src/components/toolbar/TooltipTemplate.tsx Outdated Show resolved Hide resolved
@hamed-musallam hamed-musallam changed the title feat: tooltip template feat: tooltip help content Apr 8, 2024
@hamed-musallam hamed-musallam merged commit 287f1c3 into main Apr 15, 2024
12 checks passed
@hamed-musallam hamed-musallam deleted the tooltip-template branch April 15, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement toolbar tooltip
3 participants