Closed Bug 1805928 Opened 1 year ago Closed 1 year ago

Enable dismissing from all screens in multistage Spotlight messages

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
111 Branch
Iteration:
111.1 - Jan 16 - Jan 27
Tracking Status
firefox111 --- verified

People

(Reporter: mviar, Assigned: mviar)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Currently, there is no special message action that allows a user to close a multistage Spotlight message. Previous uses of the dismiss button component have relied on setting the action with "navigate: true". This only closes the modal if the user is on the last screen of a multistage message or if the message only has one screen.

To support this behavior we might add a new special message action. A "CANCEL" action already exists, but the behavior is slightly different than what we want here and only works for CFRs.

Priority: -- → P3
Assignee: nobody → mviar
Attachment #9310710 - Attachment description: WIP: Bug 1805928 - Add Special Message Action to dismiss a Spotlight modal → Bug 1805928 - Add Special Message Action to dismiss a Spotlight modal
Attachment #9310710 - Attachment description: Bug 1805928 - Add Special Message Action to dismiss a Spotlight modal → WIP: Bug 1805928 - Add Special Message Action to dismiss a Spotlight modal
Attachment #9310710 - Attachment description: WIP: Bug 1805928 - Add Special Message Action to dismiss a Spotlight modal → Bug 1805928 - Add Special Message Action to dismiss a Spotlight modal
Attachment #9310710 - Attachment description: Bug 1805928 - Add Special Message Action to dismiss a Spotlight modal → WIP: Bug 1805928 - Add Special Message Action to dismiss a Spotlight modal
Attachment #9310710 - Attachment description: WIP: Bug 1805928 - Add Special Message Action to dismiss a Spotlight modal → Bug 1805928 - Add Special Message Action to dismiss a Spotlight modal
Attachment #9310710 - Attachment description: Bug 1805928 - Add Special Message Action to dismiss a Spotlight modal → Bug 1805928 - Add dimiss action to about welcome to allow dismissing from all multistage Spotlight modal screens
Attachment #9310710 - Attachment description: Bug 1805928 - Add dimiss action to about welcome to allow dismissing from all multistage Spotlight modal screens → WIP: Bug 1805928 - Add dimiss action to about welcome to allow dismissing from all multistage Spotlight modal screens
Attachment #9310710 - Attachment description: WIP: Bug 1805928 - Add dimiss action to about welcome to allow dismissing from all multistage Spotlight modal screens → Bug 1805928 - Add dimiss action to about welcome to allow dismissing from all multistage Spotlight modal screens
Iteration: --- → 111.1 - Jan 16 - Jan 27
Priority: P3 → P1
Pushed by mviar@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6928cc53a68d
Add dimiss action to about welcome to allow dismissing from all multistage Spotlight modal screens r=omc-reviewers,emcminn
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch

I‘ve verified this enhancement using the latest Firefox Nightly 111.0a1 (Build ID: 20230130214413) on Windows 10 x64, macOS 11.7.1, and Ubuntu 22.04 x64.

  • After following the steps from this Test Plan, I can confirm the following:
    • A “DISMISS” ping is displayed on the Browser Console after dismissing the “MULTISTAGE_SPOTLIGHT_MESSAGE” message by pressing the “Esc” key, clicking the “X” button or clicking on the primary button (Its action is set to { "dismiss": true }).
    • This event is registered whether the message is set as a window or tab modal.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: