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.

feat(desktop): add task trackers as inbox sources (#121718)

Tom Owers039da9346507
diff --git a/packages/agent/packages/agent-contracts/src/inbox-types.ts b/packages/agent/packages/agent-contracts/src/inbox-types.ts
index 92f46796da39..46621cf86b8b 100644
--- a/packages/agent/packages/agent-contracts/src/inbox-types.ts
+++ b/packages/agent/packages/agent-contracts/src/inbox-types.ts
@@ -108,6 +108,42 @@ export const EXTERNAL_INBOX_SOURCES = [
recordKind: "issue",
setup: "dynamic",
},
+ {
+ product: "clickup",
+ label: "ClickUp",
+ description: ISSUE,
+ dwSourceType: "ClickUp",
+ requiredTables: ["tasks"],
+ recordKind: "issue",
+ setup: "dynamic",
+ },
+ {
+ product: "wrike",
+ label: "Wrike",
+ description: ISSUE,
+ dwSourceType: "Wrike",
+ requiredTables: ["tasks"],
+ recordKind: "issue",
+ setup: "dynamic",
+ },
+ {
+ product: "trello",
+ label: "Trello",
+ description: ISSUE,
+ dwSourceType: "Trello",
+ requiredTables: ["cards"],
+ recordKind: "issue",
+ setup: "dynamic",
+ },
+ {
+ product: "bugherd",
+ label: "BugHerd",
+ description: ISSUE,
+ dwSourceType: "Bugherd",
+ requiredTables: ["Tasks"],
+ recordKind: "issue",
+ setup: "dynamic",
+ },
// Error tracking
{
product: "bugsnag",
diff --git a/products/desktop/packages/core/src/inbox/signalSourceService.ts b/products/desktop/packages/core/src/inbox/signalSourceService.ts
index ffe764c14e28..1384aa44809e 100644
--- a/products/desktop/packages/core/src/inbox/signalSourceService.ts
+++ b/products/desktop/packages/core/src/inbox/signalSourceService.ts
@@ -179,7 +179,7 @@ export class SignalSourceService {
for (const table of dwConfig.requiredTables) {
const requiredSchema = schemas.find(
- (s) => s.name.toLowerCase() === table,
+ (s) => s.name.toLowerCase() === table.toLowerCase(),
);
if (!requiredSchema) {
continue;
diff --git a/products/desktop/packages/ui/src/features/inbox/components/utils/source-product-icons.tsx b/products/desktop/packages/ui/src/features/inbox/components/utils/source-product-icons.tsx
index 78ee6de3ed87..e71f13204a8d 100644
--- a/products/desktop/packages/ui/src/features/inbox/components/utils/source-product-icons.tsx
+++ b/products/desktop/packages/ui/src/features/inbox/components/utils/source-product-icons.tsx
@@ -143,6 +143,10 @@ const SOURCE_PRODUCT_META: Partial<Record<SourceProduct, SourceProductMeta>> = {
gitlab: { Icon: GitBranchIcon, color: "var(--orange-9)", label: "GitLab" },
gitea: { Icon: GitBranchIcon, color: "var(--green-9)", label: "Gitea" },
shortcut: { Icon: KanbanIcon, color: "var(--purple-9)", label: "Shortcut" },
+ clickup: { Icon: KanbanIcon, color: "var(--violet-9)", label: "ClickUp" },
+ wrike: { Icon: KanbanIcon, color: "var(--green-9)", label: "Wrike" },
+ trello: { Icon: KanbanIcon, color: "var(--blue-9)", label: "Trello" },
+ bugherd: { Icon: BugIcon, color: "var(--tomato-9)", label: "BugHerd" },
sentry: { Icon: BugIcon, color: "var(--violet-9)", label: "Sentry" },
rollbar: { Icon: BugIcon, color: "var(--crimson-9)", label: "Rollbar" },
bugsnag: { Icon: BugIcon, color: "var(--pink-9)", label: "Bugsnag" },
diff --git a/products/desktop/packages/ui/src/features/inbox/hooks/useSignalSourceToggles.ts b/products/desktop/packages/ui/src/features/inbox/hooks/useSignalSourceToggles.ts
index d460a359f306..4c3bc8828117 100644
--- a/products/desktop/packages/ui/src/features/inbox/hooks/useSignalSourceToggles.ts
+++ b/products/desktop/packages/ui/src/features/inbox/hooks/useSignalSourceToggles.ts
@@ -214,7 +214,7 @@ export function useSignalSourceToggles() {
for (const table of dwConfig.requiredTables) {
const requiredSchema = source.schemas.find(
- (s) => s.name.toLowerCase() === table,
+ (s) => s.name.toLowerCase() === table.toLowerCase(),
);
if (!requiredSchema) continue;