Page MenuHomePhabricator

OOUI: Toolbar groups should support sub-groups as items (hierarchical, nested menus)
Open, MediumPublic

Description

Trevor says this requires re-writing toolbars to separate the Model from the View. His comment on proposed code design is appreciated. :-)

This would allow:

  • a bar with direct items and a sub-group shown as a list
  • a list with direct items and a sub-group shown as a bar of obvious buttons
  • a list with direct items and a sub-group shown as a sub-list
  • a menu with a text-box for entry of a value (e.g. Google Doc's "help" menu)
  • a menu with multiple sub-groups split by a horizontal bar – bug 71616 for this

… and other things, no doubt.


Version: unspecified
Severity: enhancement

Details

Reference
bz72159

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:44 AM
bzimport added a project: OOUI.
bzimport set Reference to bz72159.

a bar with direct items and a sub-group shown as a list

https://gerrit.wikimedia.org/r/193484 implements this as a hacky special-case for T90815. That will probably need to be reverted when we do this.

matmarex renamed this task from OOjs UI: Toolbar groups should support sub-groups as items to OOjs UI: Toolbar groups should support sub-groups as items (hierarchical, nested menus).May 8 2015, 2:14 PM
Volker_E renamed this task from OOjs UI: Toolbar groups should support sub-groups as items (hierarchical, nested menus) to OOUI: Toolbar groups should support sub-groups as items (hierarchical, nested menus).Jan 8 2018, 10:07 PM
Volker_E lowered the priority of this task from High to Medium.Mar 6 2018, 6:30 AM

This was High because it's a blocker to mobile VE editing. Last quarter this was (part of) the quarterly goal. What's changed?