Open feedback modal on thumbs down with reasons and preview JSON report
Categories
(Core :: Machine Learning: Frontend, task)
Tracking
()
People
(Reporter: jlevinsohn, Unassigned)
References
Details
(Whiteboard: [aife])
Attachments
(1 file)
|
47.65 KB,
image/png
|
Details |
When a user clicks thumbs down on an assistant response, open a feedback modal that allows them to select feedback reasons, add optional details, and preview the report payload.
-
Feedback UI (thumbs up/down and modal) is only available when pref
smartwindow.user_feedback_collectionis enabled -
No feedback UI is shown when the pref is disabled
-
Clicking thumbs down opens the feedback modal
-
Modal uses the existing modal component
-
Modal includes:
- title ("Share feedback about this response")
- checkbox-based feedback reasons displayed in two-column layout
- optional freeform textarea ("Please provide details (optional)")
- "Preview report" control
- Cancel button
- Submit button
- close (x) button
-
Feedback reasons match design (e.g. UI Bug, Overactive refusal, Not factually correct, etc.)
-
User can select one or more checkbox reasons
-
User can enter optional freeform feedback
-
Cancel button closes the modal with no action
-
Close (x) button closes the modal with no action
-
Closing the modal does not submit feedback
-
"Preview report" opens a panel showing the full JSON payload that will be sent
-
Preview report panel is scrollable
-
Preview report content is not copyable
-
Preview report reflects the actual payload being prepared for submission, including:
- thumbs direction
- selected reasons
- freeform feedback
- associated response/conversation data
-
Submitting feedback sends response data as JSON to the feedback API
-
Thumbs up and thumbs down feedback use the same API and payload structure
-
API integration should use the platform endpoint once provided
-
Implementation should be structured so API wiring can be completed when endpoint details are available
-
Modal content and behavior match design
-
No regression to existing response actions
Figma Specs
Updated•7 months ago
|
| Reporter | ||
Comment 1•7 months ago
|
||
See this example of the JSON payload.
| Reporter | ||
Updated•7 months ago
|
Description
•