Skip to content

Commit 6b135fa

Browse files
authored
fix(inbox): restore Scout in the source filter dropdown (#2587)
1 parent 2193f84 commit 6b135fa

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

packages/ui/src/features/inbox/CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ When adding or changing UI, reuse those primitives first. Avoid encoding one-off
106106
- Do not reuse the deleted legacy `ReportListRow`, `ReportDetailPane`, or old list/detail stores.
107107
- Do not put page-level Inbox title or navigation into the global app header; `InboxView` owns the Inbox page chrome.
108108
- Do not add a configure shortcut back into the Inbox header; Responders configuration is a sidebar destination.
109-
- Do not add Scout UI until a corresponding backend exists in this repo.
109+
- Scout (`signals_scout`) is a real Cloud source product. Keep it covered wherever source products surface: `INBOX_SOURCE_OPTIONS`, `SOURCE_PRODUCT_META`, and the scout-name display in `SignalCard`. Do not add Scout management UI (fleet configuration, run history) until a corresponding backend exists in this repo.
110110
- Do not put preview shims or mock report data in `apps/code/index.html`; the app shell should stay minimal.
111111
- Do not call `electronTRPC` directly from Inbox code. Use the existing API client, React Query hooks, or tRPC client wrappers.
112112
- Do not preserve compatibility with unshipped intermediate UI shapes on this branch. Replace them cleanly.

packages/ui/src/features/inbox/filterOptions.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {
33
BugIcon,
44
CalendarPlus,
55
Clock,
6+
CompassIcon,
67
GithubLogoIcon,
78
KanbanIcon,
89
LifebuoyIcon,
@@ -99,6 +100,7 @@ export const INBOX_SOURCE_OPTIONS: {
99100
icon: <LifebuoyIcon size={14} />,
100101
},
101102
{ value: "pganalyze", label: "pganalyze", icon: <PgAnalyzeIcon size={14} /> },
103+
{ value: "signals_scout", label: "Scout", icon: <CompassIcon size={14} /> },
102104
];
103105

104106
export function inboxSortOptionKey(

0 commit comments

Comments
 (0)