refactor: remove orphan files and slim FileExplorer to live helpers#977
Merged
anderdc merged 6 commits intoentrius:testfrom May 9, 2026
Merged
refactor: remove orphan files and slim FileExplorer to live helpers#977anderdc merged 6 commits intoentrius:testfrom
anderdc merged 6 commits intoentrius:testfrom
Conversation
Contributor
Author
|
@anderdc Could you please review this PR? Thanks! |
Collaborator
|
Fix conflicts. |
Contributor
Author
|
Hi @anderdc |
6e5a33c to
4b54300
Compare
anderdc
approved these changes
May 9, 2026
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.
Summary
Drops four orphan files that were exported but never imported by any consumer, plus the dead default export of FileExplorer:
src/pages/DiscoveriesPage.tsx(the/discoveriesroute is already a redirect, so the page never renders)src/components/miners/MinerComparisonRadar.tsxsrc/components/leaderboard/LeaderboardTableSkeleton.tsxsrc/components/common/SearchInput.tsxbuildFileTreeand theFileNodetype fromFileExplorer.tsxare still used byRepositoryCodeBrowser, so they move to a focusedfileTree.tsutility module and the lone import is updated. Two small redundancies inside the helper were also collapsed: a duplicated comparator and a recursive resort that produced the same ordering the initial sort already guarantees.Net effect: roughly 470 lines drop out of the bundle, directories stop advertising features that no longer work, and grep on these component names stops returning orphans.
Related Issues
Closes #976
Type of Change
Screenshots
Not applicable. No UI or visual changes.
Checklist
npm run formatandnpm run lint:fixhave been runnpm run buildpasses