Skip to content

feat(dev): add GitHub repo creation, forking, and 1-click Sync to GitHub UI (4.2.0) - #110

Merged
zeekay merged 1 commit into
mainfrom
feat/dev-github-create-fork-sync
Nov 28, 2026
Merged

zeekay merged 1 commit into
mainfrom
feat/dev-github-create-fork-sync

Conversation

@zeekay

@zeekay zeekay commented Nov 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Add first-class GitHub repository creation (POST /v1/provider/github/repos), public owner/repo forking (POST /v1/provider/github/fork), and outbound GitHub mirror target API helpers (GET/POST /v1/git/repos/:name/targets, POST /v1/git/repos/:name/link).
  • Add GitHubBadge, SyncToGitHubDialog, GitHubReposModal, CreateGitHubRepoForm, ForkGitHubRepoForm, and 1-click 412/409 personal user-OAuth fallback CTA (POST /v1/provider/github/user/connect) in packages/dev/builder/github-sync.tsx.
  • Wire crisp GitHub badge (owner/repo ↗) or 1-click Sync to GitHub control into the Project workspace header (project.tsx) and Projects table rows (forge.tsx).
  • Upgrade Link a GitHub repo / Sync repositories (forge.tsx modal + sync.tsx) so connected accounts with 0 repositories get Create + Fork actions instead of a dead-end empty state, and accounts with repos get quick search, 1-click Import & edit in /dev, and Create/Fork tabs — responsive from 390px mobile to 1440px desktop.
  • Bump @hanzo/dev to 4.2.0.

Verification

  • pnpm --filter @hanzo/dev typecheck passed
  • pnpm --filter @hanzo/dev test passed (75 files, 970 tests including 19 new tests in builder/api/github-sync.test.ts and builder/github-sync.test.tsx)
  • pnpm --filter @hanzo/dev build + node scripts/embed-dist-check.ts passed (810 files)

@zeekay
zeekay merged commit 2fa04cb into main Nov 28, 2026
22 of 23 checks passed
@zeekay
zeekay deleted the feat/dev-github-create-fork-sync branch November 28, 2026 04:00
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XXL labels Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant