You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/SHADCN_COMPONENT_INTEGRATION_TEST_PLAN.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Shadcn Component Integration Test Plan
2
2
3
-
**Last Updated:** 2026-03-14
3
+
**Last Updated:** 2026-03-16
4
4
**Status:** In Progress
5
5
**Target:**`integration_tests/specs/shadcn/`
6
6
@@ -30,6 +30,18 @@ Relevant local files:
30
30
- Compare WebF output against Chrome before accepting new snapshot baselines.
31
31
- Track progress in one place, PR by PR, with clear TODO lists and blockers.
32
32
33
+
## Related use_cases Rollout
34
+
35
+
This document still primarily tracks integration-test work. In parallel, the public
36
+
`use_cases` demo app should expose shadcn like the existing `Cupertino UI` and
37
+
`Lucide Icons` entries so the shipped component pages are easy to discover.
38
+
39
+
-[x] Expose shadcn routes outside the `import.meta.env.DEV` gate in `use_cases/src/App.tsx`.
40
+
-[x] Add a `Shadcn UI` quick-start card in `use_cases/src/pages/HomePage.tsx`.
41
+
-[x] Add a `Shadcn UI` section in `use_cases/src/pages/FeatureCatalogPage.tsx`.
42
+
-[x] Expand `use_cases/src/pages/ShadcnShowcasePage.tsx` to list all currently shipped shadcn demos.
43
+
-[x] Align the showcase-entry navigation helpers with `WebFRouter.push(...)`.
44
+
33
45
## Non-Goals
34
46
35
47
- Do not test the entire shadcn catalog in one pass.
@@ -258,6 +270,11 @@ Concrete PR1 blockers found so far:
258
270
- Remaining open PR1 work: dependency decision and Chrome snapshot comparison.
259
271
-**2026-03-14**: Added the first composed shadcn use-case case.
260
272
- Added `specs/shadcn/use-cases/workspace-preferences.tsx` as a React settings-panel case instead of another low-level probe.
273
+
-**2026-03-16**: Enabled the shadcn use_cases surface alongside Cupertino UI and Lucide Icons.
274
+
- Exposed the `/shadcn-*` routes in `use_cases/src/App.tsx` outside the previous dev-only gate.
275
+
- Added `Shadcn UI` discovery entries to the `HomePage` quick-start cards and the `FeatureCatalogPage`.
276
+
- Expanded `ShadcnShowcasePage` to list all currently shipped shadcn demo pages grouped by component area.
277
+
- Switched the showcase-entry navigation helpers to `WebFRouter.push(...)` so route mounting follows the hybrid-router path consistently.
261
278
- Added local dependency files under `integration_tests/shadcn_support/workspace_preferences/` to model a small component tree with supporting data and types.
262
279
- Reused the shared shadcn harness and extended the shared CSS with card/input/badge/toggle utility classes so future use-case specs do not need to inline component styling.
0 commit comments