Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(error-tracking): reload issue events (#80464)

Hugues Pouillot67e10fbbf496
diff --git a/products/error_tracking/frontend/components/DataSourceTable/types.ts b/products/error_tracking/frontend/components/DataSourceTable/types.ts
index fdde22345b10..912f44ea96f9 100644
--- a/products/error_tracking/frontend/components/DataSourceTable/types.ts
+++ b/products/error_tracking/frontend/components/DataSourceTable/types.ts
@@ -1,6 +1,6 @@
import { KeyType, Logic } from 'kea'
-import { DataNode } from '~/queries/schema/schema-general'
+import type { DataNode, RefreshType } from '~/queries/schema/schema-general'
export interface DataSourceLogic<T> extends Logic {
values: {
@@ -11,7 +11,7 @@ export interface DataSourceLogic<T> extends Logic {
}
actions: {
setQuery: (query: DataNode) => void
- loadData: () => void
+ loadData: (refresh?: RefreshType) => void
loadNextData: () => void
}
}
diff --git a/products/error_tracking/frontend/scenes/ErrorTrackingIssueScene/IssueEventsPanel.tsx b/products/error_tracking/frontend/scenes/ErrorTrackingIssueScene/IssueEventsPanel.tsx
index 9cc0d0b3617e..08cff882b6dd 100644
--- a/products/error_tracking/frontend/scenes/ErrorTrackingIssueScene/IssueEventsPanel.tsx
+++ b/products/error_tracking/frontend/scenes/ErrorTrackingIssueScene/IssueEventsPanel.tsx
@@ -36,7 +36,7 @@ function LoadedIssueEventsPanel(): JSX.Element {
return (
<IssueEventsLayout
loading={itemsLoading}
- onReload={loadData}
+ onReload={() => loadData('force_blocking')}
onScrollNearEnd={() => {
if (canLoadNextData && !itemsLoading) {
loadNextData()