Closed Bug 2076799 Opened 1 month ago Closed 1 month ago

Add a fire button to the toolbar that deletes browsing data and opens a fresh window

Categories

(Firefox :: Toolbars and Customization, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: jleritte, Assigned: jleritte)

References

(Blocks 1 open bug)

Details

Attachments

(4 external files)

Add a fire-button toolbar widget for normal (non-private) windows. It deletes browsing data, then closes every open window and opens a new one. It is gated by the fireButton Nimbus feature from bug 2074891: when browser.fireButton.enabled is first true the button is added to the navigation toolbar once, and a removed button is not added back.

The flow variable picks what pressing the button does:

  • panel: a confirmation panel with its own delete action and a "Choose..." link into the "Delete browsing data" dialog.
  • direct: opens that dialog straight away.

The patch also:

  • Updates the clear-data dialog: "Delete browsing data" title, a "Delete" button with destructive styling, and a close button.
  • Adds a hover animation to the button icon.
  • Adds Glean events fire_button.activated and fire_button.flow_completed (interaction data: the flow in effect and how it ended) to compare the two flows.

PRD: https://docs.google.com/document/d/1sLUTIodnUsYva5BFV0cF0JiJa7kAvWrpzIG4S8w2V8c/edit?usp=sharing

The fireButton Nimbus feature from bug 2074891 gates the widget and picks
between the panel and direct flows; the Glean events compare the two.

Assignee: nobody → jleritte
Status: NEW → ASSIGNED

The fire button opens this dialog to delete data, so its title and confirm
button now say so. Clear on shutdown only saves preferences and keeps its
existing wording.

Exposure on press could never fire in the control branch, which has no
button. The enrollment is remembered in a pref because the button is only
created or left out at startup, so the session that enrolls must not count.

See Also: → 2081506
Pushed by kandres@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7e0245409008 https://hg.mozilla.org/integration/autoland/rev/a18d772de46a Use delete wording, a close button and destructive styling in the clear browsing data dialog. r=desktop-theme-reviewers,fluent-reviewers,akulyk,emz,flod https://github.com/mozilla-firefox/firefox/commit/0c3b0ab27a91 https://hg.mozilla.org/integration/autoland/rev/568de0502d01 Add a fire button to the toolbar that deletes browsing data and opens a fresh window. r=desktop-theme-reviewers,fluent-reviewers,janerik,dao,bolsson https://github.com/mozilla-firefox/firefox/commit/d9faae5f5de5 https://hg.mozilla.org/integration/autoland/rev/8c36261b81e4 Animate the fire button icon on hover. r=desktop-theme-reviewers,kcochrane,sfoster
Regressions: 2082680
Pushed by kandres@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/81c35398c176 https://hg.mozilla.org/integration/autoland/rev/b9e555460240 Record fire button exposure at the first startup after enrollment, in every branch. r=nimbus-reviewers,beth
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
No longer regressions: 2082680
See Also: → 2083944
See Also: → 2084245
See Also: → 2084382
See Also: → 2084383
See Also: → 2085050
QA Whiteboard: [qa-ver-needed-c161/b160]
QA Whiteboard: [qa-ver-needed-c161/b160] → [qa-triage-done-c160/b159]
Blocks: 2087247
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: