Counterparties: per-project counterparty + customer index page

↗ view on GitHub · Custos · 2026-05-04 · e7a3d0c9

- projects gain counterparty + parent_counterparty (free text for now;
  will be promoted to a dedicated counterparties table in a follow-up).
- PATCH /projects/:id accepts counterparty / parent_counterparty / template.
- New GET /projects/counterparties?role= aggregates by counterparty,
  returning project counts and last-activity for the customer index.
- Frontend: new /customers route grouping customer-template projects by
  counterparty, with role tabs (Customers / Vendors / All).
- Frontend: editable counterparty + parent fields on the project page,
  template badge surfaced under the title.
- Sidebar: 'Customers' nav entry below Projects.
- .gitignore: exclude .claude/.
Repository Custos/legalos
Author Custos <jfeinblum@gmail.com>
Authored
Parents fa1a3bbb
Stats 9 files changed , +391 , -5
Part of Counterparties + customer index (CLM core)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-e7a3d0c9.md from inside the repo you want the change in.

⬇ Download capture-commit-e7a3d0c9.md