Skip to content

feat(validators): move report tool to validators index#435

Merged
Savid merged 1 commit into
masterfrom
feat/validators-index-report
May 27, 2026
Merged

feat(validators): move report tool to validators index#435
Savid merged 1 commit into
masterfrom
feat/validators-index-report

Conversation

@Savid
Copy link
Copy Markdown
Member

@Savid Savid commented May 27, 2026

Summary

Moves the validator report tool from /ethereum/validators/report to the section index /ethereum/validators, and removes the now-redundant Validators subsection from the sidebar.

Previously /ethereum/validators showed a card-based landing page linking out to the report (and to a battle page 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

  • Route: routes/ethereum/validators/index.tsx now renders IndexPage (the report tool) and carries over the indices / from / to Zod search-param schema. The pathless validators.tsx layout route (title, meta, breadcrumb) is unchanged.
  • Removed: the standalone routes/ethereum/validators/report.tsx route and the card-based LandingPage.tsx (plus its barrel export).
  • IndexPage: updated useSearch (/ethereum/validators/) and navigate (/ethereum/validators) references away from /report.
  • Sidebar: dropped the ethereumValidatorsPages array, its filter memo, and both the mobile and desktop "Validators" subsection blocks.
  • Regenerated routeTree.gen.ts.

Heads up

The old /ethereum/validators/report URL 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

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>
@Savid Savid merged commit 337e334 into master May 27, 2026
3 checks passed
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.

2 participants