Skip to content

Preview and apply spatial validation fixes - #56

Merged
haphantran merged 1 commit into
mainfrom
feature/spatial-quick-fixes
Nov 26, 2026
Merged

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

Conversation

@haphantran

Copy link
Copy Markdown
Collaborator

What changed

  • Add Preview fix to the validation panel in both diagram editors for overlap and minimum-clearance findings.
  • Let editors choose which visible element to move and inspect the proposed coordinates before confirming.
  • Check the move against spatial rules across the model and preserve elevation, yaw, and the existing 2D alignment policy.
  • Reject apply requests if the view, model, or rule set changed after preview. Apply the confirmed placement through the scoped API and refresh validation.

Verification

  • Frontend and backend test suites and TypeScript checks
  • Frontend production build
  • Smart Warehouse rack clearance, rotated overlap, volumetric clearance, conflicting rules, stale previews, and project access tests

@haphantran
haphantran merged commit 67f8d9e into main Nov 26, 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