[wp-trac] [WordPress Trac] #23450: Refactor menu item meta boxes as accordion

WordPress Trac noreply at wordpress.org
Thu Feb 14 19:48:38 UTC 2013


#23450: Refactor menu item meta boxes as accordion
-------------------------------------+------------------
 Reporter:  lessbloat                |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  3.6
Component:  Menus                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  3.6-menus needs-testing  |
-------------------------------------+------------------

Comment (by lessbloat):

 23450.1.diff​ is a really, really rough first stab at this.

 '''A couple notes:'''

 - I'm honestly not sure if I'm helping or hindering the progress of this
 task by posting this patch (i.e. I think I'm in over my head ;-))
 - This patch includes
 [http://core.trac.wordpress.org/attachment/ticket/23450/23450.1.diff
 23450.1.diff]​ as a base.  It's not super clean, but what can you do?
 23450.1.diff​ relies on 23450.1.diff, and 23450.1.diff has yet to be
 committed...
 - With 23450.1.diff​ applied you'll see:

 [[Image(http://f.cl.ly/items/3W1S1I3C3r100V2E2z05/menu-items-
 accordion.jpg)]]

 '''Where I need help'''

 - Screen options disappeared.  I don't know how to get them back
 - Hidden sections (i.e. pages, tags, formats) are not being hidden by
 default
 - Refactoring anything that needs it on the back-end

 '''After that is fixed'''

 - I'll then swing back around and polish up the styles (it's all still a
 bit rough looking ATM)
 - I'll fix the tabs (i.e Most Recent, View All, Search)
 - I'll add JS to auto show the first menu item option (currently they all
 start closed on page load).

 And then we should be good to go...

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23450#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list