Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9149 +/- ##
=======================================
Coverage 99.11% 99.11%
=======================================
Files 139 139
Lines 4071 4071
=======================================
Hits 4035 4035
Misses 36 36 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
17 of 22 tasks
A theme that adds a top menu or header items had to copy the whole _site_header partial. The header wrapper gets a site-header id so a theme can restyle it without copying it. Co-Authored-By: Clanker
senid231
force-pushed
the
header-partials
branch
from
November 12, 2026 11:19
f4887f5 to
bdf247f
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Splits
_site_header.html.erbinto three partials, so a theme can change one part of the header without copying the rest:_header_leading: the menu button and the site title._header_navigation: empty by default, for navigation between the title and the actions._header_actions: the dark mode switch and the user menu._site_headerkeeps its outer element and gainsid="site-header", so a theme can restyle the bar without copying it. Each partial holds the markup that was there before, moved without changes.Part of #9146. I compared the rendered dashboard and index pages before and after. The only difference is the new id.