Build feedback modal shell and wire to thumbs actions
Categories
(Core :: Machine Learning: Frontend, task)
Tracking
()
People
(Reporter: jlevinsohn, Assigned: echa)
References
Details
(Whiteboard: [aiasst])
Attachments
(1 file, 3 external files, 3 obsolete files)
|
52.76 KB,
image/png
|
Details |
Build the full feedback modal experience for Smart Window, including structured feedback, preview of the report payload, and submission of complete feedback data.
-
Feedback UI (thumbs up/down and modal) is only available when pref
smartwindow.user_feedback_collectionis enabled -
Clicking thumbs up or thumbs down opens the feedback modal
-
Modal uses the existing modal component
-
Modal includes:
- title
- checkbox-based feedback reasons
- freeform feedback textarea (optional)
- "Preview report" control
- Cancel button
- Submit button
- close (x) button
-
User can select one or more checkbox reasons
-
User can enter optional freeform feedback
-
Cancel and close actions dismiss modal with no submission
-
"Preview report" opens a panel showing the full feedback payload
-
Preview report panel:
- displays full payload (including chat context and metadata)
- is scrollable
- is not copyable
- reflects the exact payload that will be submitted
-
Submitting feedback sends the full payload (as defined in the feedback spec)
-
Payload includes:
- feedback type (thumbs up / thumbs down)
- selected reasons
- freeform feedback
- associated conversation data and metadata
-
Payload generation is shared between preview and submission (no divergence)
-
Modal content and behavior match design
Figma Specs
Updated•7 months ago
|
| Reporter | ||
Comment 1•7 months ago
|
||
See this example of the JSON payload.
| Reporter | ||
Updated•7 months ago
|
- Added a Spotlight-based user feedback modal
- Wired thumbs up/down interactions in AI Window to open the feedback modal via a new FeedbackModal module
- Introduced a new generic TextBox tile to support preview content in AboutWelcome/Spotlight
Updated•7 months ago
|
This patch introduces new textbox and checkbox tiles in About:Welcome, displays a read-only preview of the submitted chat log, and allows users to exclude page content from the report. The submitted chat payload is updated dynamically based on the checkbox state.
Comment 7•5 months ago
|
||
| bugherder | ||
- Add Preview Report support to the Smart Window feedback modal
- Introduce
ContentToggleandTextboxTilecomponents to the ASRouter multistage template - Dynamically update preview and chat log payload based on toggle state
Original Revision: https://phabricator.services.mozilla.com/D305368
Updated•5 months ago
|
- Add Preview Report support to the Smart Window feedback modal
- Introduce
ContentToggleandTextboxTilecomponents to the ASRouter multistage template - Dynamically update preview and chat log payload based on toggle state
Original Revision: https://phabricator.services.mozilla.com/D305368
Updated•5 months ago
|
| Assignee | ||
Comment 10•5 months ago
|
||
Figma designs for reference: https://www.figma.com/design/75Z1LtkCEUJWCxoY2KyNHv/Smart-Window-Q2?node-id=5759-16120&m=dev
Comment 11•5 months ago
|
||
This issue is verified as fixed in our latest Nightly build 154.0a1 (2026-06-24), however I did come across 2 new issues logged here: Bug 2049971 and Bug 2049973.
Updated•5 months ago
|
Updated•5 months ago
|
| Assignee | ||
Comment 12•5 months ago
|
||
- Add Preview Report support to the Smart Window feedback modal
- Introduce
ContentToggleandTextboxTilecomponents to the ASRouter multistage template - Dynamically update preview and chat log payload based on toggle state
Original Revision: https://phabricator.services.mozilla.com/D305368
Updated•5 months ago
|
| Assignee | ||
Comment 13•5 months ago
|
||
- Add Preview Report support to the Smart Window feedback modal
- Introduce
ContentToggleandTextboxTilecomponents to the ASRouter multistage template - Dynamically update preview and chat log payload based on toggle state
Original Revision: https://phabricator.services.mozilla.com/D305368
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Comment 14•5 months ago
|
||
| uplift | ||
Comment 15•5 months ago
|
||
Verified as fixed in our latest Beta Verified as fixed in our latest Beta 153.0b5
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Comment 16•5 months ago
|
||
| uplift | ||
Comment 17•5 months ago
|
||
Verified as fixed in our latest Release 152.0.4
Comment 18•5 months ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: new smart window feedback mechanism
[Affects Firefox for Android]: no
[Suggested wording]: When you provide optional Smart Window response feedback, you can now choose from common reasons and review details.
[Links (documentation, blog post, etc)]: https://www.firefox.com/smart-window is needed to activate the feature and it's region restricted, so we should probably show the "progressive roll out" indicator
Description
•