Make auto tidy robust after arbitrary manual moves without creating confusing reroutes.
Scope
Tune post-drag placement normalization and lane anchoring.
Reduce detour spikes after drag operations.
Ensure tidy keeps related functional groups visually coherent.
Acceptance Criteria
Dragging a major component then auto-tidy yields readable grouping.
Crossings/overlaps remain near-zero.
Detour ratio after tidy does not exceed agreed threshold on sample fixtures.
## Objective
Make auto tidy robust after arbitrary manual moves without creating confusing reroutes.
## Scope
- Tune post-drag placement normalization and lane anchoring.
- Reduce detour spikes after drag operations.
- Ensure tidy keeps related functional groups visually coherent.
## Acceptance Criteria
- Dragging a major component then auto-tidy yields readable grouping.
- Crossings/overlaps remain near-zero.
- Detour ratio after tidy does not exceed agreed threshold on sample fixtures.
Rbanh
added this to the Phase 5 - Layout Robustness and JSON Import UX Hardening milestone 2026-02-19 13:41:56 -05:00
Added explicit drag-then-auto-tidy quality checks in tests/ui-regression-runner.js.
Enforced post-drag tidy budgets for crossings/overlaps/detour via env-configurable thresholds.
Captured after_drag_tidy metrics in the UI report artifact.
Verification:
Drag -> tidy path now gated in CI through npm run test:ui.
Current report: 0 crossings, 0 overlaps, detour within threshold.
Delivered in commit `8b6c959`.
What shipped:
- Added explicit drag-then-auto-tidy quality checks in `tests/ui-regression-runner.js`.
- Enforced post-drag tidy budgets for crossings/overlaps/detour via env-configurable thresholds.
- Captured `after_drag_tidy` metrics in the UI report artifact.
Verification:
- Drag -> tidy path now gated in CI through `npm run test:ui`.
- Current report: `0 crossings`, `0 overlaps`, detour within threshold.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Objective
Make auto tidy robust after arbitrary manual moves without creating confusing reroutes.
Scope
Acceptance Criteria
Delivered in commit
8b6c959.What shipped:
tests/ui-regression-runner.js.after_drag_tidymetrics in the UI report artifact.Verification:
npm run test:ui.0 crossings,0 overlaps, detour within threshold.