Skip to content

feat: demo stage for every devknobs feature - #5

Merged
mertbuilds merged 32 commits into
mainfrom
feat/specimens
Oct 15, 2026
Merged

mertbuilds merged 32 commits into
mainfrom
feat/specimens

Conversation

@mertbuilds

@mertbuilds mertbuilds commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

summary

  • demo stage: cards that show every devknobs feature, with buttons that make network requests and fill storage
  • dev-only fold tuning page and /__tune endpoints, never in a build; scripts/dev-tools-check.ts fails the build if any of it, or a reference image, gets in
  • analytics only on knobs.dev
  • removed the "take the tour" button; the tour still starts on a first visit with a mouse
  • bump to devknobs 0.2.0 follows as soon as it is on npm

test plan

  • typecheck, lint, format:check, build
  • react-doctor as in CI
  • code review: no blockers left
  • owner check by hand on the preview

Summary by cubic

Adds a demo stage to the knobs.dev homepage: cards that react live to every devknobs knob, with buttons that make requests, fill storage, and open dialogs. Bumps devknobs to 0.2.0.

New features

  • One card per knob shows what the page reads as the panel changes; card buttons make real requests to the new /api/demo/$ endpoint.
  • The tour starts on a first visit with a mouse instead of from a "take the tour" button; analytics only fire on knobs.dev.
  • A lock screen and home screen reference image mark the new favicon and logo.

Dev tooling

  • ?tune loads a fold tuning panel backed by /__tune endpoints, both dev-only.
  • scripts/dev-tools-check.ts fails the build if any dev tool or reference image reaches the output.

Written for commit 85f2046. Summary will update on new commits.

View guided diff Turn on auto-fix

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 46 files

Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread apps/web/vite.tune.ts Outdated
Comment thread apps/web/src/lib/bubble.tsx
Comment thread apps/web/src/demo/pick.tsx
Comment thread apps/web/src/tour/knobs.ts Outdated
Comment thread apps/web/src/dev/refscreen.ts
Comment thread apps/web/src/demo/device.tsx
Comment thread apps/web/src/demo/storage.tsx Outdated
Comment thread apps/web/src/tour/progress.ts
Comment thread apps/web/src/server.ts Outdated
Comment thread AGENTS.md Outdated

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed

Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread apps/web/src/lib/live.ts Outdated
Comment thread apps/web/src/tour/progress.ts Outdated
Comment thread apps/web/vite.tune.ts Outdated
Comment thread apps/web/src/tour/targets.ts
Comment thread apps/web/src/tour/targets.ts
Comment thread AGENTS.md
Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
@mertbuilds
mertbuilds merged commit afb8676 into main Oct 15, 2026
4 checks passed
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