Add FieldPanel for audiobook_link to admin UI#1672
Merged
Conversation
The audiobook_link field was added to the Book model in PR #1656, but the corresponding FieldPanel was not included in the content_panels configuration. This prevented the field from appearing in the Wagtail admin interface. This commit adds FieldPanel('audiobook_link') to the content_panels list, positioned after amazon_link for logical grouping with other purchase options. Related: CORE-1476 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds the missing Wagtail admin panel configuration so audiobook_link (introduced previously) is editable in the Book edit UI, aligning CMS editing capabilities with the existing model/API support.
Changes:
- Added
FieldPanel('audiobook_link')to the Book admin panel list. - Positioned the new field alongside other purchase/link fields (after
amazon_link).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
TomWoodward
approved these changes
Mar 6, 2026
mwvolo
approved these changes
Mar 6, 2026
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.
Summary
This PR adds the missing
FieldPanel('audiobook_link')to the Book model's admin configuration. The audiobook_link field was added in PR #1656, but the FieldPanel was omitted, which prevented the field from appearing in the Wagtail CMS admin interface.Changes
FieldPanel('audiobook_link')tocontent_panelsin the Book modelamazon_linkfor logical grouping with other purchase link fieldsWhy This Is Needed
Without the FieldPanel, the audiobook_link field exists in the database and API but cannot be edited through the CMS admin UI. This prevented content editors from adding audiobook links to books.
Testing
Related
🤖 Generated with Claude Code