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(frontend): Add ThoughtsButton component for displaying thoughts #2624

Merged
merged 6 commits into from
May 28, 2024

Conversation

StanGirard
Copy link
Collaborator

This pull request adds a new component called ThoughtsButton for displaying thoughts in the chat messages. The ThoughtsButton component is used to show a tooltip with the thoughts text when the user hovers over the button.

Copy link

vercel bot commented May 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
quivrapp ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 28, 2024 11:57am

@StanGirard StanGirard requested a review from Zewed May 28, 2024 10:29
@StanGirard StanGirard marked this pull request as ready for review May 28, 2024 10:29
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. area: frontend Related to frontend functionality or under the /frontend directory labels May 28, 2024
Comment on lines 19 to 24
<button
onMouseEnter={() => setIsHovered(true)}
onMouseLeave={() => setIsHovered(false)}
>
<Icon name="question" size={size} color={isHovered ? "primary" : "black"} />
</button>
Copy link
Collaborator

Choose a reason for hiding this comment

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

tu peux remplacer button par div ici :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

et pour Icon, tu peux mettre plutot color="black" et handlHover={true} comme ca tu te fais pas chier avec le isHovered setIsHovered

@StanGirard StanGirard merged commit e6531f1 into main May 28, 2024
2 of 3 checks passed
@StanGirard StanGirard deleted the feat/thoughts-button branch May 28, 2024 11:56
Copy link

sonarcloud bot commented May 28, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

StanGirard added a commit that referenced this pull request May 28, 2024
🤖 I have created a release *beep* *boop*
---


## 0.0.257 (2024-05-28)

## What's Changed
* Add Privacy & Compliance Documentation by @StanGirard in
#2620
* docs(security): added compliance by @StanGirard in
#2621
* fix(frontend): upgrade button on user page by @Zewed in
#2623
* feat(frontend): Add ThoughtsButton component for displaying thoughts
by @StanGirard in #2624


**Full Changelog**:
v0.0.256...v0.0.257

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: frontend Related to frontend functionality or under the /frontend directory size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants