Prune unused files#349
Open
jpmckinney wants to merge 3 commits intodevfrom
Open
Conversation
Collaborator
|
Hi @jpmckinney , the build is currently failing on this PR. Could you please take a look? |
These 27 files have been untouched since the project's first commit (d7ca56c "drr example", 2024-03-05): Next.js template defaults (next.svg, vercel.svg), example JSON data (files/assam*.json, morigaon.json, nagaon.json), placeholder images from early UI mockups (analytic(s)LinkPlaceholder*, barPlaceholder, chartPlaceholder), and stranded TSX / logo assets (Hazard.tsx, MinusSvg.tsx, PlugSvg.tsx; assamDRRLogo, assamTerrainLogo, CDLOfficial, IDSLogo, ASDMA2, jjm, logo-min, mgnrega, nhm, ourEngagements1). None are referenced from the frontend source. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
datasetLogo.png Early dataset listing (2024-03-11); never wired up. Search.tsx Stranded TSX in public/ (2024-03-20 "fix issues"). RFlogo.png 2024-05-27 "Enhancements and Bug Fixes #32". Vector1.svg Same commit as above. RockefellerLogoNew.png 2024-06-12 "update RF logo", replaced two weeks later by a different revision. RockefellerLogoW.png 2024-06-27 "update RF logo", last of several Rockefeller variants before the name stabilised. heroimage.png 2024-10-21 "update hero section"; replaced in IDS-yellow.png the same commit by IDS-yellow-new.png. toggle.svg 2026-03-23 "Design Updated for side panel": the same commit added IconLayoutSidebarRightCollapse from @tabler/icons-react; the author switched to the tabler icon and never removed the SVG. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Six are residue from the initial template (2024-03-05):
config/store.ts useIsNavigating zustand store.
hooks/use-key-press.ts
hooks/use-mounted.ts
hooks/use-on-click-outside.tsx
app/[locale]/components/focus-section.tsx
app/[locale]/components/partnerships.tsx
Four were added later but never wired up:
app/[locale]/components/video.tsx 2024-05-27 "Enhancements and Bug
Fixes #32"; exported from the barrel
but Video is imported nowhere.
hooks/use-prouter.tsx 2024-06-26 "fix build issues"; a
wrapper around Next's useRouter that
never got imported.
hooks/use-navigation-event.tsx 2024-10-24 "fix css of map hove
popup"; touched cosmetically in the
CSS commit but never imported.
app/backuprobots.ts A stale draft of a robots.ts whose
body is entirely commented out; only
edit since creation was a 2026-01-06
lint pass running over dead code.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
5ad8163 to
f76a6c0
Compare
Collaborator
Author
|
Hi @Abhishekfm , I rebased on dev and the build ( CI is failing, however, because package-lock.json is out of date (as described in the PR descriptions of #354 and #356). |
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.
See commit messages for details
heroimage.pngis accidentally mentioned in a message, but is not actually deleted.