Skip to content

chore(react): relocate Box & Reactions to Components#4747

Open
desiree-np wants to merge 1 commit into
mainfrom
chore/f0-storybook-relocate
Open

chore(react): relocate Box & Reactions to Components#4747
desiree-np wants to merge 1 commit into
mainfrom
chore/f0-storybook-relocate

Conversation

@desiree-np

Copy link
Copy Markdown
Collaborator

What & why

Two generic building blocks were filed away from Components:

  • lib/F0Box (a layout primitive) → Components/Box
  • kits/Social/Reactions (a generic component, not a functional kit) → Components/Reactions

Done via per-subfolder titlePrefix routing (no source moves, no import changes) — the lib/ and kits/ entries are split so everything else stays in Resources/Kits.

Test plan

Verified in Storybook: Components/Box + Components/Reactions present; Box no longer under Resources; Kits = AI · Charts · Chat · F0DataChart; 0 title collisions.

Note

Tabs → Components is deferred — it's 2 levels deep in patterns/ (16 sibling folders), so it needs a folder move rather than a routing split. Tracking separately.

Follow-up to the reorg (#4723/#4725/#4726/#4727).

🤖 Generated with Claude Code

Both are generic building blocks that were filed away from Components:
- lib/F0Box (a layout primitive) -> Components/Box
- kits/Social/Reactions (a generic component, not a functional kit) -> Components/Reactions

Done via per-subfolder titlePrefix routing (no source moves, no import changes);
the lib/ and kits/ directory entries are split so the rest stay in Resources/Kits.

Verified in Storybook: Components/Box + Components/Reactions present, Box no
longer in Resources, Kits = AI·Charts·Chat·F0DataChart, 0 title collisions.

Follow-up to the reorg. (Tabs -> Components deferred: it's 2 levels deep in
patterns/ so it needs a folder move rather than a routing split.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions github-actions Bot added chore react Changes affect packages/react labels Jul 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

✅ No New Circular Dependencies

No new circular dependencies detected. Current count: 0

@github-actions

Copy link
Copy Markdown
Contributor

📦 Alpha Package Version Published

Use pnpm i github:factorialco/f0#npm/alpha-pr-4747 to install the package

Use pnpm i github:factorialco/f0#7ac94dcd3e3cd9295d35828642fec9778fe18559 to install this specific commit

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Visual review for your branch is published 🔍

Here are the links to:

@github-actions

Copy link
Copy Markdown
Contributor

✅ No breaking public API changes

No public exports were removed, renamed, or had existing props/types changed in a breaking way compared to main.

Comparing f0, experimental and ai against main. Adding components, types, or optional props is safe. This check is non-blocking.

⚠️ Could not analyze component-status (no-base) — a build may have failed; results may be incomplete.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report for packages/react

Status Category Percentage Covered / Total
🔵 Lines 59.35% 20800 / 35044
🔵 Statements 58.39% 21810 / 37346
🔵 Functions 51.54% 4837 / 9384
🔵 Branches 52.11% 15037 / 28851
File CoverageNo changed files found.
Generated in workflow #15799 for commit c5bd455 by the Vitest Coverage Report Action

@desiree-np
desiree-np marked this pull request as ready for review July 20, 2026 15:07
@desiree-np
desiree-np requested review from a team as code owners July 20, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore react Changes affect packages/react

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant