A component-disposition audit identified components in src/components/ with 2+ consumers whose consumer set is bound to a single page-area scope. Per the project's _components/ convention, they should live next to their consumers instead of in the shared src/components/ namespace.
Single PR. All items move + import-path updates + verify build/type-check.
Items
Verification before merge
Out of scope
- Single-use components without a clear common page prefix -- tracked separately (single-use inline/relocate issues)
- Components in the storied or shared-infra buckets -- no relocation
- New stories or refactors of the moved components -- this is move-only
A component-disposition audit identified components in
src/components/with 2+ consumers whose consumer set is bound to a single page-area scope. Per the project's_components/convention, they should live next to their consumers instead of in the sharedsrc/components/namespace.Single PR. All items move + import-path updates + verify build/type-check.
Items
src/components/Translatathon/->app/[locale]/contributing/translation-program/translatathon/_components/app/[locale]/contributing/translation-program/translatathon/leaderboard/page.tsx,src/layouts/md/Translatathon.tsx.tsxfiles plus aconstants.tssrc/layouts/md/Translatathon.tsx. Verify before thegit mv.src/components/Search/->src/components/Nav/Search/Nav/DesktopNav.tsx,Nav/MobileNav.tsx(relative imports)src/components/LanguagePicker/->src/components/Nav/LanguagePicker/Nav/DesktopNav.tsx,Nav/MobileMenu/MobileMenuContent.tsxVerification before merge
pnpm lintpassesnpx tsc --noEmitpassespnpm buildpassesgit grep "from \"@/components/<MovedName>"hits remainingOut of scope