Adds various features to the books plugin#84
Open
ajrbyers wants to merge 14 commits into
Open
Conversation
Closed
mauromsl
requested changes
May 27, 2026
Member
mauromsl
left a comment
There was a problem hiding this comment.
Awesome additions! I've added a comment to avoid race conditions with the introduction of the cool HTMX interactions. We will need to be more careful with these now that we are making the client more interactive. Perhaps a generic approach to disable (or replace with spinner) any buttons that trigger a post would be good.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.