Closed Bug 2036193 Opened 4 months ago Closed 3 months ago

[Feedback MVP] Add feedback modal for thumbs up/down

Categories

(Core :: Machine Learning: Frontend, task)

task

Tracking

()

VERIFIED FIXED
153 Branch
Tracking Status
firefox151 --- wontfix
firefox152 --- verified
firefox153 --- verified

People

(Reporter: jlevinsohn, Assigned: echa)

References

Details

(Whiteboard: [aife])

Attachments

(2 files, 1 obsolete file)

When a user clicks thumbs up or thumbs down, open a feedback modal to collect user input.

  • Feedback UI is only available when pref smartwindow.user_feedback_collection is 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)
    • 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
  • Submitting feedback captures:
    • feedback type (thumbs up / thumbs down)
    • selected reasons
    • freeform text
  • Modal content and layout match design
  • No preview report or JSON display in this version
Assignee: nobody → echa
  • Added a Spotlight-based user feedback modal
  • Wired thumbs up/down interactions in assistant response to open the feedback modal via a new FeedbackModal module
Blocks: 2036194
Blocks: 2034541
Pushed by csabou@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/8a6bec04cd83 https://hg.mozilla.org/integration/autoland/rev/8056c20d2d99 Revert "Bug 2036193 - Add feedback modal for thumbs up/down r=pdahiya,fluent-reviewers,omc-reviewers,hanna_a,bolsson" for causing aboutwelcome related failures.

Backed out for causing aboutwelcome related failures.

Push with failures

Failure log

Backout link

Flags: needinfo?(echa)
Pushed by echa@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/9716e4384230 https://hg.mozilla.org/integration/autoland/rev/b54824282dc0 Add feedback modal for thumbs up/down r=pdahiya,fluent-reviewers,omc-reviewers,hanna_a,bolsson
Blocks: 2040721
Depends on: 2032994

Regenerated the aboutwelcome.css bundle which was required in addition to the asrouter bundle after CSS was split across two files.

Flags: needinfo?(echa)
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch

Verified as fixed in our latest Nightly build 153.0a1 (2026-05-20), please note that this bug only implements the functionality and the Modals UI are not displayed exactly as they are in figma yet.

QA Whiteboard: [qa-ver-needed-c153/b152]
QA Contact: rdoghi
Blocks: 2034586
Blocks: 2040712

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: UI for Modal triggered by thumbs up/thumbs down buttons in Smart Window assistant responses. Without this patch, thumbs up/down buttons will not trigger UI.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: - Open Smart Window and enable pref browser.smartwindow.userFeedbackCollection
  • Chat with assistant
  • Click thumbs up and thumbs down
  • Modal with correct content for positive and negative feedback should appear
  • Risk associated with taking this patch: low
  • Explanation of risk level: Low: feature is gated behind a pref. No other functionality affected.
  • String changes made/needed?: No
  • Is Android affected?: unknown
Attachment #9588701 - Flags: approval-mozilla-beta?
Flags: qe-verify+
  • Added a Spotlight-based user feedback modal
  • Wired thumbs up/down interactions in assistant response to open the feedback modal via a new FeedbackModal module

Original Revision: https://phabricator.services.mozilla.com/D297920

Flags: in-testsuite+
Attachment #9588701 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-ver-needed-c153/b152] → [qa-ver-needed-c153/b152][uplift]

Verified as fixed in our latest Beta 152.0b2

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-ver-needed-c153/b152][uplift] → [qa-ver-done-c153/b152][uplift]
Flags: qe-verify+

firefox-release Uplift Approval Request

  • User impact if declined/Reason for urgency: UI for Modal triggered by thumbs up/thumbs down buttons in Smart Window assistant responses. Without this patch, thumbs up/down buttons will not trigger UI.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: - Open Smart Window and enable pref browser.smartwindow.userFeedbackCollection
  • Chat with assistant
  • Click thumbs up and thumbs down
  • Modal with correct content for positive and negative feedback should appear
  • Risk associated with taking this patch: low
  • Explanation of risk level: Low: feature is gated behind a pref. No other functionality affected.
  • String changes made/needed?: No
  • Is Android affected?: unknown
Attachment #9588993 - Flags: approval-mozilla-release?
Flags: qe-verify+
  • Added a Spotlight-based user feedback modal
  • Wired thumbs up/down interactions in assistant response to open the feedback modal via a new FeedbackModal module

Original Revision: https://phabricator.services.mozilla.com/D297920

Attachment #9588993 - Flags: approval-mozilla-release? → approval-mozilla-release+

Comment on attachment 9588701 [details]
Bug 2036193 - Add feedback modal for thumbs up/down

:echa, see comments on https://phabricator.services.mozilla.com/D302112
The patch failed to land on release due to conflicts.
Bug 2040721 and Bug 2041497 uplifts are blocked since they are in the same stack

Flags: needinfo?(echa)
Attachment #9588701 - Flags: approval-mozilla-beta+ → approval-mozilla-beta?
Attachment #9588701 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9588993 - Flags: approval-mozilla-release+ → approval-mozilla-release?

Thanks :dmeehan! Updated the patch and rebased Bug 2040721 and Bug 2041497

Flags: needinfo?(echa)
Attachment #9588993 - Flags: approval-mozilla-release? → approval-mozilla-release+

Backed out from release due to test failures
Push
Example

Bug 2034623 looks to be a dependency here and is only in 152+

Flags: needinfo?(echa)
Attachment #9588993 - Flags: approval-mozilla-release+ → approval-mozilla-release?
Attachment #9588993 - Flags: approval-mozilla-release? → approval-mozilla-release+
Attachment #9588993 - Attachment is obsolete: true
No longer blocks: 2034586
Flags: needinfo?(echa)
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: