Closed Bug 63411 Opened 24 years ago Closed 24 years ago

need twisties in the account manager tree

Categories

(SeaMonkey :: MailNews: Account Configuration, defect)

defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: sspitzer)

References

Details

Attachments

(2 files)

In the Mail/News accounts window, it would be nice if we differentiated between the types of accounts visually, either by a highlight or perhaps just bold text. This would go on the Mail for user@foo.com, right above the server entry.
QA Contact: esther → stephend
At a minimum the Account should have a twisty to the left of its name, (which helps distinguish between accounts) so its sub-items (Server and Copies and Folders) can be collapsed. (the same as Preferences). Using NS RTM build, twisties are not visible.
weird. it is a tree, and it used to have twisties and be expanded by default. I'll have to investigate when and why those went away. jglick, I'd like to see us have server icons to the left of the account name, like we do in the thread pane. how does that sound to you? adding account manager qa guru to the cc list.
Status: NEW → ASSIGNED
Server icons (Mail or News server) in addition to the twisties would be great!
QA Contact: stephend → nbaca
over to racham
Assignee: sspitzer → racham
Status: ASSIGNED → NEW
nominating for nsbeta1
Keywords: nsbeta1
marking nsbeta1-
Keywords: nsbeta1nsbeta1-
Jennifer made a mock-up for the "ability to re-order accounts" bug, and in doing so, she had the twisties in place in the account manager. Here's the shot.
twisties look good :-)
Initially this problem looked like a xul-related issue, but I traced it down to an issue with the account manager datasource. In order for twisties to show up on this tree, the "container" and "empty" attributes need to be set on the treeitems. In order for these to show up, the datasource needs to implement the HasArcOut method of the nsIRDFDataSource interface. Currently, the class nsMsgAccountManagerDS inherits a ::HasArcOut method which always returns false. Once ::HasArcOut returns true/false at appropriate times, the twisties will automatically show up without any xul changes to AccountManager.xul.
Would be nice if someone fixed this soon..
Keywords: ui
updating severity, this would be a great addition to the account manager.
Severity: trivial → minor
Keywords: nsCatFood
Keywords: nsCatFoodnsCatFood+
updating summary.
Summary: We need some sort of visual differention between types of accounts. → need twisties in the account manager tree
remember, the folder pane also uses the account manager datasource so we have to be careful that making the twisties show up in the account manager doesn't make them show up in the folder pane when they shouldn't. hewitt: about using "empty" and "container" directly, I didn't have to do that for my subscribe datasource. I used #Child property and implemented HasArcOut (), HasAssertion() etc. but either way, if we make the panels children of the account, it might mess up the folder pane.
using the Child property alonem having "Server" and "Copies and Folders" as children of the server might make them show up in the folder pane, too. proceed with caution.
I take that back. after working it out over irc, I think I have a rought draft of a fix.
ignore the white space issues. here's the problem, I'm duplicating some code from nsMsgAccountManagerDataSource::createSettingsResources() the two have to match up. I could call createSettingsResources() and then check the size of the array.
taking. I'll finish up the fix and get it in. then I'll look for (or log) a bug on having it so all accounts are closed except the selected one.
Assignee: racham → sspitzer
fixed. this should open the door for some ui improvements.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Seth, looks great! Thanks. :-) Stephen, if you still want Server icons (Mail or News server) in addition to the twisties, file another bug?
Build 2001-05-11-04: WinMe Build 2001-05-11-09: Mac 9.04 Build 2001-05-11-08: Linux RH 6.2 Verified.
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: