-
Notifications
You must be signed in to change notification settings - Fork 17
feat: redesign Memory section #2627
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
|
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.
Bugbot free trial expires on July 29, 2025
Learn more in the Cursor dashboard.
src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/MemorySegmentItem.tsx
Outdated
Show resolved
Hide resolved
src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/MemoryDetailsSection.tsx
Show resolved
Hide resolved
|
bugbot run |
src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/MemorySegmentItem.tsx
Outdated
Show resolved
Hide resolved
| export const PROGRESS_SIZE = 's'; | ||
|
|
||
| export const isValidValue = (val?: number | string): boolean => | ||
| isNumeric(val) && safeParseNumber(val) >= 0; |
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.
safeParseNumber(val) always return value >=0, seems to be redundant check
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.
value may be negative
| height: 10px; | ||
| } | ||
|
|
||
| &__popup-legend { |
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.
never used
| border-radius: var(--g-border-radius-xs); | ||
| } | ||
|
|
||
| &__popup-name { |
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.
never used
| &__segment-progress { | ||
| flex-shrink: 0; | ||
|
|
||
| width: 400px; |
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.
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.
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.
will make 50%
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.
|
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 redesigns the Memory section of the YDB Embedded UI to improve its visual presentation and reusability. The main purpose is to create a more consistent and flexible progress display system while maintaining internationalization standards.
Key changes include:
- Extracted and generalized progress wrapper components from TenantStorage for reuse across memory and storage sections
- Redesigned memory details display with improved layout using definition lists and enhanced styling
- Migrated i18n strings to follow project conventions with proper keyset registration
Reviewed Changes
Copilot reviewed 24 out of 25 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/utils/progress.ts | Fixed potential null/undefined handling in formatValue function |
| src/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json | Added new i18n entries for memory details section |
| src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/* | Removed local ProgressWrapper and constants, migrated to shared components |
| src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/* | Complete redesign with new memory details section and improved styling |
| src/components/ProgressWrapper/* | New shared progress wrapper component system with single/stack progress support |
| src/components/MemoryViewer/* | Enhanced with exported utilities and color constants for better reusability |
|
bugbot run |


Closes #2447
Stand
CI Results
Test Status:⚠️ FLAKY
📊 Full Report
Test Changes Summary ⏭️2
⏭️ Skipped Tests (2)
Bundle Size: 🔺
Current: 85.31 MB | Main: 85.29 MB
Diff: +0.03 MB (0.03%)
ℹ️ CI Information