feat(validators): move report tool to validators index#435
Merged
Conversation
Promote the validator report tool from /ethereum/validators/report to the section index at /ethereum/validators, and remove the now-redundant Validators subsection from the sidebar. - Render IndexPage (the report tool) at the validators index route, carrying over the indices/from/to search param schema - Delete the standalone report route and the card-based LandingPage that previously linked to it (and to a non-existent battle page) - Update IndexPage useSearch/navigate references to target the index route instead of /report - Drop the Validators nav array, its filter memo, and both mobile and desktop subsection blocks from the Sidebar - Regenerate routeTree.gen.ts Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
mattevans
approved these changes
May 27, 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
Moves the validator report tool from
/ethereum/validators/reportto the section index/ethereum/validators, and removes the now-redundant Validators subsection from the sidebar.Previously
/ethereum/validatorsshowed a card-based landing page linking out to the report (and to abattlepage that was never implemented). With only one real page in the section, that extra hop and the dedicated sidebar entry added no value — the report tool is now the validators page itself.Changes
routes/ethereum/validators/index.tsxnow rendersIndexPage(the report tool) and carries over theindices/from/toZod search-param schema. The pathlessvalidators.tsxlayout route (title, meta, breadcrumb) is unchanged.routes/ethereum/validators/report.tsxroute and the card-basedLandingPage.tsx(plus its barrel export).useSearch(/ethereum/validators/) andnavigate(/ethereum/validators) references away from/report.ethereumValidatorsPagesarray, its filter memo, and both the mobile and desktop "Validators" subsection blocks.routeTree.gen.ts.Heads up
The old
/ethereum/validators/reportURL now 404s — existing bookmarks or shared report links won't resolve. No redirect was added; happy to wire one up (preserving search params) if we want those links to keep working.Verification
pnpm build✅ (route tree regenerated)pnpm lint✅ (no new issues)🤖 Generated with Claude Code