UX: new {{categories-drop}} component to unify parent/sub category (PR #7914)

Screenshot 2019-07-19 at 12 26 07 Screenshot 2019-07-19 at 12 26 45 Screenshot 2019-07-19 at 12 26 01

GitHub

You’ve signed the CLA, jjaffeux. Thank you! This pull request is ready for review.

reads?

This is an unusual API. Is it something meant to be private but must be used?

Can we import Category and call Category.list() instead?

oops

This is mostly a shortcoming of initial implementation and I had to come up with a solution. It will eventually disappear, but it gives me much flexibility for now, and also makes it very easy to track where are these special row cases so I can fix them all at once, when I have a better solution.

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/category-dropdown-in-mobile-view/123344/5

I’m working on various select-kit changes, and putting this on hold

Should we close this till you are ready to have it merged?