Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
user system
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
16 Apr 2009 at 01:11 UTC
Updated:
16 May 2009 at 18:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
webchickScreenshot please!
Comment #2
webchickComment #3
ultimateboy commentedScreenshot 1:

Screenshot 2:

Visual review
From an initial look, this needs some work. To begin, I don't know if I like the initial implementation of a set of VTs within a set of VTs (screenshot 2). It is awkward to use, hard to manage, and frankly a bit confusing. We might want to play with a few different ideas here, as I don't think that the current implementation is workable.
Secondly, the Account cancellation settings, Signature, and Pictures tabs do not provide a summary once another selection is made. For example, if pictures are disabled and you enable them, the summary is removed. This is true for all of the listed tabs.
Third, the label for the account cancellation radios has a "for=" attribute with no corresponding form element and therefore returns a warning when validating with W3C. This 'for' attribute should be removed.
All in all, I like it, but it still needs some touch ups.
Comment #4
dmitrig01 commentedI'm not sure how to deal with tabs-within-tabs - i'm not a designer - but what about this? http://img.skitch.com/20090416-ny847kah1ine18mb7ht7mxrbdg.jpg
The only thing is I'm not sure what to put on the root "user emails" tab. Possibly a new setting for enabling email overall?
The mentioned tabs provide a summary for me once I select another selection :-/
The "for" attribute is unrelated to ths issue.
Comment #5
wretched sinner - saved by grace commentedWhy not split the emails to either a seperate page, or a seperate set of tabs on the same page?
Comment #6
tstoecklerOr try this one:
Comment #7
Bojhan commentedContext, I only see the content area - can you supply a full screenshot. I am quite worried about how far we take, vertical tabs.
Comment #8
tstoecklertwo screenshots now. Note that this is no CSS magic, but done with the GIMP. I have no clue whether or how this could be implemented.
Also note that the strange border, that doesn't quite reach the edge at the top right is caused by the "margin-right: 5%" in div.vertical-tabs. Removing that makes it look perfect but breaks the node/add form. I think it should be removed from dev.vertical-tabs and added specifically for node/add, but that's a different issue.
Comment #9
catchI don't like nested fieldsets, nested vertical tabs seems like an extra layer of bad. If the form requires nested fieldsets then it's simply wrong - like wretched sinner says we should at least consider moving this stuff to a tab.
Comment #10
tstoecklerMaybe we could just leave the e-mail settings as regular fieldsets.
I tried that, but it doesn't really work by simply making the outer fieldset vertical tabs and leaving the rest as is. Since there's no docs on vertical tabs yet, I'm kind of lost.
Someone with more (/any at all) Forms API knowledge would have to roll a patch.
Comment #11
kkaefer commentedPlease let's not overuse vertical tabs until we have to puke. I agree that vertical tabs make sense in that page, but two levels of vertical tabs just seems a bit much and indicates that there's too much that can be changed on that page. Maybe we should think about splitting up that page into more sensible sub-pages.
Comment #12
tstoecklerMaybe make "User e-mails a whole new page (admin/user/e-mails, e.g.) and use vertical tabs for both...
Comment #13
Bevan commentedDon't nest vertical tabs! Argh!!!! That's worse than nested collapsible fieldsets.
If this page is going to be vertical-tabified, then the email messages need to be moved off of this page and into their own UI. Perhaps into a local task? then you have one page with VT for user settings. Another page with VT for email messages.
Comment #14
Bevan commentedComment #15
stevebayerin commentedRather than nest two levels of vertical tabs, it makes more sense to use an accordion UI pattern for nesting the second level of grouped items.
I've edited one of the mock ups in #3 to illustrate what I mean.
Feel free to edit the mock up with Fireworks.
Comment #16
kkaefer commentedWhy?
Comment #17
oriol_e9gwhy not? :D
Comment #18
stevebayerin commentedVertical tabs doesn't work very well for nesting since it is demanding on horizontal space.
The main advantage field sets of vertical tabs have over accordion is that the field set/drawer titles of vertical tabs are always next to each other no matter which field set is open or closed.
Accordions within vertical tabs keeps the vertical footprint close to a minimum without the horizontal price tag of vertical tabs if nesting is ever required. I assume if furthur nesting is required, it could be better for the remaining levels of nesting to be as accordion field sets or field sets as currently used in D5/D6 instead of vertical tabs (due to the horizontal space limits of vertical tabs.)
Comment #19
kkaefer commentedThe problem with accordion within VT I see is that the overall page layout becomes too complex. Also, you can't see two fieldsets at a time, e.g. to compare their contents.
Comment #20
Bevan commented@SteveJB. I like the accordion idea.
I think it would be better to move the accordion to a different page/screen/local_task. Your suggestion is a good compromise I think, though are we really too lazy to implement a
hook_menu()item!?hook_menu()isn't that scary is it? Perhaps there are other issues.@kkaefer
Which is all the more reason not to nest VTs.
What are tasks or use cases where this might be desirable? Does it fall into our 80% of users or tasks? Note this is also an issue with nested VTs.
Comment #21
kkaefer commentedI never said that (see comment #11).
Comment #22
webchickHm. I'm not sure I like an accordion here. I frequently compare the values between different mail templates and if I had to click one, memorize it, then click another, that'd get very annoying.
Why not just a single set of VTs for the page, and leave collapsible fieldsets around the mail templates?
Comment #23
dave reid#22 seems most reasonable to help get this in quicker. Then we can discuss what the heck we want to do with the email templates.
Comment #24
stevebayerin commentedIf collapsible field sets were visually styled to appear similar to accordion field sets, it could make it easier to read what's within the nested field sets.
Comment #25
webchickPerhaps, but let's cover that in another issue. Changing the styling on collapsed fieldsets has wide-ranging effects. What's being proposed here is very simply converting one page to use VTs.
Comment #26
Bojhan commentedI am marking this won't fix, the apporach in Xano_'s patch is far better.
http://drupal.org/node/455576