put the open capability in the url

/tasks, /skills and /processes are one component, so one route pair each and the
rows become links. drops the auto-select-items[0] effect: the bare route is the
list with nothing open, which is a real state. editing and the just-created flag
move to ?edit=1 / ?new=1 — a link row cannot reset them on the way out, and
deriving them means navigating to another item clears them for free.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-07 12:16:11 +00:00
co-authored by Claude Opus 5
parent aef8619c6c
commit a55ea1882a
6 changed files with 48 additions and 54 deletions
@@ -1,3 +1,5 @@
import { CapabilityPage } from '../CapabilityPage';
export const Processes = () => <CapabilityPage kind="Process" endpoint="/processes" queryKey="processes" />;
export const Processes = () => (
<CapabilityPage kind="Process" endpoint="/processes" queryKey="processes" basePath="/processes" />
);