Phase 1 DAP User Feedback: Binary Feedback
## Problem to solve
Users need a quick, non-intrusive way to share feedback that fits seamlessly into their workflow. This will provide us with actionable product signals, helping us identify areas for improvement and address shortcomings more effectively.
## Phase 1: Binary Feedback Foundation: establish baseline sentiment tracking without workflow disruption
Goal: add on to our existing schema for each chat by adding two new fields
* Simple thumbs up/down on each Duo response (see designs provided)
* For each chat conversation (adding on to existing telemetry we already send for chats)
* `feedback_type`: thumbs_up, thumbs_down
* feedback timestamp
<details>
<summary>
## Proposed Design
</summary>
{width=900 height=401}
</details>
- Create an AI action bar at the bottom of the most recent response.
- The thumbs up/down icons should use the same visual styling as other action buttons, like copy.
- When a user clicks thumbs up, the button should highlight in a success color (green) and remain visually active (similar to copy).
- When thumbs down is selected, the button should highlight in a warning color (orange/red).
- We should move the copy action to this action bar.
## Out of scope for this issue:
### Sentiment Correlation Logic (separate issue)
How will this data be used?
* We'll create a sentiment score based on the following factors (not inclusive list, but a baseline for calculation).
* Thumbs up or down
* Time to feedback
* First action of chat (already captured)
* Last action of chat (already captured)
* Chat response time (already captured)
* Tool calls made (already captured)
issue