Skip to content

Conversation

@sareyu
Copy link
Collaborator

@sareyu sareyu commented Sep 10, 2024

  • hide structure tab
  • enable groups/nodes switch on node page

demo

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
124 118 0 6 0

Bundle Size: 🔽

Current: 78.86 MB | Main: 78.87 MB
Diff: 0.01 MB (-0.01%)

✅ Bundle size decreased.

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

@sareyu sareyu changed the title feature: enable nodes switch in storage tab on node page feat(Node): enable nodes switch in storage tab on node page Sep 10, 2024
@sareyu sareyu marked this pull request as ready for review September 10, 2024 13:06
Comment on lines 56 to 60
const hasStorage = node?.Roles?.find((el) => el === STORAGE_ROLE);

const nodePages = hasStorage ? NODE_PAGES : NODE_PAGES.filter((el) => el.id !== STORAGE);

const actualNodeTabs = nodePages.map((page) => {
Copy link
Member

@artemmufazalov artemmufazalov Sep 10, 2024

Choose a reason for hiding this comment

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

Compute nodes doesn't have any disks, there is no need for storage tab for them. All node general info can be viewed on Info tab, there is no need for storage tab for this case as well

@sareyu sareyu merged commit 07560ed into main Sep 11, 2024
@sareyu sareyu deleted the issue1233 branch September 11, 2024 10:29
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.

disable structure tab, enable nodes switch in storage tab on "node" page

3 participants