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(signals): pull 500 scratchpad entries into the scout inbox (#65848)

Andrew Maguire0b864b922851
diff --git a/frontend/src/scenes/inbox/logics/scratchpadLogic.ts b/frontend/src/scenes/inbox/logics/scratchpadLogic.ts
index fdbe45f78509..7b180a7a3bad 100644
--- a/frontend/src/scenes/inbox/logics/scratchpadLogic.ts
+++ b/frontend/src/scenes/inbox/logics/scratchpadLogic.ts
@@ -15,10 +15,11 @@ export type ScratchpadGrouping = 'recent' | 'topic'
// Search reruns the server-side ILIKE on every keystroke; debounce so typing doesn't
// fire a request per character.
const SEARCH_DEBOUNCE_MS = 300
-// `list` caps at 100 newest-first with no pagination wrapper — pull the whole window in
-// one read and group/search client-side. A team that ever exceeds this wants a count +
-// cursor on the endpoint (tracked as a backend follow-up), not deeper paging here.
-const SCRATCHPAD_FETCH_LIMIT = 100
+// `list` caps at 500 newest-first with no pagination wrapper — pull the whole window in
+// one read and group/search client-side. The endpoint exposes a `date_to` cursor for
+// walking past the cap; a team that routinely exceeds 500 wants that wired into a "load
+// more" here, not a bigger single read.
+const SCRATCHPAD_FETCH_LIMIT = 500
/** One namespace cluster in the "By topic" view: the raw prefix, a friendly label, and its entries. */
export interface ScratchpadNamespaceGroup {