Repository navigation
fix(xr): one rebuild path for charts on the table (S8) - #89
Merged
Merged
Conversation
Every chart (re)build now reads the row-budgeted slice, stays hidden until
its first fit, and only then appears.
- Containment: beginRebuild/finishReveal with a 6 s safety timer; hidden
on init, on a chart switch and while a data transition overflows the
table. Explicit empty state ('no-data') from the producer's NotiBuffer.
Trailing-edge renormalize. The anchor rests the lower of the primary and
containment floors on the table (CHARTS-14).
- Presentation: animation off for bars/barsmap/cyls/cylsmap (the BabiaXR
grow animation drew 26-32 m towers); maxHeight widens the uniform height
band, pie and donut stand up to 2 m.
- Slices: prepareChartDataSlice() lets a producer warm its slice before
building on it; project evolution and both comparison sides now read
their own slice (CHARTS-8, CHARTS-9). getChartFromSource keeps flat
producers (CHARTS-17). A rebuilt producer re-subscribes its slice.
- Remap rebuilds the chart when a key dimension changes (CHARTS-7).
- Comparison clones start from the profile scale, not '0.01 0.05 0.01'.
- Live reload re-applies the mapping on screen now and leaves a pending
remap alone (CHARTS-12); evolution queues a second mapping change
instead of dropping it (CHARTS-17).
- Tests for each, harness asserts the evolution slice, docs and CHANGELOG.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKtAtQus8TVjhG9bhytC
…ad-kvvyg6-chart-pipeline
aMonteSl
pushed a commit
that referenced
this pull request
Nov 25, 2026
CHANGELOG [1.2.1] Fixed keeps both entries; guardrail baseline regenerated for the lowered ESLint warning budget (158 -> 155). 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
Part of #80 (epic #72). Evidence:
docs/xr-audit/charts.md.What changes
Every chart (re)build now reads the row-budgeted slice, stays hidden until its first fit, and only then appears.
beginRebuild()hidesobject3Duntil the first fit (finishReveal()), with a 6 s safety revealanimation: falsein the presentation profile for bars, barsmap, cyls, cylsmapprepareChartDataSlice()and builds on it; a data transition that overflows the table hides the chart until fitted (frames that fit stay visible, so no blink)0.01 0.05 0.01scaleno-datastate: "No files to show for this mapping."getChartFromSourcekeeps flat producers; evolution queues the second changemaxHeight: 2, was ~1.3 m)Measured (headless, before → after)
Not in this PR (honest scope)
CodeXRChartPipeline.request()facade from the design was not introduced; the six paths share the same rules through containment (beginRebuild/reveal) and the slice API instead.removeChildduring rebuild) and CHARTS-18 are left for later.Verification
npm test: 1094/1094, lint 158 warnings (at budget).test:xr-immersive-harnessfails intermittently on "left stick must walk the rig forward", the same on the base branch (1 of 3 runs there too), so it is pre-existing and unrelated.Generated by Claude Code