Port GitHub repository UI directly to Forgejo 15 - #2
Draft
whereareiam wants to merge 12 commits into
Draft
Conversation
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 changed
(#PR)references so only the commit subject and PR number are clickable; parentheses remain plain textcommit_page.tmplthat presents attribution, message metadata, stats, file tree, and diff workspace in GitHub’s layout while preserving branch/tag loading, copy hash, notes, revert, cherry-pick, statuses, and the native diff renderer767.98pxbreakpoint for repository headers/tabs, source toolbar, file list, About bottom sheet, commit metadata, file tree, and diff workspaceWhy
The upstream theme targets newer Gitea markup, while this deployment runs Forgejo 15. Native Semantic UI rules and structural differences were overriding the backported styling and, on some routes, incompatible templates caused failures. The repository overview and commit page also needed structural template changes that CSS alone could not reproduce safely.
The adaptation now follows the project’s existing source architecture: maintainable TypeScript styles and version-bound templates in their normal directories, compiled through the standard bundle pipeline. Arcadeya manifests remain deployment state rather than theme-source compatibility code.
Impact
Repository navigation, overview, clone controls, commit summaries, and commit detail pages now follow current GitHub sizing, color, spacing, hierarchy, and interaction behavior while retaining Forgejo-specific functionality. The responsive rules prevent custom desktop geometry from overflowing or colliding at phone widths in both light and dark themes.
Validation
bun checkbun lintbun bundle:ci— 10 test files / 346 tests passedv15.0.5actions/setup-nodergb(145, 152, 161)color as GitHubnative-r40, Helm revision 66: pod ready 1/1 on node-2, zero restarts, matching CSS/template hashes, overview and commit endpoints return 200, and no theme-related browser or template/runtime errors