Add keywords, characters and genres to the bookentry/database and use it for a category filter.
ClosedPublic

Authored by woltherav on Sep 26 2018, 12:55 PM.

Details

Summary

This adds character names/keywords and genres to the book entry/database, and uses it in a category filter.

This one has some things to think about:

  1. Does this single category make sense, or should we have a category for each of these things?
  2. Maybe we should order the database more sensibly while we're at it.
  3. There's also content rating/system and genre match, but perhaps this should wait for a later patch.

Diff Detail

Repository
R157 Peruse
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
woltherav requested review of this revision.Sep 26 2018, 12:55 PM
woltherav created this revision.
leinir accepted this revision.Sep 28 2018, 9:08 AM

Not entirely sure how we would really make the database any nicer.. don't particularly want to add more tables, though i guess that might be what we'd end up doing (in essence, a new table for everything that's currently a csv list). If you feel like doing it, though, do go ahead :)

As to whether or not it makes sense to have those categories split up in the UI, that's easy enough to add, so if we test it out like this and see if it's awkward not to have a separation there?

This revision is now accepted and ready to land.Sep 28 2018, 9:08 AM

I was thniking in terms of 'putting seriesNumbers and Volumes next to the series entry', and such. But I'll push this after my daily walk :)

I was thniking in terms of 'putting seriesNumbers and Volumes next to the series entry', and such. But I'll push this after my daily walk :)

Oh right :D That's straightforward enough, sure, there's been no releases with the database code in it yet, so a cleanup like that's certainly doable anyway :)

This revision was automatically updated to reflect the committed changes.