: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(inbox): put status first and source last in the filter row (#126373)
posthog[bot]f203dd4f59c8
diff --git a/products/signals/frontend/inbox/components/shell/InboxReportFilters.tsx b/products/signals/frontend/inbox/components/shell/InboxReportFilters.tsxindex 774ba6d4bfa6..425bcaca3ac0 100644--- a/products/signals/frontend/inbox/components/shell/InboxReportFilters.tsx+++ b/products/signals/frontend/inbox/components/shell/InboxReportFilters.tsx@@ -56,8 +56,11 @@ const CREATED_WINDOW_SELECT_OPTIONS: { value: InboxCreatedWindow | null; label:]/**- * What narrows the report list: priority, then source, then report state, then sort order, then the created-in window. Filter state is- * persisted via `inboxFiltersLogic`, and the list reloads on change.+ * What narrows the report list: report state, then priority, then sort order, then the created-in window, then source.+ * Filter state is persisted via `inboxFiltersLogic`, and the list reloads on change.+ *+ * Source goes last because its label grows with the selected scout name. Anywhere earlier, a long name+ * pushes the controls after it to the right.** Reviewer scope is deliberately not here. It sits with triage mode on the other side of the row,* because it picks whose inbox this is rather than narrowing the one you are looking at.@@ -77,6 +80,7 @@ export function InboxReportFilters(): JSX.Element {return (<div className="flex flex-wrap items-center gap-2">+ <InboxStateFilter /><LemonSelectsize="small"value={priorityFilter.length === 1 ? priorityFilter[0] : ALL_PRIORITIES}@@ -87,8 +91,6 @@ export function InboxReportFilters(): JSX.Element {renderButtonContent={() => inboxPriorityFilterLabel(priorityFilter)}data-attr="inbox-filter-priority"/>- {sourceFilterAvailable && <InboxSourceFilter />}- <InboxStateFilter /><LemonSelectsize="small"value={inboxSortOptionKey(activeSortField, activeSortDirection)}@@ -112,6 +114,7 @@ export function InboxReportFilters(): JSX.Element {data-attr="inbox-filter-created-window"/>)}+ {sourceFilterAvailable && <InboxSourceFilter />}</div>)}