Skip to content

Adds various features to the books plugin#84

Open
ajrbyers wants to merge 13 commits intomasterfrom
issue-37-36-79-31
Open

Adds various features to the books plugin#84
ajrbyers wants to merge 13 commits intomasterfrom
issue-37-36-79-31

Conversation

@ajrbyers
Copy link
Member

@ajrbyers ajrbyers commented Mar 17, 2026

Closes #31
Closes #36
Closes #37
Closes #79
Closes #76

#37 — Language and notes

Two new fields on Book: language and notes. Language slots in under Publication Details, notes go below Linked Items. Both themes covered.

#36 — Contributor bios and headshots

Contributors can now have a bio and a headshot. On the public-facing book and chapter pages, clicking a contributor's name opens a modal with their details. Works in both OLH and material themes.

#31 — Corporate authors

Contributor now has an is_corporate flag and a corporate_name field. The edit form uses HTMX to swap out the name fields when you tick the checkbox, so you're not staring at first/middle/last fields that
don't apply.

#79 — Multiple categories and chapter formats

Categories: Switched Book.category from a FK to a M2M so books can belong to more than one category. Existing assignments are preserved via a data migration. Categories now display as comma-separated links on the front end.

Chapter formats: Replaced Chapter.filename with a proper ChapterFormat model so chapters can have multiple downloadable files. Again, existing filenames are migrated across automatically. Formats show up as individual download buttons on the chapter page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants