Skip to content

feat: vdisk storage#3777

Open
astandrik wants to merge 6 commits intomainfrom
astandrik.vdisk-page-2
Open

feat: vdisk storage#3777
astandrik wants to merge 6 commits intomainfrom
astandrik.vdisk-page-2

Conversation

@astandrik
Copy link
Copy Markdown
Collaborator

@astandrik astandrik commented Apr 8, 2026

Stand

Closes #3732

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
614 608 0 3 3
Test Changes Summary ✨4

✨ New Tests (4)

  1. does not render storage details when experiment is disabled (storage/vdiskPage.test.ts)
  2. renders experimental storage details summary (storage/vdiskPage.test.ts)
  3. renders storage table in VDisk context (storage/vdiskPage.test.ts)
  4. Go to PDisk navigates to PDisk page (storage/vdiskPage.test.ts)

Bundle Size: 🔺

Current: 63.42 MB | Main: 63.39 MB
Diff: +0.02 MB (0.04%)

⚠️ Bundle size increased. Please review.

ℹ️ 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.

@astandrik
Copy link
Copy Markdown
Collaborator Author

@greptile review
@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b4a0dc5325

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Implements the “VDisk storage” UI by adding an experimental storage details summary card to the VDisk page (behind the “new storage view” setting) and covering it with E2E + snapshot tests.

Changes:

  • Add VDiskStorageDetails component (metrics + location fields + “Go to PDisk” CTA) gated by useNewStorageViewEnabled.
  • Extend VDisk prepared data with NodeRack and add a unit test for the mapper.
  • Add Playwright E2E tests + visual snapshots for wide/medium/narrow layouts (Chromium + Safari where applicable).

Reviewed changes

Copilot reviewed 9 out of 15 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/suites/storage/vdiskPage.test.ts-snapshots/vdisk-storage-details-wide-safari-linux.png Adds wide-layout Safari snapshot for VDisk storage details.
tests/suites/storage/vdiskPage.test.ts-snapshots/vdisk-storage-details-wide-chromium-linux.png Adds wide-layout Chromium snapshot for VDisk storage details.
tests/suites/storage/vdiskPage.test.ts-snapshots/vdisk-storage-details-narrow-chromium-linux.png Adds narrow-layout Chromium snapshot for VDisk storage details.
tests/suites/storage/vdiskPage.test.ts-snapshots/vdisk-storage-details-medium-safari-linux.png Adds medium-layout Safari snapshot for VDisk storage details.
tests/suites/storage/vdiskPage.test.ts-snapshots/vdisk-storage-details-medium-chromium-linux.png Adds medium-layout Chromium snapshot for VDisk storage details.
tests/suites/storage/vdiskPage.test.ts Adds E2E coverage for storage details rendering, PDisk navigation, and table rendering in VDisk context.
src/store/reducers/vdisk/utils.ts Populates NodeRack in the prepared VDisk response.
src/store/reducers/vdisk/types.ts Extends VDiskData with optional NodeRack.
src/store/reducers/vdisk/tests/prepareVDiskDataResponse.test.ts Verifies prepareVDiskDataResponse includes NodeRack from node system state.
src/containers/VDiskPage/VDiskStorageDetails.tsx New UI component rendering storage usage metrics + location details + PDisk link.
src/containers/VDiskPage/VDiskStorageDetails.scss Styles for the new storage details card layout and truncation/popovers.
src/containers/VDiskPage/VDiskPage.tsx Renders storage details on the VDisk page when the experiment is enabled.
src/containers/VDiskPage/VDiskPage.scss Adds spacing for the new storage details block.
src/containers/VDiskPage/i18n/en.json Adds i18n strings for the new storage details UI.

@astandrik astandrik marked this pull request as ready for review April 8, 2026 17:11
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f29b25d33a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

padding-right: var(--g-spacing-4);
}

&__metric_usage {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maybe use Delimiter?

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.

feat: vdisk storage

3 participants