Closed
Bug 665114
Opened 13 years ago
Closed 13 years ago
Modal warning message for file deletion wrongly includes parent directories in its message
Categories
(addons.mozilla.org Graveyard :: Add-on Builder, defect, P2)
addons.mozilla.org Graveyard
Add-on Builder
Tracking
(Not tracked)
VERIFIED
FIXED
Builder 0.9.7
People
(Reporter: stephend, Assigned: zalun)
References
Details
Attachments
(1 file)
571.06 KB,
image/png
|
Details |
This is scary -- even though there isn't true data loss, the warning message is spurious. STR: 1. Under Data, create a subfolder with another subfolder, like so: Data --> Foo/ ----> Bar/ -------> Baz.js 2. Now, try to delete "Bar", and the prompt is "Are you sure you want to remove Foo/Bar and all its files?" Expected Results: It should only *say* "Are you sure you want to remove Bar and all its files?"
Comment 1•13 years ago
|
||
Additionally, when deleting directories that have no children, the modal message reads: Are you sure you want to remove "" <--- the directory name is not show, just a blank quoted string.
Priority: -- → P2
Assignee | ||
Comment 2•13 years ago
|
||
@stephend but it is the Foo/Bar which will be deleted --> Foo/ ----> Bar/ -------> Baz.js --> Bar/ Then mesage "Are you sure you want to remove Bar and all its files?" would be ambiguous
Perhaps wrap the "Foo/Bar" bit in <b> tags so that you can kinda see that it runs together?
Comment 4•13 years ago
|
||
No Stephen is right, when I choose to delete only subdirectory Bar, it should read "Bar and all or its files" and only delete Bar and anything Bar contains, Foo is the parent directory and has nothing to do with this request.
Comment 5•13 years ago
|
||
I agree with @zalun that it could be ambiguous and confusing. Perhaps if the targeted subdirectory and its files were highlighted while the confirmation modal was displayed, to indicate explicitly which files and directories would be affected, then the ambiguity would be eliminated.
Comment 6•13 years ago
|
||
I just don't agree, take a look at any confirmation dialog in the OS, it just lists either the file or directory name when you try to delete. It is really odd to mention all the other parent directories that have nothing to do with it. I would be up for having it say "Are you sure you want to remove Bar and all its files?" *and* do as rfreebern says and highlight the file or directory in question. Showing all the other directories above is not what a user is used to so I would like not to do that.
Updated•13 years ago
|
Severity: blocker → major
Updated•13 years ago
|
Assignee: nobody → zaloon
Updated•13 years ago
|
Target Milestone: Builder 0.9.6 → Builder 0.9.7
Assignee | ||
Comment 7•13 years ago
|
||
in review https://github.com/zalun/FlightDeck/commit/e53e36b41a7136d389c04b54e82e66618029401b
Status: NEW → ASSIGNED
Assignee | ||
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 8•13 years ago
|
||
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•