Skip to content

docs: link transient drag guidance beside brushX - #252

Merged
tannerlinsley merged 1 commit into
mainfrom
taren/brush-doc-links-1142
Nov 3, 2026
Merged

tannerlinsley merged 1 commit into
mainfrom
taren/brush-doc-links-1142

Conversation

@tannerlinsley

@tannerlinsley tannerlinsley commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

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.

@changeset-bot

changeset-bot Bot commented Nov 3, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: c8298d5

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

@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Walkthrough

The interaction guides now distinguish persistent brushX ranges 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.md
Both guides describe application-owned handling for temporary drag ranges, including resolved-scale inversion, clearing ranges on release or cancellation, and forwarding idle hover through resolvePointer and setControlledFocus.

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 to c8298

The documentation-only change introduces no established runtime, API, or release risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the documentation change: linking transient drag guidance beside the existing brushX guidance.
Docstring Coverage Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

Share

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 207b2e0 and c8298d5.

Files selected for processing: 2
  • docs/guides/interactions-and-selections.md
  • packages/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.

@nx-cloud

nx-cloud Bot commented Nov 3, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit c8298d5

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:52 UTC

@tannerlinsley
tannerlinsley merged commit bd5dacc into main Nov 3, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant