Skip to content

Commit 17f783b

Browse files
authored
feat(inbox): Allow filtering reports by product (#1421)
## Problem No way to filter inbox reports by signal source - you see all reports regardless of whether they came from session replay, error tracking, GitHub issues, etc. ## Changes Adding "Source" multi-select in the toolbar filter popover (session replay, error tracking, LLM analytics, GitHub, Linear, Zendesk). Backend support (in posthog/ `sig/add-signal-report-task` branch) queries ClickHouse `document_embeddings` for report IDs that have signals from the requested source products, then filters the PostgreSQL queryset by those IDs.
1 parent c6ab37b commit 17f783b

13 files changed

Lines changed: 745 additions & 241 deletions

apps/code/src/renderer/api/posthogClient.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,9 @@ export class PostHogAPIClient {
953953
if (params?.ordering) {
954954
url.searchParams.set("ordering", params.ordering);
955955
}
956+
if (params?.source_product) {
957+
url.searchParams.set("source_product", params.source_product);
958+
}
956959

957960
const response = await this.api.fetcher.fetch({
958961
method: "get",

0 commit comments

Comments
 (0)