Skip to content

FE-558: UI foundation: shadcn/ui + Tailwind 4 + AI Elements#22

Merged
lunelson merged 7 commits into
mainfrom
ln/fe-558-ui-foundation
Apr 2, 2026
Merged

FE-558: UI foundation: shadcn/ui + Tailwind 4 + AI Elements#22
lunelson merged 7 commits into
mainfrom
ln/fe-558-ui-foundation

Conversation

@lunelson
Copy link
Copy Markdown
Contributor

@lunelson lunelson commented Apr 2, 2026

No description provided.

@linear
Copy link
Copy Markdown

linear Bot commented Apr 2, 2026

FE-558 UI foundation: shadcn/ui + Tailwind 4 + AI Elements

UI Foundation Realignment

Infrastructure slice: set up shadcn/ui + Tailwind 4 + AI Elements on the client before slice 5 (observer agent). No server-side changes.

Work Items

  1. Update ai + @ai-sdk/react to latest
  2. Install Tailwind 4 (tailwindcss + @tailwindcss/vite)
  3. Run shadcn init — theme vars, cn() utility, path alias
  4. Install AI Elements: conversation, message, reasoning, tool, prompt-input, shimmer
  5. Migrate InterviewWorkspace to AI Elements components
  6. Migrate ProjectList + root layout to shadcn + Tailwind
  7. npm run verify passes

Validates

  • SPEC.md A17 (AI Elements copy-paste components can be restyled without forking)

Acceptance

  • All existing tests pass
  • Zero server changes
  • Interview workspace renders with AI Elements message/reasoning/tool/prompt components
  • Project list renders with shadcn Card/Button

Copy link
Copy Markdown
Contributor Author

lunelson commented Apr 2, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@lunelson lunelson changed the title ln/fe-558-ui-foundation FE-558: UI foundation: shadcn/ui + Tailwind 4 + AI Elements Apr 2, 2026
@lunelson lunelson marked this pull request as ready for review April 2, 2026 13:45
@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented Apr 2, 2026

🤖 Augment PR Summary

Summary: Establishes the client UI foundation using Tailwind CSS v4 + shadcn/ui, and introduces reusable “AI Elements” components for the chat experience.

Changes:

  • Updated `ai` and `@ai-sdk/react` to current versions and aligned supporting UI dependencies.
  • Enabled Tailwind v4 via the `@tailwindcss/vite` plugin and adopted the v4 CSS-first import flow in the client stylesheet.
  • Added shadcn/ui project configuration (`components.json`) and a suite of shadcn-based UI primitives under `src/client/components/ui`.
  • Added AI-oriented UI building blocks under `src/client/components/ai-elements` (conversation/message/prompt/tooling components).
  • Introduced shared theme tokens (CSS variables / OKLCH) and Geist variable font setup in `src/client/index.css`.

Technical Notes: Tailwind theming is driven by CSS variables consumed through shadcn’s Tailwind layer, and the @ alias in Vite resolves to src/client for component imports.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode Bot left a comment

Choose a reason for hiding this comment

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

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

Copy link
Copy Markdown
Contributor Author

lunelson commented Apr 2, 2026

Merge activity

  • Apr 2, 6:52 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Apr 2, 6:59 PM UTC: Graphite rebased this pull request as part of a merge.
  • Apr 2, 7:00 PM UTC: @lunelson merged this pull request with Graphite.

@lunelson lunelson changed the base branch from ln/fe-557-observer-fidelity-spike to graphite-base/22 April 2, 2026 18:57
@lunelson lunelson changed the base branch from graphite-base/22 to main April 2, 2026 18:58
lunelson and others added 7 commits April 2, 2026 18:59
- Update ai@6.0.143, @ai-sdk/react@3.0.145
- Install tailwindcss@4.2.2 + @tailwindcss/vite
- Run shadcn init (radix-nova preset, Geist font)
- Install AI Elements: conversation, message, reasoning, tool, prompt-input, shimmer
- Migrate InterviewWorkspace to AI Elements components
- Migrate ProjectList to shadcn Card/Button
- Migrate root layout + ExportPreview to Tailwind
- All 123 tests pass, zero server-side changes

Amp-Thread-ID: https://ampcode.com/threads/T-019d4de2-65fc-776c-b789-06d9eff77185
Co-authored-by: Amp <amp@ampcode.com>
- Restore two prior research docs + add Claude Agent SDK cookbook analysis
- Rename all research filenames to param-case
- Update docs/research/ links in SPEC.md D22 and D23

Amp-Thread-ID: https://ampcode.com/threads/T-019d4e35-c61a-718a-9504-3d4e31e1bf1a
Co-authored-by: Amp <amp@ampcode.com>
@lunelson lunelson force-pushed the ln/fe-558-ui-foundation branch from 14e7fd4 to 8dbc2f5 Compare April 2, 2026 18:59
@lunelson lunelson merged commit de355df into main Apr 2, 2026
2 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