LibriVox / librivox-catalog

LibriVox catalog and reader workflow application
https://librivox.org
MIT License
38 stars 17 forks source link

Split Genre list dropdowns into 2 separate dropdowns? #57

Closed twinkietoes-on closed 2 months ago

twinkietoes-on commented 3 years ago

In the project template generator and the add_project screen, would it be possible to have one dropdown for fiction and a separate one for nonfiction? Genre list needs some sort of drill-down display, rather than a plain list. It's so long! And when your finger slips, you lose your place in the long list. (Try setting the genre Nonfiction / Science / Chemistry and you'll see how cumbersome it is...)

Priority: 3

redrun45 commented 4 months ago

As recently discussed, it may be enough to have the genre menus be sorted alphabetically. Since Nonfiction is prefixed with a "*", it ought to show up first, in that case.

Here are a couple of examples of what that would look like: genre-order-chrome genre-order-firefox

The ordering of this menu is somewhat tied to the genres.lineage column. Currently, we can detach the menu from that, but the Genre Manager screen would still have the old ordering: genre-order-genremanager

redrun45 commented 4 months ago

Two pictures for the interface itself.

First, how this works: every item has a 'Priority'. Currently, that's 5 by default. Enter a higher number for a given item, and it will be sorted before the other items in the same (sub-)menu. Hopefully the tool-tip is equally explanatory: genre-manager-prio1

Then, a convenience change for while we're here. The "Parent" drop-down will now indent the choices it offers you, just like the column on the left does. That should make it easier to keep track of where you are, in the long list of options: genre-manager-prio2

Now, a couple of sub-menus that I've re-ordered by altering the priority numbers. You'll notice that "History" and "General Fiction", still have the default priority of 5. They are in the default, alphabetical order at their own menu level, regardless of how their sub-items are numbered. genre-manager-prio3 genre-manager-prio4

Then, to demonstrate those same sub-menus in the Template Generator, ordered as they should be: genre-manager-prio5 genre-manager-prio6