Skip to content

feat: dim vdisks on the node page that are not on the selected node #1369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

astandrik
Copy link
Collaborator

@astandrik astandrik commented Sep 27, 2024

Closes #1361

Stand

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
124 117 0 7 0

Bundle Size: ✅

Current: 79.13 MB | Main: 79.13 MB
Diff: +0.00 MB (0.00%)

✅ Bundle size unchanged.

ℹ️ CI Information
  • Test recordings for failed tests are available in the full report.
  • Bundle size is measured for the entire 'dist' directory.
  • 📊 indicates links to detailed reports.
  • 🔺 indicates increase, 🔽 decrease, and ✅ no change in bundle size.

@@ -19,7 +21,7 @@ const b = cn('pdisk-storage-popup');

const errorColors = [EFlag.Orange, EFlag.Red, EFlag.Yellow];

export const preparePDiskData = (data: PreparedPDisk, nodes?: NodesMap) => {
export const preparePDiskData = (data: PreparedPDisk, nodeName?: string) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, use nodeHost name instead if nodeName. NodeName is another node field

There is an issue for displaying this property in tables: #1205

This comment relates to all entities in PR

Comment on lines +31 to +39
{vDisks?.map((vDisk) => (
<VDiskItem
key={stringifyVdiskId(vDisk.VDiskId)}
vDisk={vDisk}
inactive={!isVdiskActive(vDisk, viewContext)}
highlightedVDisk={highlightedVDisk}
setHighlightedVDisk={setHighlightedVDisk}
/>
))}
Copy link
Member

@artemmufazalov artemmufazalov Sep 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are both currently working on storage. Please, don't make such changes, if you don't really need them, so there will be less conflict to resolve

@astandrik astandrik force-pushed the astandrik.dim-vdisks-on-the-node-page-1361 branch from 2f52573 to b437c1c Compare October 1, 2024 09:06
@astandrik
Copy link
Collaborator Author

astandrik commented Oct 1, 2024

@artemmufazalov
I assume requested changes to be fixed

@astandrik astandrik added this pull request to the merge queue Oct 1, 2024
Merged via the queue into main with commit 446019f Oct 1, 2024
6 checks passed
@astandrik astandrik deleted the astandrik.dim-vdisks-on-the-node-page-1361 branch October 1, 2024 11:46
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.

dim vdisks on the node page that are not on the selected node
2 participants