Skip to content

chore: remove three unused components left over from the #313 pass - #361

Merged
yakew7 merged 1 commit into
mainfrom
fix/remove-unused-components
Nov 24, 2026
Merged

yakew7 merged 1 commit into
mainfrom
fix/remove-unused-components

Conversation

@propcgamer20-png

Copy link
Copy Markdown
Member

What this changes

Deletes three files with no importer, left over from the #313 pass:

  • src/components/home/recent-additions-feed.tsx (needs an added-on date the schema does not have)
  • src/components/pins/place-review-badge.tsx (needs rating data; the contribution rules already require 4.0+ and 50+ reviews, so a badge carries no signal)
  • src/components/ui/checkbox.tsx

src/components/ui/switch.tsx is kept on purpose: the "Only places in this view" toggle in #351 is the natural user of it. If that work lands differently, it can go in a follow-up.

Type of change

  • Code or fix

Testing

  • grep finds no remaining import of any of the three names (the only hits for "checkbox" are native role="checkbox" queries in tests).
  • npm run typecheck, npm run lint and npm run test:unit pass (764 tests).
  • All three can be restored from git history if a later feature needs them.

Closes #359

recent-additions-feed needs an added-on date the schema does not have,
place-review-badge needs rating data that the contribution rules make
meaningless (4.0+ and 50+ reviews are already required), and the checkbox
primitive has no importer. All three can be restored from history. The
switch primitive stays for the 'Only places in this view' toggle (#351).

Closes #359
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
study-map Ready Ready Preview Nov 24, 2026 9:16am UTC

@yakew7
yakew7 merged commit e87f3ea into main Nov 24, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — 5d2f28fe Deployed Nov 24, 2026 by vercel[bot]
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.

Remove or wire the leftover unused components from the #313 pass

2 participants