Skip to content

fix: table is broken because of batching #2356

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

Merged
merged 1 commit into from
Jun 2, 2025
Merged

fix: table is broken because of batching #2356

merged 1 commit into from
Jun 2, 2025

Conversation

astandrik
Copy link
Collaborator

@astandrik astandrik commented Jun 2, 2025

Closes #2349

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
318 317 0 1 0

😟 No changes in tests. 😕

Bundle Size: ✅

Current: 83.65 MB | Main: 83.65 MB
Diff: +1.22 KB (0.00%)

✅ Bundle size unchanged.

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

@astandrik astandrik requested review from Raubzeug and Copilot June 2, 2025 15:05
Copy link
Contributor

@Copilot Copilot AI left a 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 addresses the issue where the table was broken due to batching by introducing a new optional flag (noBatching) to bypass the request batcher when needed.

  • Introduces the noBatching flag in the table reducer and propagates it through the table components
  • Adjusts the data fetching logic to conditionally bypass batching
  • Updates context and layout components to support the new noBatching flag

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/store/reducers/tableData.ts Adds the noBatching flag and conditionally bypasses the request batcher when true
src/containers/Tenant/Diagnostics/TopicData/TopicData.tsx Passes the noBatching prop to the table component to disable batching when needed
src/components/PaginatedTable/TableChunk.tsx Retrieves noBatching from context and includes it in the query parameters
src/components/PaginatedTable/PaginatedTableWithLayout.tsx Extends the layout component to accept and pass the noBatching prop
src/components/PaginatedTable/PaginatedTableContext.tsx Updates the table context and provider to include and propagate the noBatching flag

@astandrik astandrik added this pull request to the merge queue Jun 2, 2025
Merged via the queue into main with commit 7f3ea8c Jun 2, 2025
7 checks passed
@astandrik astandrik deleted the astandrik.2349 branch June 2, 2025 15:40
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.

TopicData table is broken because of batching
2 participants