Closed Bug 833366 Opened 12 years ago Closed 12 years ago

[Settings :: App Permissions] incorrect style for “Uninstall app” buttons & dialogs

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: kaze, Unassigned)

References

Details

(Keywords: polish)

Attachments

(2 files)

Attached image screenshot
See attachment: • in the Settings panel, the “Uninstall app” button should be the one we use for all dialog boxes: gray background + little triangle in the bottom-right corner; • in the dialog box, the “Clear” button should carry the `.danger' class to have the proper red background. This will also apply to the “Clear bookmark data” button & dialog when bug 829397 lands.
Keywords: polish
OS: Linux → All
Hardware: x86_64 → All
Attached file patch for UX branch
I fixed the first part of the bug, but I need help for the dialog. Kaze, can you help me with this one?
Attachment #705519 - Flags: feedback?(kaze)
Ugh, I realize the OK/Cancel dialog is a JS `prompt()', that’s why the “OK” button can’t be styled. We should either use a custom dialog in HTML instead, or keep a red button… :-/ Concerning the <select> boxes for allow/deny is not part of this bug but it’s certainly a nice improvement. I remember Patryk has opened a bug about those drop-down lists a while ago… but I couldn’t find it.
Pavel, I think you should PR this one in master directly (to many js here);
Flags: needinfo?(pivanov)
I will finish patch these days and do a PR to master. Thanks :)
Flags: needinfo?(pivanov)
Comment on attachment 705519 [details] patch for UX branch This went off my radar… However, I’ve found other similar cases where the main button is red and the UX team doesn’t complain about that, so I’m closing this bug as INVALID.
Attachment #705519 - Flags: feedback?(kaze)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: