Closed Bug 1349533 Opened 8 years ago Closed 15 days ago

Add a delete storage button in the toolbar

Categories

(DevTools :: Storage Inspector, enhancement, P3)

enhancement

Tracking

(platform-rel -, relnote-firefox ?, firefox149 fixed)

RESOLVED FIXED
149 Branch
Tracking Status
platform-rel --- -
relnote-firefox --- ?
firefox149 --- fixed

People

(Reporter: pbro, Assigned: sebo)

References

(Blocks 2 open bugs)

Details

(Keywords: dev-doc-needed, Whiteboard: [platform-rel-Shopify])

Attachments

(2 files)

You can already delete storage types by right-clicking in the sidebar, but anything hidden in a context menu has a tendency of not being used much. I wonder if we couldn't add a button in the toolbar of the storage inspector that does the same thing. Obviously we would also keep the context menu, this would just be an additional way of doing the same thing. We have a toolbar already, with a search field. It would be a convenient place for adding this button. I suspect we will want to also add a "create" button in there eventually too, so it makes sense to have a delete button too. Maybe 2 delete buttons: one to delete the selected row, and one to delete all?
platform-rel: --- → ?
Whiteboard: [platform-rel-Shopify]
We are adding a plus button to add e.g. cookies so it would make sense to add a minus button too.
Whiteboard: [platform-rel-Shopify] → [todo-mr][platform-rel-Shopify]
platform-rel: ? → -
Filter on HOTFROG.
Whiteboard: [todo-mr][platform-rel-Shopify] → [todo-mr][platform-rel-Shopify][t1]
Severity: normal → enhancement
Has Regression Range: --- → irrelevant
Has STR: --- → irrelevant
OS: Unspecified → All
Hardware: Unspecified → All
Whiteboard: [todo-mr][platform-rel-Shopify][t1] → [platform-rel-Shopify]
Product: Firefox → DevTools
Blocks: 1667980
Priority: P2 → P3
Severity: normal → S3
Blocks: 1312444
See Also: → 1448291
Assignee: nobody → sebastianzartner
Status: NEW → ASSIGNED
Pushed by sstanca@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/213630e5786b https://hg.mozilla.org/integration/autoland/rev/ea48e56fdd5c Revert "Bug 1349533: apply code formatting via Lando" for causing eslint failures in browser_storage_delete_all_button.js.

Reverted this because it was causing eslint failures in browser_storage_delete_all_button.js.

  • Revert link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/devtools/client/storage/test/browser_storage_delete_all_button.js:16:19 | Do not use insecure URLs (@microsoft/sdl/no-insecure-url)
Pushed by sebastianzartner@gmail.com: https://github.com/mozilla-firefox/firefox/commit/4e1bfe598590 https://hg.mozilla.org/integration/autoland/rev/cc63aec54b20 [devtools] Added button to delete all data of a storage. r=devtools-reviewers,fluent-reviewers,flod,bomsy https://github.com/mozilla-firefox/firefox/commit/fcf4805f1938 https://hg.mozilla.org/integration/autoland/rev/da5249f1c62c [devtools] Added test for button clearing all data of a storage. r=devtools-reviewers,bomsy
Status: ASSIGNED → RESOLVED
Closed: 15 days ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch

Is that something that should be mentioned in our 149 release notes?

Flags: needinfo?(sebastianzartner)

I'd say yes.

Release Note Request (optional, but appreciated)
[Why is this notable]: New DevTools feature
[Affects Firefox for Android]: no
[Suggested wording]: The toolbar of the Storage Inspector now has a button to delete all entries of the currently selected storage.
[Links (documentation, blog post, etc)]:
I'll try to update https://firefox-source-docs.mozilla.org/devtools-user/storage_inspector/index.html for that, though that will probably take a bit.

Sebastian

relnote-firefox: --- → ?
Flags: needinfo?(sebastianzartner)
Keywords: dev-doc-needed

Added the release note without a link, we can add one when the documentation is updated.

I am keeping the relnote-firefox? flag set until we include this note in our final 149 release notes, thanks.

QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: