Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 447 contribute highlight #451

Closed

Conversation

SurajSanap
Copy link

Changes Made

  • Added a boolean field 'needs_contributions' to the MilestoneItem model.
  • Modified the process function to set 'needs_contributions' to True for items labeled 'Contribute to this'.
  • Updated the code documentation for clarity.

Purpose

This improvement makes it easier to identify and manage items that require contributions on the roadmap. The 'Contribute to this' items are now appropriately marked and can be handled accordingly.

Related Issues

Closes #447

Implemented logic in the process function to identify items labeled 'Contribute to this' and set the 'needs_contributions' field to True in the MilestoneItem model. This enhancement helps in easily identifying and handling items that require contributions on the roadmap.
…lay blog posts with multiple authors - Modify Blog Post template to handle multiple authors - Update Blog models to support multiple authors

This commit introduces enhancements to the Wagtail blog functionality to accommodate blog posts with multiple authors. The changes include adjustments to both templates and models.

1. **Blog Index Template Update:**
   - The Blog Index template (`patterns/pages/blog/blog_index_page.html`) has been updated to display blog posts that may have multiple authors. This ensures a clear presentation of posts in the listing.

2. **Blog Post Template Modification:**
   - The template used to display individual blog posts (`patterns/pages/blog/blog_page.html`) has been modified to handle multiple authors. The author information is now presented dynamically, allowing for a clean representation of each author.

3. **Blog Models Enhancement:**
   - The Blog models (`models.py`) have been enhanced to support multiple authors. A new model, `Author`, has been introduced, and the `BlogPage` model has been updated to include a `ManyToManyField` for authors. This allows associating multiple authors with a single blog post.

These changes aim to provide greater flexibility in managing and presenting blog posts with collaborative authorship.
Copy link
Member

@thibaudcolas thibaudcolas left a comment

Choose a reason for hiding this comment

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

@SurajSanap I’m not sure what happened here but this PR contains lots of completely unrelated changes and doesn’t even implement the "contribute" label as outlined in #447.

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.

Highlight "Contribute to this" items on the roadmap
2 participants