RI-7786: fix ClusterNodesTable #5265
Merged
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.
What
Fixes:
Due to amount of fixes, I've also refactored the whole table to follow the new style guidelines.
Testing
Before
Screen.Recording.2025-11-28.at.12.47.46.mov
After
Screen.Recording.2025-11-28.at.12.43.44.mov
Loading state
Note
Refactors the Cluster Details table and page layout to the new table API with styled-components, adds formatting/max-value logic and tests, and removes the old implementation.
styles.module.scsswithstyled-componentswrapperClusterDetailsPage.styles.tsand simplify layout.nodesviauseMemoand pass toClusterDetailsGraphics/ClusterNodesTable.TablewithDEFAULT_CLUSTER_NODES_COLUMNSandDEFAULT_SORTING(sort byhost).ClusterNodesHostCell(letter/host/port with color indicator) andClusterNodesNumericCell(formats values, tooltips, highlights unique max).cluser-nodes-tableand SCSS.ClusterNodeDetailsFactoryfor generating mock node data.Written by Cursor Bugbot for commit 0da6f0a. This will update automatically on new commits. Configure here.