Closed Bug 79249 Opened 23 years ago Closed 23 years ago

UI problems with the per-server LDAP override UI

Categories

(SeaMonkey :: MailNews: Account Configuration, defect, P1)

x86
All
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: sspitzer, Assigned: srilatha)

References

Details

(Whiteboard: Have a fix.Reviewed. Requesting super review.)

Attachments

(10 files)

UI problems with the per-server LDAP override UI

1)  it's tacked on at the end of the "server" options for an account.  this
make the "server" options page too long so the LDAP override UI gets cut off.  
perhaps it needs to be hidden in some advanced dialog?  (cc jglick, for a link 
to the spec)

2)  when resizing, the LDAP override UI doesn't behave right.  it should be 
"attached" to the element above it, not the bottom of the window.  here comes a 
screen shot.
Keywords: mozilla0.9.1, ui
OS: Windows NT → All
This does not look good. I talked with dmose and mpt about this for a few days
ago, cc'ing.
QA Contact: esther → yulian
nominating for nsbeta1
Keywords: nsbeta1
Blocks: 17880
Priority P2, TFV 0.9.1.
Priority: -- → P2
Target Milestone: --- → mozilla0.9.1
the per server LDAP override UI seems advanced to me.  since space is at a
minimun, any objections to adding a "Advanced..." button and moving this (and
other advanced server settings) to it?

jglick / mpt?
I suggest the following changes to this panel, some of which are just to make 
it more understandable, but some of which will also help it fit in 640*480:

1.  Put the `Port:' field to the right of the `Server Name:' field. These two
    are highly related, and it makes no sense for them to be separated by the
    `User Name:' field.

2.  Rename the `Server Type:' field to `Type:' (to remove redundancy), and
    place it below the server name, not above it.

3.  Remove the `Server Settings' group box, which is redundant with the name of
    the panel itself.

4.  Rename `Limit message download to [  ] kB per message' (which sounds like
    it might truncate the message!) to `Only download messages which are [  ] K
    or smaller'.

5.  Change `Empty Trash on Exit' to `Empty the Trash folder when I exit
    Mozilla', and remove the stray padding above it.

6.  Change the `Local directory:' field to `Local copies are stored in:', and
    put the field to the right of the label instead of below it.

7.  Remove the <spring> (I assume that's the culprit) which is pushing the LDAP
    settings down to the bottom of the panel.

8.  Remove the `LDAP Directory Server' group box, which is redundant with the
    label for the checkbox.

9.  Change the checkbox to two radio buttons, `Use my global LDAP server
    preferences for this account', and `Use a different LDAP server:'.

10. Put the LDAP server popup menu next to the second radio button, with no
    extra label.

Now, if those changes don't make enough room (and I think they should be made 
even if they don't make enough room), then you will indeed need a sub-dialog. I 
would suggest labelling the button for such a dialog as `LDAP Options ...', 
rather than the mysterious-sounding `Advanced ...'.
4. `Do not download messages larger than [   ] K'

What does this have to do w/ the bug summary 'LDAP'?
Attached image proposed idea
I like some of mpt's cleanup ideas. 
Above is a minimal changes idea.
now that we have twisties, why not show "LDAP" as a settings child of the server?
We could do that too, but we'd have to distinguish between "Mail Server" and 
"LDAP Server" in the list.
or call it "Addressing Settings" or whatever.  those aren't the LDAP server
settings, it which LDAP server to use for autocomplete when using that accounts
identity, right?
I especially like the last couple of suggestions by sspitzer and jglick.  This
would help us avoid the "maze of little dialogs" which is currently required.
I like the idea of having a separate panel for LDAP, but the panel looks pretty 
empty.
Few suggestions:
1) we can name the panel "Addressing" instead of "LDAP Directory"
2) Enclose all the contents in a box.
3) Move the dropdown listbox and Edit Directories button to the next line.

May be we can add some addressing prefs in here!!
Robin, can you suggest a name for the panel?

A group box really isn't necessary since everything on the panel would be in 
that group box.
Setting target milestone to 0.9.2 (check it in anytime, even before, when the
tree is open for). Per PDT triage.
Target Milestone: mozilla0.9.1 → mozilla0.9.2
I think enclosing it in a box will make it look better.
Jennifer do we have a name yet?
"Addressing" to match the global pref is probably fine.
Agree.
*** Bug 78979 has been marked as a duplicate of this bug. ***
Priority: P2 → P1
Blocks: 78979
The override global preference saved fine using the checkbox. But now based on 
the new spec, using the radiogroup the preference is not getting saved right
This is the code I have
<radiogroup orient="vertical" wsm_persist="true" 
id="identity.overrideGlobalPref"  pref="true" preftype="bool" 
prefattribute="value">
 <radio group="identity.overrideGlobalPref" id="useGlobalPref1" value="false" 
label="&useGlobal.label;"/>
 <radio group="identity.overrideGlobalPref" id="useGlobalPref2" value="true" 
label="&directories.label;"/>
</radiogroup>

clicking on the first radio button does not save a value of false.
Any suggestions?
Jennifer, since I cannot get the radio group to work, can we use checkbox 
(like before) instead of radiogroup.
Copying Bhuvan for sugeestions.
If possible, and especially since we have the space now, I think the radio 
buttons make the choices much more understandable for users.
Attached patch patch v2Splinter Review
The latest patch has attributes fro pref locking and I made a minor modification 
like indentation for radiogroup.
ccing Mohanb for review.
Bhuvan can you take a look at the patch too.
Seth can you sr

Thanks to serge, edyyk and mohan in helping solve the radiogroup problem.
Status: NEW → ASSIGNED
Can you post this patch at "mailnews" level instead of at "mozilla" level? 
r=mohanb; 
Whiteboard: Have a fix.Reviewed. Requesting super review.
can you attach a screen shot so I can see how it looks with your patch?
thanks for the screen shot.  that looks much better than the old way.

sr=sspitzer

cc'ing msanz / nhotta.

I think you'll need L10n approval before checking in, because of the string changes.
Sorry I can't give approval for any UI changes at this point. If you change this
now it will be in English in all of our localized builds. Please check it in
after BETA.

thanks
The beta is on 0.9.1 branch. The trunk is "after beta." So, it's OK to check
this in before the RTM UI freeze.
Blocks: 83989
Mcarlson, note that those rules only apply to the NS tree. One can still fix
this on the mozilla tree, as long as we get approval from drivers.
* This stuff should be in a groupbox, right?
* Server is capitalized in the second label but not the first.
* In other bugs, we seem to have decided second-person ('you', not 'my')
* Not much content for a panel, what else is planned to go here?

Jennifer, Matthew, German, Ben, others, what do you all think?
* This stuff should be in a groupbox, right?
Comments from Jennifer:
  A group box really isn't necessary since everything on the panel would be in 
that group box.

* Server is capitalized in the second label but not the first.
  This is my mistake. Server is not capitalized in the spec . Will attach a new 
patch with the changes.
Groupbox - it doesn't really need the groupbox since its the only 'group' on the 
panel, but I don't have a problem with having a groupbox around the items if 
folks prefer.

Capitalization - fixed by Srilatha.

You vs My - I don't think this is a problem, but then I'm not a tech writer! :-)
cc'ing Robin's co-worker while she's out. jatin@netscape.com

Not much content - Yeah, I know, but it wouldn't fit on existing panels as you 
can see from the examples early in the bug.  As for future stuffs, the LDAP 
folks might know that one.

 
Although there isn't a consistent standard in the preferences, using the
first-person "my" in this pref panel seems appropriate. "Me" and "my" are used
in other places in preferencs as well.
The stuff that might be added to this panel in the future:
We want to add the ability to select more than one server for autocompletion. So 
the dropdown list box might be changed to a list. May be some more addressing 
preferences.
Keywords: mozilla0.9.1
r=mohanb;
Adding DE Team to cc-list
a= asa@mozilla.org for checkin to the trunk.
(on behalf of drivers)
Fix checked in.
marking this as fixed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
2001061304 Wins trunk build
Verified the fix for the per-server LDAP override UI
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: