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

Update Vice chair title on homepage, make it so this is auto-updates in the future. #3310

Closed

Conversation

johnnyporkchops
Copy link
Contributor

@johnnyporkchops johnnyporkchops commented Oct 30, 2019

Summary

Impacted areas of the application

This impacts the commissioners block that appears in streamfields (currently used on about/leadership-and-structure ). Also effects the homepage commissioners' listing.

  • modified: home/templates/home/home_page.html
  • modified: home/templates/partials/current-commissioners.html
  • modified: home/templatetags/home_page.py
  • modified: home/templates/blocks/commissioners.html

Looks exactly the same as on production, but its not hardcoded:
Screen Shot 2019-10-30 at 2 13 08 AM

  • Include a screenshot of the new/updated features in context (“in the wild”). If it is an interface or front end change, include both a Before and After screenshot.

Related PRs

How to test

  • Checkout and run branch
  • Verify that the homepage commissioner listing for Vice Chair Hunter includes her title and that others are correct. (Your local Wagtail page for Hunter must have her title added if it is not already)
  • You may not see the images if you do not have them on your local CMS, you can add the these three images to fec-cms/fec/media/images
    headshot--weintraub original
    headshot--walther original
    headshot--hunter original

@codecov-io
Copy link

codecov-io commented Oct 30, 2019

Codecov Report

❗ No coverage uploaded for pull request base (develop@b396f37). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop    #3310   +/-   ##
==========================================
  Coverage           ?   74.61%           
==========================================
  Files              ?      120           
  Lines              ?     7232           
  Branches           ?      633           
==========================================
  Hits               ?     5396           
  Misses             ?     1836           
  Partials           ?        0
Impacted Files Coverage Δ
fec/home/templatetags/commissioners.py 33.33% <ø> (ø)
fec/home/templatetags/home_page.py 37.5% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b396f37...29ccda4. Read the comment docs.

Copy link
Contributor

@dorothyyeager dorothyyeager left a comment

Choose a reason for hiding this comment

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

@johnnyporkchops I'm not sure this worked. I added Vice Chair to the Commissioner's page in feature, but it did not update the home page automatically to reflect her title. (We've already added her title to her page in prod.) We need to ensure the home page says she is the Vice Chair.

@patphongs patphongs requested review from rfultz and removed request for patphongs October 31, 2019 13:23
Copy link
Contributor

@rfultz rfultz left a comment

Choose a reason for hiding this comment

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

Seems to be working for me locally!

@johnnyporkchops
Copy link
Contributor Author

@dorothyyeager this is not on feature, so it would not work there. I guess there is no way for you to review it but I thought you should be on as a reviewer since it was your issue

@johnnyporkchops johnnyporkchops requested review from dorothyyeager and removed request for dorothyyeager October 31, 2019 14:26
@jason-upchurch jason-upchurch added the HOTFIX Merge with git flow label Nov 1, 2019
Copy link
Member

@lbeaufort lbeaufort left a comment

Choose a reason for hiding this comment

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

Just a reminder that if this is going to be a hotfix, we should make a new branch off master. We could cherry-pick these commits over if it's easier.

Copy link
Contributor

@dorothyyeager dorothyyeager left a comment

Choose a reason for hiding this comment

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

Approved content team wise but not merging. Will need a dev to doublecheck and merge to master.

@johnnyporkchops
Copy link
Contributor Author

Closing in favor of hotfix: #3315

@lbeaufort
Copy link
Member

New hotfix PR was made: #3315

@lbeaufort lbeaufort closed this Nov 1, 2019
@johnnyporkchops johnnyporkchops deleted the feature/home-page-commissioners-templatetag branch November 8, 2019 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HOTFIX Merge with git flow Please review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update home page and Leadership page to reflect Vice Chair's title
6 participants