Skip to content

Conversation

@rhodges
Copy link
Member

@rhodges rhodges commented Aug 21, 2025

No description provided.

@rhodges rhodges requested a review from Copilot August 21, 2025 22:38
@rhodges rhodges self-assigned this Aug 21, 2025
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

This PR adds support for metadata links in themes by introducing a new metadata_url field to the Theme model. The change allows themes to specify custom metadata URLs that take precedence over the existing hardcoded v1 parent metadata lookup.

Key changes:

  • Added a new metadata_url field to the Theme model
  • Updated the metadata_link method to prioritize the new field over hardcoded values
  • Made the new field available in the Django admin interface

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
layers/models.py Added metadata_url field to Theme model and updated metadata_link method logic
layers/migrations/0026_theme_metadata_url.py Django migration to add the new metadata_url field to the database
layers/admin.py Added metadata_url field to the Theme admin interface

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@rhodges rhodges merged commit ccd7e83 into main Aug 21, 2025
@rhodges rhodges deleted the mpl_iss_0012_metadata_url_field branch August 21, 2025 22:40
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.

2 participants