feat(cases): refresh the case picker and add search to Manage (#483)

The Run bar's case picker only loaded /api/cases at page load, so folders
deleted or created on disk stayed listed until a reload. It now refetches
on open and every 5 seconds while open, repainting only when the list
changed and falling back to another case if the selected one was removed.

The Manage tab of Add Case gains a search box filtering by name or path.
Reorder arrows are disabled while a filter is active so a swap cannot
involve a hidden case.


Claude-Session: https://claude.ai/code/session_01GuHtuPiHXdykq9T6rKQJ9n

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Devvyn
2026-09-24 23:08:47 +02:00
committed by GitHub
co-authored by Claude Sonnet 5
parent 77ba41f8da
commit 8841bcc93f
4 changed files with 99 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"aicodeman": patch
---
Add a search box to the Manage tab of the Add Case dialog. It filters the case list by name or path, and the reorder arrows are disabled while a filter is active so a swap cannot involve a hidden case.
+5
View File
@@ -0,0 +1,5 @@
---
"aicodeman": patch
---
The case picker now refreshes its list from `/api/cases` when it opens and every 5 seconds while it stays open, so folders deleted or created on disk appear without a page reload. If the selected case has been removed, the picker falls back to another case without saving it as the last-used one.