Skip to content

frontend: onboarding through the GitHub App (sc-9027, PR 2 of 3) - #119

Draft
ndbroadbent wants to merge 5 commits into
mainfrom
onboarding-frontend
Draft

ndbroadbent wants to merge 5 commits into
mainfrom
onboarding-frontend

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

sc-9027, PR 2 of 3: the frontend for onboarding through the GitHub App. It's stacked on #116 (the backend) and needs #117 (the visual job on app/) for its screenshots. It gets rebased onto main once those merge; until then its diff includes #116.

Checklist (SetupChecklist.tsx)

  • Steps are in the new order: Install the GitHub App → Add VisualCI to CI → Connect your coding agent → Review your first changes. "Create a project" is gone.
  • Install step:
    • "Install on GitHub" goes to /github/install, which carries a session state to GitHub and back.
    • "Already installed on X — Set it up" offers for installations nobody has set up.
    • A line for an installation set up in another organization, linking there.
    • What each set-up did: N projects, plus "N repositories not added" with each reason.
    • "Install on another account" once something is installed.
    • "Not on GitHub? Create a project by hand" as the secondary path.
  • An offer that sets up into another organization navigates there. A refusal shows the server's reason.
  • The organization page accepts ?setup=<step>&installation=<id>, which is where the Setup URL lands. That step opens, with a status line: "VisualCI is set up for X: N projects. Next, add it to CI."
  • Add to CI with no project yet says to install the GitHub App first.

Error messages: api/client.ts now sends Accept: application/json. Without it, app/ answers errors as HTML and every UI error showed "Request failed (NNN)" instead of its description. That affected all pages since cutover; QA found it here.

Docs:

  • quick-start step 1 is "Install the GitHub App", covering projects per maintained repository, organizations named after GitHub organizations, the repositories it can't add, and making a project by hand;
  • the docs index;
  • public/install.md (the agent guide) step 3.
  • Skills are regenerated and the plugin is 0.1.47.

Screenshots of every state (taken on app/ with the visual job's seed): https://pages.docspring.io/nathan/2026-12-03-sc-9027-onboarding-states/

Checked: tsc -b, vitest (39), and skills.mjs --check.


See it in action
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…s recorded from sign-ins and webhooks; GET /github/setup maps an installation to an organization and makes a project per repository the person can maintain; no Default project; checklist install_github_app → add_to_ci → connect_agent → review_changes
…b (own account, an owner of the organization, or its installer) before any organization or mapping is written; the mapping is written only where none exists; GET /github/setup sets up only the install this browser started (state); personal organization by ID; orphaned goldens removed
…t install_github_app → add_to_ci → connect_agent → review_changes, the already-installed offers, what a set-up did and the repositories it couldn't add, landing on the next step; quick-start and install.md; skills; plugin 0.1.47
…ption; clearer wording for an installation set up elsewhere
…pp; the docs (and the add-to-CI snippets) pin CLI 0.2.18, and site.mjs fails on more than one pinned release and warns when a newer one is out
@visualci-com

visualci-com Bot commented Dec 3, 2026

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #16 · 8 changed, 325 unchanged · waiting for review

This PR vs base: 8 changed since #16, across 2 builds · 8 not approved yet

Snapshot Before After
screenshots/docs/index/1440-dark (changed)
screenshots/docs/index/1440-light (changed)
screenshots/docs/index/390-dark (changed)
screenshots/docs/index/390-light (changed)
json/mcp/get_skill_lists_the_skills_and_returns_one/get_skill (changed) text text, see the build
json/mcp/get_skill_lists_the_skills_and_returns_one/get_skill-2 (changed) text text, see the build
site/docs/quick-start (changed) text text, see the build
site/llms (changed) text text, see the build

Updated as builds change. Agents can review with VisualCI's MCP tools.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant