Closed Bug 1549080 Opened 5 years ago Closed 5 years ago

Change color of about-config-pref-delete button

Categories

(Toolkit :: Preferences, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: sjw+bugzilla, Assigned: Paolo)

References

Details

Attachments

(2 files)

The delete button looks similar to the reset, toggle and edit button. I propose to change the color of the whole button or to add a colored icon to make it more obvious.

Blocks: 1533856
No longer blocks: 1493439

We use red for errors, so using it as a warning here does not work.
Somehow differentiating the severe action of delete or even reset from the rest of the buttons makes sense however. Esp. as there is no confirmation or undo for those actions.

I recommend we make reset and delete into ghost-buttons that only have a background on hover. This should separate them enough from the other actions and less likely to be confused with the other button. (see attachment)
(This was already proposed before, but I had missed it.)

(In reply to Markus Jaritz [:designakt] (UX) from comment #1)

Esp. as there is no confirmation or undo for those actions.

While this wasn't a requirement of the original design, when we implemented the delete feature we made sure that preferences could be immediately re-added with the same value, until the list is filtered again or the page reloaded, as this was easy to implement. We have a regression test checking this mode.

This effectively provides an undo feature for the delete action. The reset button has no such undo, though.

Pushed by paolo.mozmail@amadzone.org:
https://hg.mozilla.org/integration/autoland/rev/f01df797b0b1
Turn the delete and reset buttons into ghost buttons. r=jaws
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Assignee: nobody → paolo.mozmail
QA Whiteboard: [good first verify]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: