Fix filtering config save, auto-save, streamed results, improved AI prompt
All checks were successful
Build and Push Docker Image / build (push) Successful in 9m7s

- Add missing fields to FilteringConfigSchema (aiParseFiles, startupAdvanceCount,
  conceptAdvanceCount, notifyOnEntry, notifyOnAdvance) — Zod was silently
  stripping them on save
- Restore auto-save with 800ms debounce on config changes
- Add staggered animations for filtering results (stream in one-by-one)
- Improve AI screening prompt: file type label mappings, soft cap handling,
  missing documents = fail, better user prompt structure

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matt
2026-02-17 17:18:04 +01:00
parent bed444e5f4
commit cf1508f856
4 changed files with 107 additions and 11 deletions

View File

@@ -69,6 +69,12 @@ export const FilteringConfigSchema = z.object({
autoAdvanceEligible: z.boolean().default(false),
duplicateDetectionEnabled: z.boolean().default(true),
batchSize: z.number().int().positive().default(20),
aiParseFiles: z.boolean().default(false),
startupAdvanceCount: z.number().int().nonnegative().optional(),
conceptAdvanceCount: z.number().int().nonnegative().optional(),
notifyOnEntry: z.boolean().default(false),
notifyOnAdvance: z.boolean().default(false),
})
export type FilteringConfig = z.infer<typeof FilteringConfigSchema>