Build Jev Labs and refine the design studio - #4
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Ranked workspace results can display ordinals that disagree with the sorted order.
Review effort: Lite
Findings: None
What changed in this PR
Expands /lab into a searchable, locally simulated Jev workspace with 169 examples, reusable UI primitives, provenance, responsive design refinements, and browser coverage.
Changes:
- Adds local preview, source, import, install, and A/B workflows.
- Adds
JevContractandJevResultcomponents. - Refines themes, navigation, layouts, documentation, and tests.
| File | Summary |
|---|---|
scripts/sync-playground.mjs |
Syncs pinned upstream fixtures. |
README.md |
Documents Labs and validation. |
packages/ui/src/styles/globals.css |
Updates design tokens and meters. |
packages/ui/src/components/jev-result.tsx |
Adds typed result display. |
packages/ui/src/components/jev-contract.tsx |
Adds contract display. |
docs/superpowers/plans/2026-09-20-jev-labs.md |
Records implementation plan. |
docs/space-and-surface-review.md |
Records layout review. |
docs/labs-playground-coverage.md |
Records coverage validation. |
docs/jev-labs.md |
Documents Lab usage and provenance. |
docs/design-review.md |
Records design decisions. |
CONTRIBUTING.md |
Documents contribution workflows. |
apps/web/lib/registry.ts |
Registers Jev components. |
apps/web/lib/playground/scenarios.json |
Stores scenario fixtures. |
apps/web/lib/playground/provenance.json |
Records upstream provenance. |
apps/web/lib/playground/LICENSE.upstream.txt |
Includes upstream license. |
apps/web/lib/lab-sources.ts |
Loads source snippets. |
apps/web/lib/lab-registry.ts |
Defines the Lab inventory. |
apps/web/lib/lab-preview.ts |
Handles local preview fixtures. |
apps/web/e2e/search.spec.ts |
Tests search behavior. |
apps/web/e2e/playground-coverage.spec.ts |
Tests catalog coverage. |
apps/web/e2e/motion.spec.ts |
Tests motion behavior. |
apps/web/e2e/mobile.spec.ts |
Tests mobile layouts. |
apps/web/e2e/library.spec.ts |
Tests library behavior. |
apps/web/e2e/lab.spec.ts |
Tests Lab workflows. |
apps/web/e2e/jev-labs.spec.ts |
Tests Jev Lab scenarios. |
apps/web/components/theme-toggle.tsx |
Refines theme transitions. |
apps/web/components/theme-provider.tsx |
Preserves theme behavior. |
apps/web/components/search-command.tsx |
Adds Lab search integration. |
apps/web/components/library.tsx |
Updates catalog layout. |
apps/web/components/library-intro.tsx |
Adds the optical-glass introduction. |
apps/web/components/labs/workspace-workbench.tsx |
Implements ranked workspace results; displayed ordinals currently use pre-sort indexes and require correction. |
apps/web/components/labs/typed-preview.tsx |
Adds typed previews. |
apps/web/components/labs/rebuild-workbench.tsx |
Adds rebuild workflows. |
apps/web/components/labs/lab-navigation.tsx |
Adds Lab navigation. |
apps/web/components/labs/classic-scenes.tsx |
Adds classic scene previews. |
apps/web/components/labs/action-workbench.tsx |
Adds action workflows. |
apps/web/components/lab.tsx |
Builds the Lab workspace. |
apps/web/components/demos.tsx |
Adds Jev demos. |
apps/web/components/component-card.tsx |
Refines component cards. |
apps/web/app/studio.css |
Adds studio styling. |
apps/web/app/layout.tsx |
Loads studio styles. |
apps/web/app/lab/page.tsx |
Loads Lab sources server-side. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Expand the three-scene Lab into a searchable workspace with Preview/Source and Install/Import workflows. The registry includes 169 local examples: all 110 canonical playground examples, 56 workspace adaptations, and the three original interface patterns, pinned to upstream revision
9d3d990604c4680a397db813a9058bd40597cc67with MIT attribution.Add reusable Jev contract/result components, editable fixture responses, exact A/B input mutations, and domain previews for routing, evidence, ranking, rebuilds, and bounded game actions. Outputs remain explicitly local; no provider integrations or credentials are introduced.
Refine the design with an optical-glass introduction, consistent card surfaces, responsive navigation, adjacent preview/reuse panels, content-sized Lab editors, and themed response meters. Preserve keyboard controls, both themes, RTL, and existing preview state.
Validation
pnpm lintpnpm typecheckpnpm buildpnpm --filter web test:e2e --workers=2— 72 tests, covering the full catalog and workspace inventory and all 41 A/B casesHuman screen-reader and physical-device acceptance remain unverified. Workspace previews adapt the interfaces; they do not reproduce upstream provider services, Z3, or full game engines.