dow-prod-tracker/src
DJP ae6ebc6da2 Deliverables board: drag highlight, pipeline filter, "in pipelines" footer
Three connected improvements on the Deliverables board:

1. Drag highlight. When you start dragging a card, every column
   previews whether a drop would be allowed. Same rules as the
   server validator:
     - forward-by-order (target.order > current.order)   → green
     - backward + declared rework edge exists            → green
     - same column                                        → no-op, no tint
     - backward without a rework edge                     → red
     - cross-pipeline / "__none__" bucket                 → red
   Columns the drop can't target also fade to 50% opacity to pull
   focus toward the valid ones. Status mode is always green since
   Deliverable.status is a direct write.

   Drag validity uses rework edges pulled live from the selected
   pipeline's detail (usePipelineTemplate), so configurator changes
   in /settings/pipelines show up immediately on the board.

2. Pipeline filter. New "All Pipelines" select in the filter row,
   shown only when >1 pipeline template exists (noise otherwise).
   When set, filters deliverables by project.pipelineTemplateId AND
   drives the board columns + rework edges from that pipeline.

3. "In pipelines" footer. At the base of each stage column, shows
   which pipeline templates include that stage slug — but only when
   the stage is shared across ≥2 pipelines. Single-pipeline labels
   would be redundant.

Plumbing:
- getAllDeliverables service + AllDeliverableRow now include
  project.pipelineTemplateId so the page can filter without a
  second round-trip.
- DeliverableBoard accepts two new optional props: pipelineStages
  extended with reworkToSlugs (per-stage rework targets) and
  allPipelines (list of { id, name, stageSlugs } for the footer).
- Deliverables page computes boardPipelineStages from the active
  pipeline's detail (falls back to the default when filter is
  "all") and allPipelinesSummary from the list response.
2026-04-22 12:53:40 -04:00
..
app Deliverables board: drag highlight, pipeline filter, "in pipelines" footer 2026-04-22 12:53:40 -04:00
components Deliverables board: drag highlight, pipeline filter, "in pipelines" footer 2026-04-22 12:53:40 -04:00
hooks Deliverables board: drag highlight, pipeline filter, "in pipelines" footer 2026-04-22 12:53:40 -04:00
lib Deliverables board: drag highlight, pipeline filter, "in pipelines" footer 2026-04-22 12:53:40 -04:00
stores feat: add pipeline stage resolver and organization access control 2026-03-14 22:43:43 -05:00
types Phase 2: per-client-team visibility enforcement 2026-04-20 18:50:00 -04:00
instrumentation.ts automation rules added to settings 2026-03-17 23:07:44 -05:00
middleware.ts Smoke-test fixes: routing collision + XLSX parser + defaults 2026-04-20 19:47:22 -04:00