Skip to content

tools(desktop): review Storybook for the desktop app (stacked on #1518) - #1578

Draft
jonathan308 wants to merge 1 commit into
devfrom
tools/desktop-storybook
Draft

jonathan308 wants to merge 1 commit into
devfrom
tools/desktop-storybook

Conversation

@jonathan308

@jonathan308 jonathan308 commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The desktop review Storybook, moved out of #1518 so the app PR carries only the app and its fixes. It's a review tool and isn't shipped: nothing in the app depends on it, and no CI check runs it.

Stacked on #1518 (base feat/desktop-app-on-master). This diff adds only desktop-app/storybook/ and the Review Storybook section of docs/developer/desktop-app.md.

What's in it

  • Fixes (first to fifth pass): Before/After stories for every desktop audit fix (fix(desktop): open each page and Mac at the top #1452–fix(desktop): start Autopilot only with Darkbloom network models #1508). Before is a frozen snapshot of the audit's base (bfa75a2c, in storybook/src/before); After is the live desktop-app source (an alias in .storybook/main.ts, no copy).
  • Flows: onboarding (Install CLI → Check this Mac → Link → Start, including macOS 26 and returning users), status checks, model loading, Autopilot.
  • App shell: the real app window with its sidebar at every page, in light and dark, and at the 940 px minimum.
  • Install flow: the end-to-end path from DMG to serving.

The native bridge is mocked per version, so nothing contacts a runtime, account or production endpoint. All 134 entries render in headless Chrome.

flowchart LR
  subgraph Before["Before"]
    direction TB
    B1(["#1518 app PR"]):::user --> B2["app + fixes + 361 Storybook files<br/>(incl. a frozen copy of the old renderer)"]:::bad
  end
  subgraph After["After"]
    direction TB
    A1(["#1518 app PR"]):::user --> A2["app + fixes only"]:::fix
    A3(["this draft PR"]):::user --> A4["desktop-app/storybook,<br/>stacked on #1518"]:::fix
  end
  classDef user fill:#1f2937,stroke:#93c5fd,color:#f9fafb
  classDef bad fill:#7f1d1d,stroke:#fca5a5,color:#fef2f2
  classDef fix fill:#065f46,stroke:#6ee7b7,color:#ecfdf5
Loading

Legend: blue = PR, red = before, green = after.

Run it

cd desktop-app && node scripts/assets.mjs && cd storybook && npm ci && npm run storybook   # http://127.0.0.1:6106

Notes

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference Error Error Nov 8, 2026 8:02am UTC
d-inference-console-ui-dev Error Error Nov 8, 2026 8:02am UTC
d-inference-landing Ready Ready Preview Nov 8, 2026 8:02am UTC
darkbloom-status Ready Ready Preview Nov 8, 2026 8:02am UTC
eigen-homepages-darkbloom Ready Ready Preview Nov 8, 2026 8:02am UTC

Request Review

{records.map((record) => {
const speed = tokensPerSecond(record);
const timing = records.some((record) => record.duration_ms !== undefined);
const settled = records.every((record) => record.settled_at !== undefined);
Adds desktop-app/storybook (Before/After stories for the desktop audit
fixes, onboarding/status/model-loading/Autopilot flows, the app shell and
the install flow) and the Review Storybook section of
docs/developer/desktop-app.md.

Rebased onto dev as one commit: the branch's earlier history carried the
original #1518 app commits, which landed in master as a squash, so the
storybook's own tree change is re-applied here instead of replaying them.

This branch had an error being deployed

2 failed and 3 active deployments
Preview – eigen-homepages-darkbloom — fb6db100 Deployed Nov 8, 2026 by vercel[bot]
Preview – d-inference-landing — fb6db100 Deployed Nov 8, 2026 by vercel[bot]
Preview – darkbloom-status — fb6db100 Deployed Nov 8, 2026 by vercel[bot]
Preview – d-inference — fb6db100 Deployed Nov 8, 2026 by vercel[bot]
Preview – d-inference-console-ui-dev — fb6db100 Deployed Nov 8, 2026 by vercel[bot]
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