Repository navigation
chore: remove three unused components left over from the #313 pass - #361
Merged
Merged
Conversation
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
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Nov 24, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.tsxsrc/components/ui/switch.tsxis 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
Testing
grepfinds no remaining import of any of the three names (the only hits for "checkbox" are nativerole="checkbox"queries in tests).npm run typecheck,npm run lintandnpm run test:unitpass (764 tests).Closes #359