Closed Bug 94437 Opened 24 years ago Closed 24 years ago

Clean up wallet prefill dialog

Categories

(Toolkit :: Form Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: asa, Unassigned)

Details

Attachments

(4 files, 7 obsolete files)

The preview form dialog is the worst piece of UI in our entire product. Please fix this. German, is this to your spec? screenshot coming.
Attached image please help me
Status: NEW → ASSIGNED
Target Milestone: --- → Future
You've got to be kidding!!! (yes, that was three exclamation points. three.) Steve, are you seriously saying that you don't care that your feature is represented by the worst dialog in the entire product? How did that ever pass review or super review? Surely you could talk to blake or hyatt or goodger or just about anyone who knows XUL and get some suggestions about making this dialog better.
the spec image is located at http://www.mozilla.org/projects/ui/communicator/browser/formfill/proposedconfirm 2.png the design did not intend to use hor. scrollbars, as this makes the dialog indeed illegible. The label text was supposed to be using abbreviation (using ..., looking at it now we should be using middle ellipses as the end of the label text seems to be at least as important to distinguish the fields)when the dialog width was smaller than that plus the popup width. It seems like its throwing up the hor. scrollbars anyway. You need the vertical scrollbars as overflow method as you don't know at designtime of the dialog how many fields/rows it will contain. Clearly the checkboxes should be aligned with the text in the row (remember election 2000 :-), and the text in both labels and popup contents should be using the same font an height and be vertically aligned. Clearly this dialog needs front end engineering help here, Steve was probably trying to get it as close as possible to the spec.
to be clear, I meant to see vertical scrollbars are needed as overflow method meaning they would show up only when there are more rows and then fit the visible area given the current dialog height. The list area should stretch when increasing the dialog height.
I've fixed this up. Code coming.
Attached patch Clean up the prefill window. (obsolete) — Splinter Review
Attached image screen shot before patch (obsolete) —
Attached image same screen shot after patch (obsolete) —
1. Text and associated checkbox is still misaligned 2. Text items are no longer aligned with each other 3. Menulists are no longer left-aligned with each other 4. Position of "View Stored Form Data" button no longer conforms to german's spec
Attached image second before image (obsolete) —
Attached image after shot for second before shot (obsolete) —
Second before/after pair have same problems as mentioned above plus: 5. Window now has a horizontal scroll which previously wasn't necessary
Not sure what's going on here but I saw this patch in action and it looks nothing like morse's screenshots. The dialog was absolutely beautiful.
Doesn't look like this for me. I tried in both classic and modern, and both looked ok. Can you post a screenshot of it in modern? I'll post my screenshots tomorrow when i get back to my build.
Attached image My screenshot
I've had two others apply the patch, and the see the same window I do. Not sure what's going wrong in your build, did it apply cleanly? looking for r/sr.
Looks like my build was outdated. I just pulled a fresh tree and applied the patch. This time I don't see the problems. a=morse as module owner.
Also r=morse
The dialog box that sticks out the worst for me is the Basic Authentication dialog when the prompt "Enter username and password for..." wraps to a second line. The dialog does not resize, and the result is to push the OK and Cancel buttons halfway out of the window.
This isn't a bug for posting all the rotten dialogs in the product. Cleaning this up.
Assignee: morse → kerz
Status: ASSIGNED → NEW
Summary: the ugliest dialog in the product → Clean up wallet prefill dialog
Status: NEW → ASSIGNED
Perhaps this is stating the obvious but this dialog clearly looks like it should be using a multi-column grid. A good place to see an alternate (though not necessarily perfect) way to display the same information would be the cookie/image viewer dialogs. Is there some limitation that prevents grids from holding combo boxes? That's the only thing I could see preventing such a change.
Comment on attachment 50646 [details] [diff] [review] Clean up the prefill window. >-// menuList.setAttribute("size", Number(count)+1); >+// menuList.setAttribute("size", Number(count)+1); >-// menuList.setAttribute("editable", "true"); // done later to avoid crash >+ //menuList.setAttribute("editable", "true"); // done later to avoid crash Don't leave commented-out code in. We have CVS if we need to see other versions. And if there's a crash you're working around, please cite a bug number in a comment. >+ if (colonPos != -1) >+ var checkBoxLabel = prefillList[i+1].slice(colonPos + 1) >+ else >+ var checkBoxLabel = prefillList[i+1]; You should run with strict warnings: the double-declaration of |var checkBoxLabel| would have shown up. Fix these things, and any other strict warnings that show up, and sr=shaver.
Kerz's screenshot looks like an good improvement to me. That way we save one line at the top and make the text at the top more extensible to accomodate l10ns.
Attachment #50649 - Attachment is obsolete: true
Attachment #50650 - Attachment is obsolete: true
Attachment #50651 - Attachment is obsolete: true
Attachment #50652 - Attachment is obsolete: true
Attachment #50664 - Attachment is obsolete: true
Attachment #50890 - Attachment is obsolete: true
Attachment #50646 - Attachment is obsolete: true
Comment on attachment 51596 [details] [diff] [review] New patch addressing shaver's comments. To know you is to love you. sr=shaver.
Attachment #51596 - Flags: superreview+
donner wanna check this in for me?
I checked in the fix.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Assignee: kerz → nobody
Product: Core → Toolkit
QA Contact: tpreston → form.manager
Target Milestone: Future → ---
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: