Repository navigation
Issues: Lay out the new issue page like GitHub's, match list and state details - #78
Merged
Merged
Conversation
…e details Compared against GitHub signed in (issue list, issue page, closed issues, new issue page): - The new issue page was stock Forgejo. It now has GitHub's layout: the avatar and a heading, a 32px title field, the shared comment editor, a plain attachment line and a 32px submit button, without the repository header bar or the box around the form. - Closed issues show a purple icon in the list instead of red. - Issue and pull request titles in the lists are 500, the state label on an issue page is 600. The comment editor's rules are now written once for every host instead of being repeated per page, which also keeps the theme files under the size limit. 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 #77 (base is its branch).
Comparison
Measured against GitHub in a signed-in browser on a temporary private repository (open and closed issues, labels, a comment).
Already matching, unchanged: list sidebar, search bar, 48px list header, 16px/24px titles, 12px meta line, 16px state icons; issue page title (32px/400), full-width comment boxes with header avatars, 912px content column, sidebar headings.
Not changed:
owner/repo#N · author opened …; Forgejo's is#N opened … by author.Editor styles
styles/components/issues/editor.tsnow emits the editor and attachment rules once, for a list of hosts (comment form, new issue page, review panel, diff comment form), instead of interpolating the same fragment in each file. Dark theme CSS is 220,133 bytes against the 225,280 limit the build test enforces.Templates
templates/repo/issue/new.tmploverrides Forgejo's: it dropsrepo/header, adds the page class and a heading from therepo.issues.newtranslation, and still renders Forgejo's ownrepo/issue/new_form.Verification
Checked in the preview: new issue page, issue list (open and closed), an issue page, and the three other editors (comment form, review panel, diff comment form) after the consolidation.
bun vitest(403 passed),bun checkand Prettier pass. Screenshots are not attached.🤖 Generated with Claude Code