docs: link transient drag guidance beside brushX #252
main fromtaren/brush-doc-links-1142·merged by tannerlinsley The brush guide now links to the existing application-owned pointer and scale-inversion APIs for a range that is visible only while dragging. It also explains clearing that range on release or cancellation and forwarding idle hover to chart focus.
Docs follow-up to #198, reported by @toomingos. The requested first-party transient brush option remains open.
AI review notes: Root docs are the authored source, package docs are regenerated. Docs contract passes for 105 pages, 56 catalog examples, 32 runnable groups, and 8 standalone examples. Formatting and generated-doc sync pass; CI classification is docs only. No runtime or public API changes.
Summary by CodeRabbit#
- Documentation
- Clarified the difference between persistent brush selections and temporary drag ranges, including how to clear temporary ranges and preserve chart focus and tooltips during idle hover.
- 1
No actionable comments were generated in the recent review.
Walkthrough
-
The interaction guides now distinguish persistent
brushXranges from temporary drag ranges. They describe application-owned pointer handling, clearing temporary ranges on release or cancellation, and forwarding idle hover through the interaction controller.Changes: Brush interaction guidance
Layer / File(s) Summary Document temporary brush ranges
docs/guides/interactions-and-selections.md,packages/charts-core/docs/guides/interactions-and-selections.mdBoth guides describe application-owned handling for temporary drag ranges, including resolved-scale inversion, clearing ranges on release or cancellation, and forwarding idle hover through resolvePointerandsetControlledFocus.Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Other
Possibly related issues
- Issue 198: The change documents the existing application-owned route and clearing behavior requested by the issue. It does not add the requested first-party transient option.
Merge Risk:
Minimal · up toc8298-
The documentation-only change introduces no established runtime, API, or release risk.
Pre-merge checks:
5-
Check name Status Explanation Description Check Check skipped - CodeRabbit’s high-level summary is enabled. Title check The title clearly and concisely describes the documentation change: linking transient drag guidance beside the existing brushX guidance. Docstring Coverage No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat… Linked Issues check Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Check skipped because no linked issues were found for this pull request. Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)
-
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
CodeRabbit Verify#
- Run CodeRabbit Verify to test the changes in this pull request.
Recent review info-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
a32e5362-5421-43ae-aa3f-eaa240fb82ce
Commits-
Reviewing files that changed from the base of the PR and between 207b2e01134a2f3bc19abba2f403bf3eaa102e68 and c8298d5b2209ca34c12edb34162a18a67e880f83.
Files selected for processing: 2-
docs/guides/interactions-and-selections.mdpackages/charts-core/docs/guides/interactions-and-selections.md
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
-
-
View your CI Pipeline Execution ↗ for commit c8298d5b2209ca34c12edb34162a18a67e880f83
Command Status Duration Result nx run-many --targets=format-check,docs-check,d...✅ Succeeded 1m 5s View ↗
☁️ Nx Cloud last updated this comment at
2026-11-03 12:07:52UTCtannerlinsley merged thisbd5dacc
tannerlinsley closed this
Sign in to join this conversation.
⚠️ No Changeset found#
Latest commit: c8298d5b2209ca34c12edb34162a18a67e880f83
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR