Home

boring / v2

publicBoring-Software-Inc/v2
Overview Code History Branches Pull requestsIssuesInsights Campfire Docs
main
HomeOverview Code PRsIssues

fix(workflows): drag-in actually drops — droppable must live BELOW DndContext

3 months ago

c5f5992
Authored
grim7/16/2026, 6:45:43 PM
useDroppable was called in the same component that renders the provider,
registering into dnd-kit's DEFAULT context — event.over stayed undefined
and every drop silently no-oped (click-to-add masked it). Extracted a
CanvasDropzone child so the droppable registers with OUR context.
Reproduced and verified with a headless-browser drag (nodes 1 → 2, over =
workflow-canvas, node lands at the pointer). Also: dropped the redundant
'disabled' badge next to the name input (the enable button already says
it); the enabled pill stays.

Parent48390f4

6 files changed
  • apps/web/src/components/common/tripwire-wordmark.tsx+35−0
  • apps/web/src/components/layouts/dashboard-topbar.tsx+8−1
  • apps/web/src/components/workflows/editor/editor-header.tsx+4−10
  • apps/web/src/components/workflows/editor/workflow-editor.tsx+17−3
  • bun.lock+3−0
  • package.json+1−0