docs(devtools-a11y): describe the plugin API that the package exports - #546
AlemTuzlak wants to merge 1 commit into
Conversation
The page showed createA11yPlugin with initial options, a Vue entry point, and exportToJSON/exportToCSV from the package root. None of these exist: the package exports only the react, solid, and angular entry points, the plugin helpers take no options, and the export helpers are internal. The page now shows an Angular quick start, describes the panel settings and where they are saved, and points to the Export buttons. Fixes #422
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 2 minutes. View limit detailsLimit details: You’ve used all 4 included reviews currently available. Review configuration: ⚙️ Run configurationConfiguration used: Repository: TanStack/devtools/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
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. Comment |
|
View your CI Pipeline Execution ↗ for commit eec8f8b
☁️ Nx Cloud last updated this comment at |
|
View your CI Pipeline Execution ↗ for commit eec8f8b
☁️ Nx Cloud last updated this comment at |
More templates
@tanstack/angular-devtools
@tanstack/devtools
@tanstack/devtools-a11y
@tanstack/devtools-bundler-core
@tanstack/devtools-client
@tanstack/devtools-rspack
@tanstack/devtools-ui
@tanstack/devtools-utils
@tanstack/devtools-vite
@tanstack/devtools-webmcp
@tanstack/devtools-event-bus
@tanstack/devtools-event-client
@tanstack/preact-devtools
@tanstack/react-devtools
@tanstack/solid-devtools
@tanstack/svelte-devtools
@tanstack/vue-devtools
commit: |
The accessibility plugin docs show
createA11yPlugin, but@tanstack/devtools-a11ydoes not export it. This PR corrects the page so that every snippet uses an API that the package really exports.🎯 Changes
createA11yPlugin({ threshold, ruleSet, ... }). No helper takes options. The section now describes the panel's Settings view and thelocalStoragekey.@tanstack/devtools-a11y/vue, which does not exist. It is now Quick Start (Angular), based onexamples/angular/a11y-devtools.exportToJSONandexportToCSVfrom the package root. The root is not exported, and the helpers are internal. The section now points to the Export JSON and Export CSV buttons.excludeSelectorsoption that does not exist.✅ Checklist
pnpm test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Testing
Commands run
prettier --check docs/plugins/a11y.md: pass.packages/devtools-a11y/package.jsonexports and thereact,solid, andangularentry files.Manual test
docs/plugins/a11y.md.exportsofpackages/devtools-a11y/package.json.How this PR makes testing easy
Docs only. The Angular snippet matches
examples/angular/a11y-devtools/src/app/app.ts.Linked issues
Fixes #422
Risk / rollback
None. Docs only. To undo, revert this PR.
🤖 Generated with Claude Code