Skip to content

fix(missioncontrol): same-column drag no-op — restore client-side guards#6

Merged
developdaly merged 4 commits into
feat/missioncontrolfrom
feat/mc-multimedia-card-descriptions
Mar 25, 2026
Merged

fix(missioncontrol): same-column drag no-op — restore client-side guards#6
developdaly merged 4 commits into
feat/missioncontrolfrom
feat/mc-multimedia-card-descriptions

Conversation

@developdaly
Copy link
Copy Markdown
Owner

Summary

Restores two client-side same-column no-op guards in missioncontrol/src/ui.ts that were inadvertently dropped during the multimedia card attachment branch. Dragging a card within its own column no longer triggers the stage skill.

Fixes:

  • Drop handler: now checks findColumnForCard(cardId) !== colId before calling moveCard
  • Shared moveCard helper: now exits early if findColumnForCard(cardId) === columnId

Test Coverage

13/13 tests pass (missioncontrol-same-column-noop × 3, base-path-regression × 5, column-descriptions × 2, inline-script-syntax × 1, multimedia-ui × 2)

Pre-Landing Review

No issues found. Only functional delta: 2 guard lines in existing JS functions.

Test plan

  • All 13 Mission Control tests pass (0 failures)
  • Same-column drag → no skill invoked
  • Cross-column drag → skill invoked normally

🤖 Generated with Claude Code

@developdaly developdaly merged commit d46a2e7 into feat/missioncontrol Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant