Add feedback popover with comment for AI responses#31
Conversation
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
There was a problem hiding this comment.
Code Review
This pull request introduces new UI components for Checkbox and Popover using @base-ui/react primitives. Feedback focuses on improving the robustness and usability of these components, specifically by ensuring the Checkbox maintains a visible error state when checked, adding React.forwardRef to PopoverContent for better DOM access, and expanding the PopoverContent props to support more advanced positioning features.
Co-authored-by: MrOrz <108608+MrOrz@users.noreply.github.com>
Co-authored-by: MrOrz <108608+MrOrz@users.noreply.github.com>
Co-authored-by: MrOrz <108608+MrOrz@users.noreply.github.com>
3d1df9e to
9d386ec
Compare
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
Adds a Shadcn UI Popover and Checkbox to the
FeedbackButtonscomponent. This allows users to provide additional comment alongside their thumbs-up/down score, using a list of predefined reasons and a custom text area. Also handles clearing the feedback if the user clicks the same button again.Feedback options
thumbs up
語氣適合、篇幅適中、出處精準、具有說服力
thumbs down
篇幅過長、篇幅過短、沒抓到重點、出處不足、回應文字與出處不符、提供不存在的出處、出處摘要錯誤
Cap.2026-05-03.at.03.00.06.mp4