internetarchive/openlibrary
View on GitHubRFC: Add `genres` field to Open Library Work records (system-wide support for Genre Tags)
Open
#11,610 opened on Dec 19, 2025
Lead: @mekarpelesModule: Solr UpdaterNeeds: ResponseNeeds: Staff / InternalPriority: 2State: BlockedTeam: Front-endTheme: Book TagsTheme: CSSTheme: EditingTheme: SubjectsType: EpicType: Feature Requesthacktoberfest
Repository metrics
- Stars
- (4,626 stars)
- PR merge metrics
- (Avg merge 6d 2h) (126 merged PRs in 30d)
Description
Feature Request
System-wide support for first-class genre tags on Works (books), including schema, admin/type registry, API changes, UI/UX, editing, autocomplete, search/index, data migration, and developer/user documentation.
Breakdown
- Update olclient/schemata/work.schema.json (and infogami type registry) to support genres: List of Tag (tag_type: genre)
- Ensure API/backend changes propagate to/from infogami + storage
- Add display of genres (as labeled chips) to templates/type/edition/view. html and work.html
- Update editing UI for genres: input, add/remove chip JS, autocomplete, CSS
- Canonicalize genre tag UX style & shape; document, get agreement
- Implement dedicated genres autocomplete using
/tags.json?tag_type=genre - Update Solr schemas, update Solr updater logic, ensure search/facet by genre
- Write tests (schema, UI, API, Solr), migration/backfill script
- Add developer and end-user documentation. Plan for upgrade/feature flag, Solr reindex.
- See full checklist in ticket for complete file-by-file breakdown and gotchas.