Repository navigation
Releases: Move the release and tag page styles into a page stylesheet - #85
Merged
Merged
Conversation
The theme files were about 600 bytes under the size limit the build test enforces. The release list, release form and tag list rules (21 KB) are page-specific and already plain CSS, so they move to styles/pages/releases.css, loaded with the other page stylesheets. The largest theme file drops from 224.7 KB to 208.3 KB. No visual change: the affected and unaffected pages render identically before and after. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Stacked on #84 (base is its branch).
Why
The largest theme file was 224,682 bytes against the 225,280 limit the build test enforces, so the next styling change would have failed the build.
What
githubReleasePage,releaseRefinementsandgithubTagPageinstyles/components/repo/release.tswere already plain CSS (one theme variable reference, replaced by its CSS variable). They move unchanged tostyles/pages/releases.css, which is copied and linked like the other page stylesheets. The remaining upstream release rules stay inrelease.ts.styles/pages/releases.cssVerification
A before/after comparison of every element's position, size, colours, font and borders on 21 preview pages (releases, single release, new release, tags, issue and pull request lists and pages, dashboard lists, organization, repository home). 17 pages are identical. The other four differ only by run-to-run noise that also appears between two runs of the same build (asynchronously decorated release rows, a hover-only copy button, file-tree state).
bun vitest(403 passed),bun checkand Prettier pass.🤖 Generated with Claude Code