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

Add ui/tooltip stories #891

Closed
thaisguigon opened this issue Jul 24, 2023 · 1 comment · Fixed by #966
Closed

Add ui/tooltip stories #891

thaisguigon opened this issue Jul 24, 2023 · 1 comment · Fixed by #966
Assignees
Labels
type: documentation Improvements or additions to documentation

Comments

@thaisguigon
Copy link
Contributor

thaisguigon commented Jul 24, 2023

Add Storybook stories for components in the modules/ui/tooltip folder:

  • AppTooltip
    ➡️ Default story which renders a "Hover me" button with a tooltip. Use ComponentDecorator as a decorator and add a play function to test hovering the button.
    ➡️ Catalog story which renders all possibilities for the place prop : left, bottom, top and right. Use CatalogDecorator and the catalog parameter. Use args : isOpen: true to force open tooltips.

  • OverflowingTextWithTooltip
    ➡️ Default story. Use ComponentDecorator as a decorator. Use args : text: [insert here a long Lorem ipsum paragraph] and add a play function to test hovering the text.

See http://localhost:6006/?path=/docs/ui-chip-chip--docs example (Default component with control + Catalog)

@thaisguigon thaisguigon added the type: documentation Improvements or additions to documentation label Jul 24, 2023
@thaisguigon thaisguigon moved this from 🆕 New to 📋 Backlog in Product development ✅ Jul 24, 2023
@gitstart-app
Copy link
Contributor

gitstart-app bot commented Jul 24, 2023

Here is the GitStart Ticket for this issue: https://clients.gitstart.com/twenty/5449/tickets/TWNTY-891

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants