Skip to content

Add FieldPanel for audiobook_link to admin UI#1672

Merged
mwvolo merged 1 commit intomainfrom
add-audiobook-link-field-panel
Mar 6, 2026
Merged

Add FieldPanel for audiobook_link to admin UI#1672
mwvolo merged 1 commit intomainfrom
add-audiobook-link-field-panel

Conversation

@OpenStaxClaude
Copy link
Contributor

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

  • Added FieldPanel('audiobook_link') to content_panels in the Book model
  • Positioned after amazon_link for logical grouping with other purchase link fields

Why 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

  • Verify audiobook_link field appears in the Book edit page in Wagtail admin
  • Verify the field can be edited and saved
  • Verify the field appears in the appropriate section with other purchase links

Related


🤖 Generated with Claude Code

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>
Copilot AI review requested due to automatic review settings March 6, 2026 15:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@mwvolo mwvolo merged commit 51b0c31 into main Mar 6, 2026
12 checks passed
@mwvolo mwvolo deleted the add-audiobook-link-field-panel branch March 6, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants