Add a fire button to the toolbar that deletes browsing data and opens a fresh window
Categories
(Firefox :: Toolbars and Customization, enhancement)
Tracking
()
| 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.activatedandfire_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
| Assignee | ||
Comment 1•1 month ago
|
||
The fireButton Nimbus feature from bug 2074891 gates the widget and picks
between the panel and direct flows; the Glean events compare the two.
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
| Assignee | ||
Comment 3•1 month ago
|
||
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.
| Assignee | ||
Comment 4•1 month ago
|
||
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.
Comment 7•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a18d772de46a
https://hg.mozilla.org/mozilla-central/rev/568de0502d01
https://hg.mozilla.org/mozilla-central/rev/8c36261b81e4
Comment 8•1 month ago
|
||
| bugherder | ||
Updated•28 days ago
|
Updated•28 days ago
|
Description
•