Repository navigation
fix(xr): one placement registry so panels never overlap (#81) - #92
Merged
Merged
Conversation
- New virtual-screen runtime part placementRegistry.js: obstacles are other screens, any shown entity tagged data-codexr-panel-obstacle, and the analysis table plus 2.2 m of chart headroom; compared as oriented boxes with the separating-axis test instead of nine sampled points. - + Add screen and Bring land on the nearest free spot (right, left, up); follow goes through the same bumper as drag; a screen already inside an obstacle is never frozen. - Added screens read the scene's screen config (JSON script) and show their display name in the idle label. - Dependency graph: pinned cards get a close button and the stack is capped at two rows (legendSlotPosition maxRows); the legend board and the project evolution overlay register as obstacles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014FkKtAtQus8TVjhG9bhytC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Adrián · project thread
Closes #81 (S9 of epic #72). Audit findings PANELS-3, 5, 7, 8, 9 (
docs/xr-audit/panels.md).What changes
placementRegistry.js.data-codexr-panel-obstacle, and#codexr-analysis-table-geometryextended upward by 2.2 m of chart headroom.readSceneConfig(the JSON script first, then the global). Their idle label shows the display name instead of the internal id.legendSlotPositiongained amaxRowsoption (set to 2), so six cards grow sideways instead of climbing through the ceiling;Verification
npm test: 1,138 of 1,138 pass. ESLint warnings stay at 154 (budget 154).New tests:
maxRowskeeps 1 to 7 cards within two rows with no overlaps (behavioural);Harnesses pass:
test:xr-mode-harness,test:project-evolution-harness,test:xr-harness.Real A-Frame 1.7.1 page in Chromium (scratch page, not committed):
Needs a manual check
Generated by Claude Code