Skip to content

Branches: Matched GitHub's branches page and branch tables - #106

Merged
whereareiam merged 1 commit into
devfrom
feat/branches-github
Oct 23, 2026
Merged

whereareiam merged 1 commit into
devfrom
feat/branches-github

Conversation

@whereareiam

@whereareiam whereareiam commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #105 (feat/commits-github); merge that first.

What changes

The branches page now follows GitHub's: a "Branches" heading with New branch, a full-width search, then the default branch and the other branches in tables (components/repository/branch).

  • Columns: Branch, Updated, Check status, Behind | Ahead (bars that grow away from the divider) and Pull request.
  • Branch names use GitHub's branch label, shared with the pull request header.
  • Pull requests show their state icon and number.
  • Each row ends with Delete (or Restore) and a menu with Forgejo's create, rename, download and RSS actions. Forgejo's dialogs and scripts are unchanged.
  • The commit, branch and tag counters are gone.
  • On phones the table keeps the name, pull request and actions.

Before and after

Dark mode, in the dev preview at 1316px.

Branches: before after
Branches before Branches after

Checks

  • bun run bundle, bunx vitest run (411 tests) and Prettier pass on this branch. bun run lint fails on dev too, because typescript-eslint does not support the installed TypeScript 7.
  • The pull request workflow runs only for pull requests into dev, so these checks ran locally.
  • Checked in the dev preview at desktop and phone width, in dark and light mode.

Preview: http://localhost:3000/acme/webapp/branches

🤖 Generated with Claude Code

@whereareiam whereareiam added the change Changed look, templates or compatibility label Oct 22, 2026
The branches page follows GitHub's: a "Branches" heading with New
branch, a full-width search, then the default branch and the other
branches in tables with Branch, Updated, Check status, Behind | Ahead
and Pull request columns. Branch names use GitHub's branch label (shared
with the pull request header), pull requests show their state icon and
number, and each row ends with Delete (or Restore) and a menu holding
Forgejo's create, rename, download and feed actions. The commit, branch
and tag counters GitHub does not show here are gone. On phones the
table keeps the name, pull request and actions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Base automatically changed from feat/commits-github to dev October 23, 2026 05:59
@whereareiam
whereareiam merged commit 65c2fbf into dev Oct 23, 2026
7 checks passed
@whereareiam
whereareiam deleted the feat/branches-github branch October 23, 2026 06:00
@whereareiam whereareiam changed the title Branches: GitHub's branches page and branch tables Branches: Matched GitHub's branches page and branch tables Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change Changed look, templates or compatibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant