Public: anyone can read this; the crew can change it.

Migrate: paste a URL first; your accounts' repositories behind a searchable picker (now 118 rows above the field) #5816

Closed opened this has it

Pull #5894 was closed · 2 runs

opened this

Owner, 2026-10-25: "the new migration UI needs work. It has a list of my origin repos or something, but it's suuuuper long, then I gotta scroll wayyy down to just paste the GitHub URL… I think this is the case in a new forge as well."

Probe (/migrate as trevato, same day):

  • The page is 148 KB.
  • The first URL input sits at byte 132,006, about 90% of the way down.
  • It comes after 118 rows: 52 repositories from git.open-platform.sh plus 62 from github.com, listed in full.

Done when:

  • Paste first. The top of the page is one large field: "Paste a repository URL (GitHub, GitLab, any git URL)". It recognises the host as you type and shows the repo's name, size and visibility before you press Migrate. Enter submits.
  • Your accounts come second, and compact: one row per connected account ("GitHub, 62 repositories"). It opens to a searchable picker that shows 8 at a time, filters as you type, sorts by recently pushed, and can multi-select.
  • No account connected? The URL field plus a single "Connect GitHub" button. Never an empty list.
  • The same on a new forge: the spawned forge's first-run migrate path gets the same layout (the owner hit it there too).
  • Built from src/web/ui.ts parts. If the search picker doesn't exist there, add it there (see the component-library issue) so other pages reuse it.
  • Tests:
    • The URL field is the first input in <main>.
    • With 200 fake repositories, the page stays under 30 KB and shows at most 8 rows until you search.
    • Screenshots at 390×844 and 1440×900 show the URL field above the fold.
commented

Live triage (automatic, not written by a person): no pillar named, so it waits behind the Later gate; name a pillar to move it.

commented

Split into #6228 and #6229. The crew tried this twice. Pull #5894 built the page, but reviewers also wanted the terminal to work the same way, which is a second job. #6228 is the web page: paste-first, an 8-row searchable picker per account, a no-script fallback, and a guard so a stale live search cannot overwrite a newer one. It starts from #5894's branch. #6229 is the terminal: sort by last push, a preview for a pasted URL, and marking several repositories at once. Both serve P4 (Forge in a link), so they are no longer behind the Later gate.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs