Can we add new genres?

Some that I was looking for:

Arthurian Literature (Ex.: The Complete Story of the Grail - Books - ctlgs )

Arthurian Studies

Medieval Literature (Ex.: The Sagas of Icelanders - Books - ctlgs )

Medieval Studies

Hard-Boiled Fiction (Ex.: The Big Book of the Continental Op - Books - ctlgs )

Noir Fiction (Ex.: Five Noir Novels of the 1940s & 50s - Books - ctlgs )

I’m sure others can add further missing genres.

The genres list is hardcoded and has 105 in it so far. What if I update it to accept free text as well? Then over time the most popular of the free text entries could become permanent in the dropdown.

That should work. Thanks.

Ok, now you can use custom genres not in the dropdown.

It seems to work. I just added Medieval Literature and Arthurian Studies.

Next question: Is it possible to turn genre entries into links?

Buggy behaviour…

Free-text entry appears to interfere with keyboard selection from dropdown

Scenario, type “Poetry” in the genre box one character at a time.

  • The list of fixed options never refines.
  • The option to add a free-text substring, e.g. “Po”, “Poe” etc. disappears once a match is found - suggests it knows that one’s in the list. The list itself truncates at “Journalism” (and no longer shows “Poetry” at all)

What would make this work better for me is if genres that don’t match what is being typed are removed as you type.

This would allow me to type a couple of characters, then use arrow keys and enter to select an option - maintaining typical behaviour for this type of component.

Sorry about that! I’ll get this fixed by end of the week.

1 Like

Ok, this should be working correctly now.

Looks good to me, many thanks!

1 Like