Skip to content

Fix dependency overlay lines from hidden nodes#23

Open
JMRussas wants to merge 1 commit intomainfrom
fix/dependency-overlay-hidden-nodes
Open

Fix dependency overlay lines from hidden nodes#23
JMRussas wants to merge 1 commit intomainfrom
fix/dependency-overlay-hidden-nodes

Conversation

@JMRussas
Copy link
Owner

@JMRussas JMRussas commented Mar 7, 2026

Summary

  • Skip SVG dependency paths when either endpoint node is hidden (zero-size bounding rect from collapsed parent)
  • Change SVG overflow: visibleoverflow: hidden to clip any lines extending beyond the tree container
  • Fixes diagonal line streaks visible when phases are collapsed

Test plan

  • cd frontend && npm test — 211 tests pass, no regressions
  • Open a project with a generated plan, verify no stray lines when phases are collapsed
  • Expand phases and verify dependency lines still render correctly between visible tasks

Generated by Claude Code · Claude Opus 4.6

Skip SVG paths when either endpoint has zero-size bounding rect
(collapsed parent). Clip overlay with overflow:hidden to prevent
lines from rendering outside the tree container.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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