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

Feature/tooltip component #190

Merged
merged 5 commits into from
Oct 16, 2024
Merged

Feature/tooltip component #190

merged 5 commits into from
Oct 16, 2024

Conversation

garronej
Copy link
Collaborator

No description provided.

src/Tooltip.tsx Outdated
aria-describedby={id}
id={`tooltip-owner-${id}`}
>
Information contextuelle
Copy link
Collaborator

Choose a reason for hiding this comment

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

should we add transation here ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

should i fix the PR ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes you are welcome to!
This is not my work, I reopenned the PR because I merged it too rearly

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You can see my code review here: #176 (comment)

Copy link
Collaborator

Choose a reason for hiding this comment

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

adressed most of the review comments

Copy link
Collaborator

@revolunet revolunet Oct 7, 2024

Choose a reason for hiding this comment

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

Some things to improve:

  • click only works without children

@revolunet revolunet linked an issue Jan 17, 2024 that may be closed by this pull request
@revolunet
Copy link
Collaborator

@garronej oy! je peux pas te mettre en reviewer mais le coeur y est :)

@garronej
Copy link
Collaborator Author

Top @revolunet, merci beaucoup!

Juste un petit tips au passage quand on implémente des test type level de l'API il est aussi important de vailider qu'on à pas d'erreur de compilation que validé le fait qu'on ai des érreur de compilations attendu quand l'API n'est pas utiliser correctement.

Example:

function foo(x: number){}

// @ts-expect-error: Can't pass a string as argument
foo("");

@garronej garronej merged commit c560412 into main Oct 16, 2024
6 checks passed
@garronej garronej deleted the feature/tooltip-component branch October 16, 2024 11:11
@garronej garronej restored the feature/tooltip-component branch October 16, 2024 11:12
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.

Working on Tooltip component
3 participants