fix(documents): say when the document picker list is cut

The picker for linking documents to an illness and for choosing
documents for a share link reads the newest fifty and dropped the
route's nextCursor, so with a longer vault an older report seemed not
to exist unless one already knew to search for it. A cut list now ends
with a line that says how many are shown and that the search reaches
the rest. Paging was left out: the coach attachment picker shares the
picker's cache key with a single-page read.
This commit is contained in:
Marc-André Bombeck committed 2026-11-11 20:08:24 +01:00
1 parent d204b4344b
commit 53f4ecc2c5
13 files changed
+117 -3

No files matched your search

@@ -83,7 +83,7 @@ const ALLOWLIST: readonly Allowed[] = [
file: "components/documents/document-picker-sheet.tsx",
limit: 50,
reason:
"Search-backed picker (episode links and share links): the query narrows the whole document vault server-side.",
"Search-backed picker (episode links and share links): the query narrows the whole document vault server-side, and a cut list says so and points to the search.",
},
{
file: "hooks/use-mood-day.ts",