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 leadership page layout #13557

Merged
merged 1 commit into from
Aug 16, 2023
Merged

Conversation

nathan-barrett
Copy link
Contributor

One-line summary

#13554 - Changes the leadership page organization and layout.

Significant changes and points to review

/about/leadership has changed to include all members on one page - subnavigation has been updated to use anchor links as well

Issue / Bugzilla link

#13554

Testing

http://localhost:8000/en-US/about/leadership

@nathan-barrett nathan-barrett added Needs Review Awaiting code review Review: S Code review time: 30 mins to 1 hour labels Aug 14, 2023
@nathan-barrett nathan-barrett force-pushed the 13554-leadership-pay-layout branch 2 times, most recently from ef35bfe to 0bf7dac Compare August 15, 2023 16:28
@codecov
Copy link

codecov bot commented Aug 15, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.08% 🎉

Comparison is base (ab4b7a8) 76.54% compared to head (26e7fed) 76.62%.
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13557      +/-   ##
==========================================
+ Coverage   76.54%   76.62%   +0.08%     
==========================================
  Files         147      147              
  Lines        7880     7856      -24     
==========================================
- Hits         6032     6020      -12     
+ Misses       1848     1836      -12     
Files Changed Coverage Δ
bedrock/mozorg/redirects.py 71.42% <ø> (ø)
bedrock/mozorg/urls.py 88.88% <ø> (ø)

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nathan-barrett
Copy link
Contributor Author

received approval, so this is good to merge once r+

@craigcook craigcook self-assigned this Aug 15, 2023
Copy link
Member

@craigcook craigcook left a comment

Choose a reason for hiding this comment

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

Looks good, just one nitpick about slashes. r+wc 🍃

</article>

</div>
{% include "mozorg/about/leadership/includes/executive.html"%}
Copy link
Member

Choose a reason for hiding this comment

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

Ooo very smart doing these as includes! This could have easily turned into a massive template that would scroll forever.

@@ -562,4 +562,9 @@ def decider(request, **kwargs):
redirect(r"^/exp/opt-out/?$", "privacy.convert-opt-out"),
# Issue 13211
redirect(r"^/en/$", "/en-US/", permanent=True),
# Issue 13554
redirect(r"^about/leadership/senior-leadership/$", "/about/leadership#senior/"),
Copy link
Member

@craigcook craigcook Aug 15, 2023

Choose a reason for hiding this comment

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

I think the trailing slash should go before the hash on all of these:

Suggested change
redirect(r"^about/leadership/senior-leadership/$", "/about/leadership#senior/"),
redirect(r"^about/leadership/senior-leadership/$", "/about/leadership/#senior"),

@stephaniehobson stephaniehobson removed the Needs Review Awaiting code review label Aug 16, 2023
@nathan-barrett nathan-barrett merged commit 965d836 into main Aug 16, 2023
5 checks passed
@nathan-barrett nathan-barrett deleted the 13554-leadership-pay-layout branch August 16, 2023 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review: S Code review time: 30 mins to 1 hour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants