Closed Bug 2033011 Opened 7 months ago Closed 7 months ago

Open feedback modal on thumbs down with reasons and preview JSON report

Categories

(Core :: Machine Learning: Frontend, task)

task

Tracking

()

RESOLVED DUPLICATE of bug 2033002

People

(Reporter: jlevinsohn, Unassigned)

References

Details

(Whiteboard: [aife])

Attachments

(1 file)

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_collection is 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

See this example of the JSON payload.

Status: NEW → RESOLVED
Closed: 7 months ago
Duplicate of bug: 2033002
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: