Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Subject Filter in Directory #332

Open
SteelWagstaff opened this issue Jun 4, 2021 · 0 comments
Open

Improve Subject Filter in Directory #332

SteelWagstaff opened this issue Jun 4, 2021 · 0 comments
Labels

Comments

@SteelWagstaff
Copy link
Member

At present, we store and display the Thema subject term for each book in the Subject facet. Even though Thema is a highly structured taxonomy, no discernable relationship between subject terms is visible in our Directory. We also display a whopping 832 subject terms, which is so overwhelming as to be almost useless.

The goal is to replace the current subject terms with a flattened Thema taxonomy structure which includes at least the first and second levels. This will keep the list short and manageable when the facet is opened and the subjects have not been expanded. The facet search function should still function for third and fourth levels, even though they are invisible (e.g., a search for third-level subject Television will produce its second-level parent, Performing Arts).

See: https://docs.google.com/spreadsheets/d/1kqrhUi2sxTWNTJJ0_o7LeFjhhHu9L1D8/edit#gid=271788788

Top level taxonomy items would display by default with the total count of items in all child subject categories, etc. Each top level taxonomy should have a + button which allows it to be expanded and which would then display any second level categories which have subject terms. When expanded, a top-level subject might look something like this:

Screenshot from 2021-06-04 14-25-36.png

We could potentially repeat this at the third and fourth level (which have 1087 and 1862 possible headings, respectively), but let's start with just top 2 levels for now (20 terms in top level, and 145 in second level).

@SteelWagstaff SteelWagstaff transferred this issue from pressbooks/pressbooks Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant