Skip to content
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

feat(Storage,Nodes): request only needed fields from backend #1491

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

artemmufazalov
Copy link
Member

@artemmufazalov artemmufazalov commented Oct 18, 2024

Closes #1249

Stand: https://nda.ya.ru/t/44KfyLRl792MHn

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
134 133 0 1 0

Bundle Size: 🔺

Current: 79.03 MB | Main: 79.02 MB
Diff: +0.01 MB (0.01%)

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

@artemmufazalov artemmufazalov changed the title feat(Storage,Nodes): request only needed fields feat(Storage,Nodes): request only needed fields from backend Oct 18, 2024
@artemmufazalov artemmufazalov requested review from astandrik and Raubzeug and removed request for astandrik October 18, 2024 12:56
Raubzeug
Raubzeug previously approved these changes Oct 21, 2024
Copy link
Contributor

@astandrik astandrik left a comment

Choose a reason for hiding this comment

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

discussed to try to get rid of dataFieldsRequired in props

@@ -47,12 +47,15 @@ export const TableChunk = <T, F>({
const [isTimeoutActive, setIsTimeoutActive] = React.useState(true);
const [autoRefreshInterval] = useAutoRefreshInterval();

const columnsIds = columns.map((column) => column.name).sort();
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need to sort them?

@artemmufazalov artemmufazalov added this pull request to the merge queue Oct 21, 2024
Merged via the queue into main with commit 0af72a4 Oct 21, 2024
6 checks passed
@artemmufazalov artemmufazalov deleted the 1249-request-data-base-on-columns branch October 21, 2024 14:24
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.

pass selected columns to a handle /storage/groups and /viewer/nodes
3 participants