feat: add dot.trackWhileParked — dot follows the live point while scrolled back - #263
Merged
Merged
Conversation
…olled back Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Owner
|
Resolved the merge blocker by merging current main and reconciling all Unreleased changelog entries. The source, tests, docs, and demos merged cleanly; no implementation defect was found in the PR. Review and QA completed:
Fix commit: 88bdf3b. The refreshed branch is ready to merge once its new-head checks finish. |
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.
What
dot.trackWhileParkedonLiveChart(defaultfalse): while scrolled back or overscrolled, the live dot tracks the true live point's x and keeps its heartbeat pulse, instead of pinning to the plot's right edge with the pulse suppressed.timeScroll.overscroll(drag into blank future space and the dot detaches from the edge, pulsing at the real last price). Time scroll demo gains a Dot tracks live point switch; guide + API docs updated.Why the flag exempts the dot from
hideLiveOnScrollBacktimeScroll.Why
badge.followViewEdgewinsfollowViewEdgedot must stay aligned with its badge, so the flag (tracking, pulse, and hide exemption) is ignored when both are set — documented in the JSDoc and guide.Test plan
npm run verifygreen; coverage thresholds hold (branches 90, functions/lines/statements 95).resolveDotdefaults/overrides,useLiveDotparked x math (tracked position, out-of-window both sides, empty data, degenerate window/plot width, live-follow pin,followViewEdgeprecedence),DotOverlaypulse-while-parked render,LiveChartrender for both flag states + precedence.🤖 Generated with Claude Code