internetarchive / internetarchive/openlibrary

Genre, Subgenre, and Audience Tags on Works

Open
#11,610 16 comments 0 reactions 1 assignee Claimed by @Chisomnwa View on GitHub
hacktoberfest Lead: @mekarpeles Module: Solr Updater Needs: Staff / Internal Priority: 2 State: Blocked Team: Front-end Theme: Book Tags Theme: CSS Theme: Editing Theme: Subjects Type: Epic Type: Feature Request
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

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

1. Update olclient/schemata/work.schema.json (and infogami type registry) to support genres: List of Tag (tag_type: genre)
2. Ensure API/backend changes propagate to/from infogami + storage
3. Add display of genres (as labeled chips) to templates/type/edition/view. html and work.html
4. Update editing UI for genres: input, add/remove chip JS, autocomplete, CSS
5. Canonicalize genre tag UX style & shape; document, get agreement
6. Implement dedicated genres autocomplete using `/tags.json?tag_type=genre`
7. Update Solr schemas, update Solr updater logic, ensure search/facet by genre
8. Write tests (schema, UI, API, Solr), migration/backfill script
9. 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.