Skip to content

Complete spatial quick fixes for relationship rules - #57

Merged
haphantran merged 1 commit into
mainfrom
feature/spatial-relationship-fixes
Nov 27, 2026
Merged

haphantran merged 1 commit into
mainfrom
feature/spatial-relationship-fixes

Conversation

@haphantran

Copy link
Copy Markdown
Collaborator

What changed

  • Finish Phase 18 by adding placement previews for containment, maximum distance, and adjacency in both diagram editors.
  • Search compatible target placements while keeping the source elevation and yaw fixed. Show the chosen target in the preview and reject proposals that introduce another spatial issue.
  • Recheck the verified proposal against current project data when applying. Keep overlap and minimum-clearance previews on the existing scoped path.
  • During a preview, evaluate the rule checks that can change when that one element moves, including checks where other elements depend on the moved element as a target.

Verification

  • Frontend and backend tests, typechecks, and frontend production build.
  • Regression coverage for rotated containment, zero-gap adjacency, volume center distance, blocked targets, and a move that would break an existing relationship.

@haphantran
haphantran merged commit 35b6a9e into main Nov 27, 2026
3 checks passed
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