Closed Bug 1259946 Opened 9 years ago Closed 9 years ago

Add toolbar button to remove all storage items

Categories

(DevTools :: Storage Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ntim, Assigned: jsnajdr)

References

Details

Attachments

(1 file, 2 obsolete files)

No description provided.
Blocks: 1031192
Attached patch Part 1 - Add clear button to storage inspector (obsolete) (deleted) — Splinter Review
Attachment #8735160 - Flags: review?(mratcliffe)
No longer blocks: 1031192
Depends on: 1231438
Attached patch Part 1 - Add clear button to storage inspector (obsolete) (deleted) — Splinter Review
Part 2 (tests) depends on bug 1231179 and bug 1231155. It'll be much easier to write tests once those bugs land.
Attachment #8735160 - Attachment is obsolete: true
Attachment #8735160 - Flags: review?(mratcliffe)
Attachment #8735163 - Flags: review?(mratcliffe)
The tooltip now works.
Attachment #8735163 - Attachment is obsolete: true
Attachment #8735163 - Flags: review?(mratcliffe)
Attachment #8735216 - Flags: review?(mratcliffe)
Attachment #8735216 - Flags: review?(mratcliffe)
Hey Jarda, I've seen you've worked on bug 1231434, are you interested in taking over this bug ? Tim
Flags: needinfo?(jsnajdr)
Hello Tim, if you don't plan to finish the patch (it's already pretty close), feel free to reassign the bug to me. However, I think that this feature is not a particularly good idea. First, there are already two ways to "Delete All", in the table and tree context menus. Second, it's quite a dangerous action to be always just one click away, on an always visible button, without any confirmation. This is real, persistent app data that's going to be deleted. Not just some ephemeral console or network request log that can be recreated by reloading the page.
Flags: needinfo?(jsnajdr)
(In reply to Jarda Snajdr [:jsnajdr] from comment #5) > Hello Tim, > > if you don't plan to finish the patch (it's already pretty close), feel free > to reassign the bug to me. > > However, I think that this feature is not a particularly good idea. First, > there are already two ways to "Delete All", in the table and tree context > menus. I think it's still nice to have a button for this, it makes the action much more discoverable, especially as it is a new feature. Plus, it fills up the almost empty toolbar, and makes it look more consistent with other tools. > Second, it's quite a dangerous action to be always just one click > away, on an always visible button, without any confirmation. This is real, > persistent app data that's going to be deleted. Not just some ephemeral > console or network request log that can be recreated by reloading the page. I agree with it, I guess we can add a prompt when clicking on the button (and probably the context menu items as well).
Assignee: ntim.bugs → jsnajdr
(In reply to Jarda Snajdr [:jsnajdr] from comment #5) > Hello Tim, > > if you don't plan to finish the patch (it's already pretty close), feel free > to reassign the bug to me. > > However, I think that this feature is not a particularly good idea. First, > there are already two ways to "Delete All", in the table and tree context > menus. Second, it's quite a dangerous action to be always just one click > away, on an always visible button, without any confirmation. This is real, > persistent app data that's going to be deleted. Not just some ephemeral > console or network request log that can be recreated by reloading the page. I am inclined to agree with jsnajdr... all other tools use context menus and don't prompt for confirmation so we should keep this pattern. Let's close this bug.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: