-
Notifications
You must be signed in to change notification settings - Fork 14
feat(Clusters): redesign table #2495
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
aa1515f
to
e2ac829
Compare
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 clusters table view by updating column definitions, internationalized strings, and UI components.
- Major i18n updates and label/text changes in the clusters table
- Adjustments to column definitions including removal of deprecated columns and adding new ones (STATUS and SERVICE)
- Introduction of a custom progress bar component and updated search component
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
src/containers/Clusters/i18n/en.json | Updated i18n strings and labels for the clusters table |
src/containers/Clusters/constants.ts | Removed deprecated columns and updated column titles |
src/containers/Clusters/columns.tsx | Revised column setup, added new columns, and introduced a progress bar |
src/containers/Clusters/Clusters.tsx | Updated rendering of the table title, search input, and error display |
src/containers/Clusters/Clusters.scss | Adjusted styling for new widths and added new CSS variables |
src/components/Search/Search.tsx | Enhanced input props handling by spreading additional properties |
Comments suppressed due to low confidence (1)
src/containers/Clusters/columns.tsx:232
- The 'SERVICE' column does not have a render method defined, which might lead to an empty column in the table. Consider implementing a render function to ensure that the column displays the expected content.
name: COLUMNS_NAMES.SERVICE,
{clusters?.length} | ||
</Text> | ||
</Flex> | ||
<Text variant="header-1">{uiFactory.clustersPageTitle ?? i18n('page_title')}</Text> |
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.
I made possible to set title in uiFactory to prevent YDB EM name in open-source version
Closes #2334
Stands: https://nda.ya.ru/t/HABYg_Bv7FpMCr
CI Results
Test Status:⚠️ FLAKY
📊 Full Report
Test Changes Summary ⏭️3
⏭️ Skipped Tests (3)
Bundle Size: ✅
Current: 84.00 MB | Main: 84.01 MB
Diff: 4.29 KB (-0.00%)
✅ Bundle size unchanged.
ℹ️ CI Information