Closed
Bug 917052
Opened 11 years ago
Closed 11 years ago
Change - Add a confirmation dialog for "Clear private data" in Options flyout
Categories
(Firefox for Metro Graveyard :: Flyouts, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 27
People
(Reporter: ywang, Assigned: emtwo)
References
Details
(Keywords: uiwanted, Whiteboard: feature=change c=tbd u=tbd p=1)
Attachments
(3 files, 1 obsolete file)
3.04 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
71.30 KB,
image/png
|
Details | |
4.63 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
To prevent accidentally clear private data by hitting the "Clear" button trying to scroll down Options panel.
Updated•11 years ago
|
Blocks: metrov1backlog
Whiteboard: [preview-triage] feature=change c=tbd u=tbd p=0
Comment 1•11 years ago
|
||
reviewed in triage
Whiteboard: [preview-triage] feature=change c=tbd u=tbd p=0 → [preview] feature=change c=tbd u=tbd p=0
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → msamuel
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #813377 -
Flags: review?(mbrubeck)
Assignee | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Comment on attachment 813377 [details] [diff] [review]
v1: Dialog box to confirm before clearing private data
Review of attachment 813377 [details] [diff] [review]:
-----------------------------------------------------------------
r=mbrubeck with some trivial changes
::: browser/metro/base/content/browser-ui.js
@@ +1077,5 @@
> break;
> }
> },
>
> + confirmSanitizeDialog: function confirmSanitizeDialog() {
Note: You can now write this without repeating the name. (The repetition used to be necessary for debugging, but the JS engine has gotten smarter since then.) I've been moving to toward this style, though it's not a big deal in files that still use the old style:
confirmSanitizeDialog: function () {
@@ +1096,5 @@
> + null,
> + { value: false });
> +
> + // Clicking 'Clear' will call onSanitize().
> + if (!buttonPressed) {
Nit: Could you change this to "if (buttonPressed === 0)" as a hint to the reader that the return value is an integer, not a boolean?
::: browser/metro/locales/en-US/chrome/browser.properties
@@ +36,5 @@
> # LOCALIZATION NOTE (contextAppbar2.clear): Unselects pages without modification.
> contextAppbar2.clear=Clear selection
>
> +# Clear private data
> +clearPrivateData.clear=Clear
Nit: Please change this to something like "clearPrivateData.clearButton" so it's more obvious to the localizers how this string is used.
@@ +37,5 @@
> contextAppbar2.clear=Clear selection
>
> +# Clear private data
> +clearPrivateData.clear=Clear
> +clearPrivateData.title=Clear Private data
Style nit: "Data" should be capitalized in the title.
Attachment #813377 -
Flags: review?(mbrubeck) → review+
Comment 5•11 years ago
|
||
Hey Marina, can you provide a point estimate for this bug?
Status: NEW → ASSIGNED
Flags: needinfo?(msamuel)
Priority: -- → P2
QA Contact: jbecerra
Whiteboard: [preview] feature=change c=tbd u=tbd p=0 → feature=change c=tbd u=tbd p=0
Updated•11 years ago
|
Whiteboard: feature=change c=tbd u=tbd p=0 → feature=change c=tbd u=tbd p=1
Assignee | ||
Comment 7•11 years ago
|
||
Tests similar to those in browser_crashprompt.js to check for each button click case
Attachment #813651 -
Flags: review?(mbrubeck)
Assignee | ||
Comment 8•11 years ago
|
||
Last patch was not up to date.
Attachment #813651 -
Attachment is obsolete: true
Attachment #813651 -
Flags: review?(mbrubeck)
Assignee | ||
Updated•11 years ago
|
Attachment #813652 -
Flags: review?(mbrubeck)
Updated•11 years ago
|
Attachment #813652 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 9•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/13669c0bccdb
https://hg.mozilla.org/integration/fx-team/rev/57bc33e66107
Whiteboard: feature=change c=tbd u=tbd p=1 → [fixed-in-fx-team]feature=change c=tbd u=tbd p=1
Comment 10•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/13669c0bccdb
https://hg.mozilla.org/mozilla-central/rev/57bc33e66107
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]feature=change c=tbd u=tbd p=1 → feature=change c=tbd u=tbd p=1
Target Milestone: --- → Firefox 27
Comment 11•11 years ago
|
||
Mozilla/5.0 (Windows NT 6.2; rv:27.0) Gecko/20100101 Firefox/27.0
Verified on latest Nightly (build ID: 20131016030202)
A confirmation dialog is now shown afer selecting "Clear private data" from the Options flyout.
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•