Skip to content

fix: stale primaryColor JSDoc default; deprecate audioLevel - #19

Open
kolchinski wants to merge 1 commit into
mainfrom
fix/stale-jsdoc-and-audiolevel-deprecation
Open

kolchinski wants to merge 1 commit into
mainfrom
fix/stale-jsdoc-and-audiolevel-deprecation

Conversation

@kolchinski

Copy link
Copy Markdown
Member

Two developer-experience fixes flagged by the 2026-07-16 docs audit in the main repo:

  • primaryColor JSDoc claimed a #6366f1 indigo default; the runtime default is #000000 light / #ffffff dark (ThunderPhoneWidget.tsx). The stale hint ships in the published .d.ts and misled the docs site.
  • audioLevel is hardcoded 0 and never updates — now carries @deprecated pointing at audioLevelRef.

Merging cuts a patch release through the Azure CDN pipeline (fixed in May, PR #17) — a good end-to-end exercise after today's CDN content restoration. Context: docs/agent/widget-cdn-and-embed.md in the main repo.

🤖 Generated with Claude Code

The published .d.ts told IDEs primaryColor defaults to indigo #6366f1;
the runtime default has been #000000 (light) / #ffffff (dark) since the
theme rework — this stale hint is what seeded the docs-site error.
audioLevel is hardcoded to 0 and never updates; the @deprecated tag makes
IDEs strike it through and steer integrators to audioLevelRef.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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