Repository navigation
Code: Matched GitHub's sidebar layout and hover states - #96
Merged
Merged
Conversation
Measured against github.com at the same width: - About: 12px between description, website and topics, 8px between metadata rows; the website link is accent blue and underlines on hover; topic pills are 26px tall with 2px/8px gaps; the gear is muted and turns blue on hover without a background. - Metadata: "N stars / N watchers / N forks" from Forgejo's plural strings; the README and repository size rows are gone, as on GitHub. - Releases: the counter sits beside the heading, the Latest badge uses the success border, and the "+ N releases" link is dropped. - Packages: the empty state keeps its two lines without a gap, and the "Publish your first package" step is only offered to people who can publish, as on GitHub. - Languages: the heading is visually hidden, the bar has 2px-separated segments with a 3px radius, and the legend uses 8px dots and 12px gaps. - Sections share GitHub's rhythm: divider, 16px, heading, 12px, content. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
whereareiam
force-pushed
the
fix/repo-home-sidebar
branch
from
October 22, 2026 16:16
5744047 to
5eb088b
Compare
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.
What changes
The repository Code tab sidebar now matches GitHub's, measured on github.com at the same 1280px width, including hover states.
2px 12px), 2px/8px gaps, solid blue on hoverContributors and the license, contributing and code of conduct rows are not added: Forgejo exposes no data for them on this page.
Before and after
Dark mode, 1280px wide,
acme/webappin the dev preview.Checks
bun vitest: 406 tests pass (one source assertion updated to the new legend values);tsc -band Prettier pass.bun lintcould not run locally: the installed typescript-eslint does not support TypeScript 7.🤖 Generated with Claude Code