Skip to content

fix(web): open the cluster Nodes tab from the overview View nodes button - #1104

Merged
ValgulNecron merged 2 commits into
masterfrom
fix/cluster-view-nodes-tab
Nov 25, 2026
Merged

ValgulNecron merged 2 commits into
masterfrom
fix/cluster-view-nodes-tab

Conversation

@ValgulNecron

Copy link
Copy Markdown
Collaborator

Summary

On a cluster's detail page, the Overview tab's View nodes button and the Nodes tab show the same data (that cluster's nodes), but the button left for /nodes?cluster=<name> while the tab rendered it in place, so the same data appeared on two different pages. View nodes now opens the cluster's own Nodes tab (/clusters/$clusterId?tab=nodes). View all nodes in the Nodes tab still opens the fleet-wide /nodes page (unfiltered), and the View nodes buttons on the Clusters list and Dashboard are unchanged.

Design

No design change: Screen/Cluster Details — Overview already shows the View nodes button; only its target changes.

Tests

  • New test in web/src/pages/ClusterDetail.test.tsx checks the button navigates to the Nodes tab. The useNavigate mock is now a shared vi.fn() (reset after each test) so navigation can be asserted. A fresh reviewer given only the test diff judged it "only replaced/added".
  • Local: npx tsc --noEmit passes. CI is the verification.

Changelog

changelog/unreleased/cluster-view-nodes-tab.md (renamed to the PR number in a follow-up commit).


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
@ValgulNecron ValgulNecron added area: web React dashboard type: fix Bug fix labels Nov 25, 2026 — with Claude
@ValgulNecron ValgulNecron self-assigned this Nov 25, 2026
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

CI Report - fd86cd7

run 45515215031 - attempt 1

0 failed - 10 passed - 23 skipped - 16m46s elapsed

Test selection: partial - per-suite table

Coverage

no coverage/* commit statuses found on fd86cd7

Changed

Area Files +/-
web/ 2 +12/-3
changelog/ 1 +6/-0

Slowest jobs

Job Duration
e2e web live / arm64 (kind) 13m52s
e2e web live / amd64 (kind) 11m29s
web e2e (mock) 5m51s
standalone Compose smoke 5m18s
build e2e images 4m44s

e2e buckets run

multicluster, upgrade

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between fae03f9 and fd86cd7.

Files selected for processing: 3

  • changelog/unreleased/1104-cluster-view-nodes-tab.md
  • web/src/pages/ClusterDetail.test.tsx
  • web/src/pages/ClusterDetail.tsx
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ValgulNecron
ValgulNecron merged commit b51d006 into master Nov 25, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: web React dashboard type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants