Files
CapaKraken/apps/web/src
Hartmut 1f4c230b8b feat: Clients admin — hierarchical tree view with parent/child support
- Tree structure: clients rendered as indented tree with visual connectors
- Expand/collapse: chevron toggle, children count badge, expand/collapse all
- Parent selector: dropdown on add + "Move..." inline picker on each client
  (excludes self and descendants to prevent circular refs)
- Search: shows matching clients AND their ancestors for context
- Depth visualization: alternating backgrounds, border-l connectors
- Drag-and-drop: preserved, reorders among siblings only

No API changes needed — router already supported parentId in CRUD.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-22 21:14:51 +01:00
..