Skip to content
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

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

astandrik
Copy link
Contributor

@astandrik astandrik commented Sep 27, 2024

Closes #1361

Stand

CI Results

Test Status: βœ… PASSED

πŸ“Š Full Report

Total Passed Failed Flaky Skipped
124 124 0 0 0

Bundle Size: βœ…

Current: 79.10 MB | Main: 79.10 MB
Diff: +0.77 KB (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

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