-
Notifications
You must be signed in to change notification settings - Fork 15
feat(TenantOverview): do not use tabs #2655
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
Conversation
/claude_review |
Claude finished @Raubzeug's task —— View job Todo List:
Code ReviewThis PR removes tabs functionality from the TenantOverview component, simplifying the UI structure. The changes are well-executed overall, with good adherence to YDB Embedded UI standards. Here's my detailed review: ✅ Strengths
|
bugbot run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the TenantOverview component to remove tab-based interfaces and display all sections directly. The changes eliminate complex tabbed navigation in favor of a simpler, more direct presentation of storage, network, and memory information.
- Remove tab-based UI patterns from TenantStorage and TenantNetwork components
- Consolidate popover styling with a global CSS class
- Update i18n strings to reflect the new direct display approach
Reviewed Changes
Copilot reviewed 24 out of 24 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
src/utils/constants.ts | Adds global YDB_POPOVER_CLASS_NAME constant for consistent popover styling |
src/store/reducers/tenant/types.ts | Removes storage and network tab type definitions |
src/store/reducers/tenant/constants.ts | Removes storage and network tab ID constants |
src/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json | Updates i18n strings to remove tab-specific language and use direct titles |
src/containers/Tenant/Diagnostics/TenantOverview/getSectionTitle.tsx | Removes utility for generating dynamic section titles with links |
src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/useTenantStorageQueryParams.ts | Removes storage tab query parameter handling |
src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.tsx | Refactors column generation and removes title prop |
src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.tsx | Removes dynamic title generation and link handling |
src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.tsx | Replaces TabProvider with direct Flex layout using StatsWrapper |
src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.scss | Removes tab-specific styling |
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/useTenantNetworkQueryParams.ts | Removes network tab query parameter handling |
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/TopNodesBySkew.tsx | Removes dynamic title generation and simplifies component |
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/TopNodesByPing.tsx | Removes dynamic title generation and simplifies component |
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/TenantNetwork.tsx | Replaces TabProvider with direct Flex layout using StatsWrapper |
src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.tsx | Removes dynamic title generation and simplifies component |
src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.tsx | Wraps TopNodesByMemory with StatsWrapper for consistent layout |
src/containers/Storage/PaginatedStorageGroupsTable/columns/columns.tsx | Applies global popover class to encryption indicator |
src/containers/App/App.scss | Defines global popover styling |
src/components/SpeedMultiMeter/SpeedMultiMeter.tsx | Applies global popover class |
src/components/SpeedMultiMeter/SpeedMultiMeter.scss | Removes component-specific popover styling |
src/components/HoverPopup/HoverPopup.tsx | Applies global popover class |
src/components/HoverPopup/HoverPopup.scss | Removes component-specific popover styling |
src/components/EntityStatus/EntityStatus.tsx | Applies global popover class |
src/components/EntityStatus/EntityStatus.scss | Removes component-specific popover styling |
src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.tsx
Show resolved
Hide resolved
title={i18n('title_nodes-by-ping')} | ||
allEntitiesLink={getTenantPath({ | ||
...query, | ||
[TenantTabsGroups.diagnosticsTab]: TENANT_DIAGNOSTICS_TABS_IDS.nodes, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should lead to Network
tab
title={i18n('title_nodes-by-skew')} | ||
allEntitiesLink={getTenantPath({ | ||
...query, | ||
[TenantTabsGroups.diagnosticsTab]: TENANT_DIAGNOSTICS_TABS_IDS.nodes, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should lead to Network
tab
Stand
closes #2654
CI Results
Test Status:⚠️ FLAKY
📊 Full Report
Test Changes Summary ⏭️2
⏭️ Skipped Tests (2)
Bundle Size: 🔽
Current: 85.35 MB | Main: 85.36 MB
Diff: 0.01 MB (-0.01%)
✅ Bundle size decreased.
ℹ️ CI Information