Skip to content

feat(ui): scaffold package and shadcn routing - #3

Merged
kattsushi merged 1 commit into
feat/ui-packagefrom
feat/ui-package-scaffold-routing
May 20, 2026
Merged

kattsushi merged 1 commit into
feat/ui-packagefrom
feat/ui-package-scaffold-routing

Conversation

@kattsushi

Copy link
Copy Markdown
Owner

Closes #1

PR Type

  • Bug fix
  • New feature
  • Documentation only
  • Code refactoring
  • Maintenance/tooling
  • Breaking change

Summary

  • Scaffold @os-copilot/ui as a Solid + TypeScript Nx/Vite library package.
  • Configure app/package shadcn monorepo routing and verify Zaidan button installs into packages/ui.
  • Add PRD, Nx MCP config, catalog-backed UI dependencies, and smoke tests for root/subpath/source-routed exports.

Chain Context

master
└── PR 0 tracker: feat/ui-package (#2)
    └── 📍 PR 1: feat/ui-package-scaffold-routing
        └── PR 2: ui-package-zaidan-storybook-css
            └── PR 3: ui-package-custom-verification
PR Scope Base
#2 Draft/no-merge tracker branch master
This PR Scaffold package + shadcn routing smoke feat/ui-package
PR 2 Zaidan baseline/components + Storybook/CSS this branch
PR 3 Custom components + SSR/SPA/tree-shaking/visual verification PR 2 branch

Changes

File Change
.mcp.json Add project-local Nx MCP config using pnpm exec nx mcp.
docs/prd-ui-package.md Add PRD for the mobile-first Solid UI package.
apps/web/components.json Configure shadcn app aliases so UI installs route to @os-copilot/ui/components/ui.
apps/web/package.json Add workspace dependency on @os-copilot/ui and package-local #... imports.
packages/ui/* Scaffold UI package, Nx targets, Vite/Vitest/TS configs, Zaidan button, CSS, and export smoke test.
pnpm-workspace.yaml Add UI dependency versions to catalog.
pnpm-lock.yaml Update lockfile for UI package dependencies.

Test Plan

  • RED evidence before scaffold: pnpm nx show project ui failed with Could not find project ui
  • RED evidence before scaffold: pnpm nx typecheck ui failed with Cannot find project 'ui'
  • RED evidence before scaffold: pnpm nx build ui failed with Cannot find project 'ui'
  • shadcn routing dry-run from apps/web first exposed wrong path, then passed after alias fix
  • cd apps/web && pnpm dlx shadcn@latest add @zaidan/button --overwrite --yes
  • pnpm exec dprint check
  • pnpm exec oxlint
  • pnpm nx typecheck ui
  • pnpm nx build ui
  • pnpm nx test ui --run
  • pnpm nx typecheck web

Contributor Checklist

  • Linked an approved issue
  • Added exactly one type:* label
  • Ran shellcheck on modified scripts (not applicable; no scripts changed)
  • Skills tested in at least one agent
  • Docs updated if behavior changed
  • Conventional commit format
  • No Co-Authored-By trailers

@kattsushi kattsushi added the type:feature New feature label May 20, 2026
@kattsushi
kattsushi merged commit b125360 into feat/ui-package May 20, 2026
@kattsushi kattsushi mentioned this pull request May 20, 2026
16 of 21 tasks
kattsushi added a commit that referenced this pull request May 22, 2026
* chore(ui): open package feature chain

* feat(ui): scaffold package and shadcn routing (#3)

* feat(ui): add Zaidan Storybook baseline

Merge PR 2 into the UI package tracker branch.

* feat(ui): add layout primitives and SSR smoke (#5)

* feat(ui): add component subpath exports (#6)

* feat(ui): add component subpath exports

* style(ui): format subpath smoke test

* feat(ui): add interaction utilities (#7)

* feat(ui): add interaction utilities

* fix(ui): use Zaidan Sonner toast

* feat(ui): add data table components (#8)

* fix(ui): preserve data filter input focus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant