Skip to content

Updating Hey-Ozwell Documentation - #312

Merged
garrity-miepub merged 7 commits into
mieweb:mainfrom
jlocala1:docs/hey-ozwell-docs
Aug 4, 2026
Merged

Updating Hey-Ozwell Documentation#312
garrity-miepub merged 7 commits into
mieweb:mainfrom
jlocala1:docs/hey-ozwell-docs

Conversation

@jlocala1

Copy link
Copy Markdown
Collaborator

Docs-only — no component code changed.

  • Rewrites the Hey Ozwell Overview into full integration docs: quick start
    (drop-in + headless hook), the activation flow, options reference, Visit
    Scribe, a "what runs where" architecture breakdown (AudioWorklet / main
    thread / Web Worker / network), model caching + hosting overrides, backend
    wiring, and troubleshooting.
  • Embeds an 80-second video walkthrough — the first video in the library's
    docs — with a plain-link fallback for environments that block iframes:
    https://www.youtube.com/shorts/hQBGofjXqmg
  • Enables autodocs on the six product-facing voice story files so each
    surface gets the standard generated props page, matching the rest of the
    library.

Note from writing these: markdown pipe tables render as raw text in our
Storybook (no remark-gfm configured), so these docs use lists instead.
Happy to do a follow-up PR adding remark-gfm — it would also fix the
tables in Introduction.mdx.

jlocala1 added 3 commits July 15, 2026 12:46
…ce stories

The Overview predated most of what shipped; other components get rich
auto-generated docs pages via autodocs, which the Hey Ozwell stories never
enabled. This brings the voice docs in line with the rest of the library:

- HeyOzwell.mdx rewritten as the flagship overview: quick start (drop-in +
  headless hook), the activation flow as the user experiences it, a full
  options table, Visit Scribe, a "what runs where" architecture table
  (AudioWorklet / main thread / Web Worker / network), models-caching-hosting
  table with the runtime overrides, backend integration seams (onSend /
  ozwellConfig / Ollama sentinel / proxy note), and a troubleshooting section
  (mic permission, first-load download, strict-CSP worker-src, doctor-gate
  tuning, benign ORT warnings).
- tags: ['autodocs'] on the six product-facing story files (+ component on
  Demo and Hands-Free Chat) so each surface gets the standard generated docs
  page with props tables from the existing JSDoc. The Speaker Verify dev
  diagnostic intentionally stays autodocs-free.

Docs-only; no component code changed. Verified: storybook serves all 7 docs
pages, story tests 11/11, prettier/tsc/eslint clean.
… storybook), drop mid-sentence em dashes

Pipe tables render as raw text in this Storybook's MDX (remark-gfm is not
configured), so the options / architecture / hosting tables are now bulleted
lists that render everywhere. Also reworded to remove mid-sentence em dashes.
First video embed in the library's docs: an 80s walkthrough of activation,
dictation during model load, on-device transcription, the voice stop phrase,
Visit Scribe diarization, and the one-line integration. Plain YouTube link
included as a fallback for environments that block the iframe.
Copilot AI review requested due to automatic review settings July 16, 2026 16:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Expands the Hey Ozwell Storybook documentation from a short overview into integration-focused docs, and aligns the Hey Ozwell Storybook stories with the library’s autodocs pattern so consumers get generated docs pages for the voice surfaces.

Changes:

  • Rewrites HeyOzwell.mdx into end-to-end integration docs (quick start, flow, options, architecture, hosting/caching, backend wiring, troubleshooting) and embeds a video walkthrough with a link fallback.
  • Enables Storybook autodocs on the Hey Ozwell product-facing story files.
  • Adds missing component metadata where needed for autodocs generation.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/components/AI/HeyOzwell/WakeWord/WakeWord.stories.tsx Enables autodocs for the Wake Word story.
src/components/AI/HeyOzwell/VoiceSetup.stories.tsx Enables autodocs for Voice Setup story docs page generation.
src/components/AI/HeyOzwell/VoiceManager.stories.tsx Enables autodocs for Voice Manager story docs page generation.
src/components/AI/HeyOzwell/VisitScribe.stories.tsx Enables autodocs for Visit Scribe story docs page generation.
src/components/AI/HeyOzwell/HeyOzwell.stories.tsx Enables autodocs and provides component for generated docs/props.
src/components/AI/HeyOzwell/HeyOzwell.mdx Replaces the overview with full integration/architecture/troubleshooting documentation and adds a video embed.
src/components/AI/HeyOzwell/HandsFreeChat.stories.tsx Enables autodocs and provides component for generated docs/props.

Comment thread src/components/AI/HeyOzwell/HeyOzwell.mdx Outdated
Comment thread src/components/AI/HeyOzwell/HeyOzwell.mdx
Comment thread src/components/AI/HeyOzwell/WakeWord/WakeWord.stories.tsx Outdated
Copilot AI review requested due to automatic review settings August 3, 2026 19:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.

Suppressed comments (1)

src/components/AI/HeyOzwell/WakeWord/WakeWord.stories.tsx:20

  • tags: ['autodocs'] is enabled, but the story meta doesn’t specify a component (and is typed as plain Meta). With autodocs this usually means no generated props table (and can produce warnings), which undermines the goal of enabling standard generated props pages for these stories. Point autodocs at the demo component in this file (or remove autodocs if this story is intentionally hook-only).
const meta: Meta = {
  title: 'Product/Feature Modules/AI/Hey Ozwell/Wake Word',
  tags: ['autodocs'],
  parameters: {
    layout: 'centered',

…lare the wake-word component

Review findings:

- The intro said the assistant's text reply was the only network
  dependency, which skipped the first-load model download and the opt-in
  `transcription="server"` path that does send audio off the device.
  Both are stated up front now, and the "only network stage" line in the
  architecture list carries the same caveat.
- The YouTube embed loaded eagerly whenever the docs page rendered, so
  every reader paid for a third-party request even without scrolling to
  it. `loading="lazy"` defers it.
- Wake Word was the one autodocs page without `meta.component`, so it
  generated no props table. It declares `WakeWordDemo` now, matching the
  other five voice stories.
@jlocala1
jlocala1 force-pushed the docs/hey-ozwell-docs branch from 1505937 to 7a4fbb2 Compare August 3, 2026 19:54
Copilot AI review requested due to automatic review settings August 3, 2026 19:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings August 3, 2026 22:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.

Suppressed comments (1)

src/components/AI/HeyOzwell/HeyOzwell.mdx:165

  • ozwellChat.ts and other docs read the config via localStorage.getItem('ozwellConfig') / localStorage['ozwellConfig']. Using localStorage.ozwellConfig here is inconsistent and can be confusing for readers trying to follow the working code path.
- **`ozwellConfig`**: leave `onSend` off and the built-in client streams from
  any OpenAI-compatible endpoint. Configure via `localStorage.ozwellConfig`
  or `window.__ozwell` with `{ apiKey, baseURL, model, system, temperature }`.
  The sentinel `apiKey: 'ollama'` targets a local Ollama server (no auth

@garrity-miepub
garrity-miepub self-requested a review August 4, 2026 00:23
Copilot AI review requested due to automatic review settings August 4, 2026 00:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.

@garrity-miepub garrity-miepub left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the docs against the source. All documented props match useHeyOzwell.ts, the referenced deep-docs exist, and the reworded "on-device by default" framing is more honest and more useful than before. All three Copilot threads addressed with real fixes, CI fully green, branch current with main.

The 80-second video is a great touch. Approving!! 🐙

@garrity-miepub
garrity-miepub merged commit b61524f into mieweb:main Aug 4, 2026
8 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.

3 participants