mothership-ec / cog-mothership-cp

Mothership Control Panel Cogule
Other
1 stars 1 forks source link

Add new field type for drilling down hierarchies #259

Open joeholdcroft opened 10 years ago

joeholdcroft commented 10 years ago

Feature description

Talking to @thomasjthomasj we came up with a nice idea for a UI element for use when drilling down a hierarchy. For example, selecting a page that might be nested in other pages or selecting a product from within any nesting of category.

The UI element would work as a series of drop-downs. Initially, one drop-down would show with the top level items. Once an item is selected, if it has child elements, a second drop-down would display next to it with those child elements. Once one of those is selected, another drop-down appears to the right with those child elements.

At any point (except the top level) the user can not select something from the rightmost drop-down to just select the page and not one of the child pages.

We have a JS plugin that can help called linkedChoice

Related Issues / Trello Card / Code?

Anything else to add? (Screenshots, background context, etc)