Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It might clean up the interface if each group was given it's own callback.
Patch coming so we can test this.
Comment | File | Size | Author |
---|---|---|---|
#8 | styleguide-subtasks-950884-8.patch | 3.81 KB | mrfelton |
#5 | styleguide-subtasks-950884-2.patch | 3.83 KB | jgj |
#4 | 950884-styleguide-subtasks-2.patch | 3.81 KB | squiggy |
#1 | Picture 3.png | 30.03 KB | agentrickard |
#1 | 950884-styleguide-subtasks.patch | 4.4 KB | agentrickard |
Comments
Comment #1
agentrickardMight make things easier, but I would want to be able to jump from 'Bartik' forms to 'Seven' forms, and I don't think the menu supports that.
Comment #2
squiggy CreditAttribution: squiggy commentedI agree, this would be a useful change to the UI.
In fact, I started a similar module, which renders different types of output under separate subtabs like this.
(Fyi, here's an issue filed about overlap between Style guide and the module I started: http://drupal.org/node/1088416)
Comment #3
agentrickardYeah, we need to merge all of these efforts. We have a discussion over in Design, too.
I like the subtabs, but haven't given it much thought recently.
Comment #4
squiggy CreditAttribution: squiggy commentedUpdated patch for current dev branch.
Comment #5
jgj CreditAttribution: jgj commentedThis was the first thing I thought of when I tried this module out. Tried the patch in #4 against 7.x-1.x branch from git and it didn't apply. Manual copying didn't work quite as expected. Moved the loop that sets up the secondary tabs into the loop that sets up the primary tabs and it's working for me. Patch provided :)
Comment #6
jgj CreditAttribution: jgj commentedscratch the 2nd to last sentence in my previous post. I just copied wrong from the patch in #4 :)
Comment #7
agentrickardI would, I think, much prefer doing this with AJAX -- faster and cooler. The only concern I have with using AJAX is that it might distort the presentation of elements, but I don't think that's very likely.
There is also a stray dpm() in the patch.
I also get this message when clearing cache, but only with the patch applied:
Comment #8
mrfelton CreditAttribution: mrfelton commentedAttached patch removed rogue dpm call and fixes trailing whitespace issues in previous patch.
Comment #10
webcultist CreditAttribution: webcultist commentedJust tried this patch. Works great :)
Should be updated for the latest dev and tested by more people, but it's a very nice improvement - THANKS 4 this!