Closed Bug 1184779 Opened 9 years ago Closed 3 years ago

Make native javascript dialog windows look more like in-content preferences dialog

Categories

(Firefox :: Theme, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1678751

People

(Reporter: rfeeley, Assigned: shorlander, NeedInfo)

References

()

Details

Attachments

(5 files, 1 obsolete file)

Attached file dialogs.zip (obsolete) —
The current native javascript dialog windows are great in that they let users switch tabs, but they do not match the visual design of the in-content preferences dialogs.

Attached is a collection of the three kinds of windows shown in Firefox, Chrome and Safari on OS X.

Test them on Windows at the URL below.
Proposed Design:
https://invis.io/T23RU01U5

Reference:
Shorlander's Panel Audit — 
https://bug1064257.bmoattachments.org/attachment.cgi?id=8504734
http://cl.ly/image/252B2g0K3P0H
Flags: needinfo?(shorlander)
Flags: needinfo?(rfeeley)
I like where this is headed, but what about single button dialogs? Or text input. Check the ZIP above. I think all the variations are covered.
Flags: needinfo?(rfeeley) → needinfo?(mmaslaney)
Bryan, take a look. These dialogs should arguably jive with control center visual design.
Flags: needinfo?(bbell)
(In reply to Michael Maslaney [:mmaslaney] (mmaslaney@mozilla.com) from comment #1)
> Proposed Design:
> https://invis.io/T23RU01U5
> 
> Reference:
> Shorlander's Panel Audit — 
> https://bug1064257.bmoattachments.org/attachment.cgi?id=8504734
> http://cl.ly/image/252B2g0K3P0H

Works for me. Although I don't know if we really need the Firefox icon in there.

(In reply to Ryan Feeley [:rfeeley] from comment #3)
> Bryan, take a look. These dialogs should arguably jive with control center
> visual design.

Yeah, should probably sync them up :)
Flags: needinfo?(shorlander)
We should definitely not have the Firefox icon for in-content dialogs. They're invoked by web content, and can contain arbitrary content -- they're not messages from Firefox.

The main in-content prompts are from alert() / confirm() / prompt(), but it's an implementation shared with a common backend that can actually support more stuff in the dialog (4 buttons, a text field, a password field, and a checkbox). Although for the most past I think few of those extras are currently being used by us (dunno about addons).
I'm not averse to the Firefox logo (Chrome and Safari both include their logos) as long as we include language that says something like they do (i.e. "The web page domain.com says:")

Good to know about extra features!
I'm not sure if you want to make this a priority Phillip, but it seems like high impact & low effort way to improve the visual consistency of Firefox.
Flags: needinfo?(philipp)
I have put this into our quality backlog.
I agree on the icon though — it would make the message look more official than it is (and it's attached to the tab anyway, so it always has the context of the Firefox window)
Flags: needinfo?(philipp)
Attached image Leave Page
I see this dialog all the time and, because I assume it’s Firefox speaking, I think it could use a Firefox logo.
That dialog in particular (aka onbeforeunload) has a long history of being abused by malicious sites trying to trap and/or scare the user into staying, so I'd especially not want to make it look like Firefox has anything to do with it.
Attached image facebook-leave-page.png
Semi-related: I noticed that Facebook has it's own UI for this. I don't want the Firefox logo to act as an endorsement, but a mediator with the preface "This webpage is asking…"
Component: General → Theme
Attached image all.png
Attachment #8635006 - Attachment is obsolete: true
Attached image dialog-mismatch.png
Flags: needinfo?(shorlander)
Flags: needinfo?(mmaslaney)
Flags: needinfo?(bbell)
I agree with Justin that we don't want the Firefox logo in these dialogs.  We don't want them to appear like they are messages from Firefox.  They are messages from the actual content page.  It would be nice to add an indication of where the message is coming from though.  The way the second box in the last row does here - https://bug1184779.bmoattachments.org/attachment.cgi?id=8760828 (Safari Browser, w3schools asking for name input).

This may be particular useful if an iframe is invoking the prompt; that way the user knows which domain is asking for the information.
No point in assigning this to Maslaney.
Assignee: mmaslaney → shorlander
Attached image width.png

The maximum width could be reduced to make this dialog more legible. Match OS defaults?

I think with the Firefox 89 redesign changes, we can finally close this out.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: