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

Add BlogPageCategory Class and register it as snippet #3594

Merged
merged 2 commits into from
Aug 29, 2019

Conversation

mmmavis
Copy link
Collaborator

@mmmavis mmmavis commented Aug 29, 2019

Related to #3560

This PR adds BlogPageCategory as well as the five categories we want to have.

A follow-up PR will give the BlogPage a many-to-many relation to BlogPageCategory.

@patjouk patjouk temporarily deployed to foundation-mofostaging-pr-3594 August 29, 2019 23:16 Inactive
Copy link
Contributor

@alanmoo alanmoo left a comment

Choose a reason for hiding this comment

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

Looks great!

@mmmavis mmmavis merged commit bd29651 into development Aug 29, 2019
@mmmavis mmmavis deleted the issue-3560-blog-category branch September 5, 2019 17:34
Pomax pushed a commit that referenced this pull request Sep 10, 2019
* Remove Google Sheet related fields from Petition model (#3585)

* Add BlogPageCategory Class and register it as snippet (#3594)

* Add BlogPageCategory Class and register it as snippet

* Add five initial categories

* Give the BlogPage a many-to-many relation to BlogPageCategory (#3595)

* Add blog category to Blog factory (#3605)

* Add blog category to Blog factory

* Update network-api/networkapi/wagtailpages/factory/blog.py

Co-Authored-By: Pomax <pomax@nihongoresources.com>

* Update network-api/networkapi/wagtailpages/factory/blog.py

Co-Authored-By: Pomax <pomax@nihongoresources.com>

* Update network-api/networkapi/wagtailpages/factory/blog.py

Co-Authored-By: Pomax <pomax@nihongoresources.com>

* Fix indentation

* removing remaining image_text2 instances (#3575)

* decrease margin top (#3574)

* Category pages (for Blog) (#3604)

* blog category subpage routes, with template updates specific to category cards

* Make tag/category list show on its own line (#3635)
alanmoo pushed a commit that referenced this pull request Sep 12, 2019
* Remove Google Sheet related fields from Petition model (#3585)

* Add BlogPageCategory Class and register it as snippet (#3594)

* Add BlogPageCategory Class and register it as snippet

* Add five initial categories

* Give the BlogPage a many-to-many relation to BlogPageCategory (#3595)

* Add blog category to Blog factory (#3605)

* Add blog category to Blog factory

* Update network-api/networkapi/wagtailpages/factory/blog.py

Co-Authored-By: Pomax <pomax@nihongoresources.com>

* Update network-api/networkapi/wagtailpages/factory/blog.py

Co-Authored-By: Pomax <pomax@nihongoresources.com>

* Update network-api/networkapi/wagtailpages/factory/blog.py

Co-Authored-By: Pomax <pomax@nihongoresources.com>

* Fix indentation

* removing remaining image_text2 instances (#3575)

* decrease margin top (#3574)

* Category pages (for Blog) (#3604)

* blog category subpage routes, with template updates specific to category cards

* initial commit with customblock + partial template

* added category filter field

* added validators and helper function to render html

* pair programming rewrite

* added validators and helper function to render html

* style updates

* fixed filter functionality and added more comments

* woohoo migrations!

* style tweaks

* small fix

* Make tag/category list show on its own line (#3635)

* cat filter fix

* component fixes

* updated README

* updated migrations

* new migration

* removed conflicting migration

* new migration
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.

3 participants