Skip to content

feat(qwik): major expansion + Angular in getting-started guide#342

Open
vamgan wants to merge 1 commit into
mainfrom
claude/qwik-expansion-and-docs
Open

feat(qwik): major expansion + Angular in getting-started guide#342
vamgan wants to merge 1 commit into
mainfrom
claude/qwik-expansion-and-docs

Conversation

@vamgan

@vamgan vamgan commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • @askable-ui/qwik goes from 2 hooks to 15+ — adds sources, streaming, chat, and history so Qwik apps have the same core capabilities as React/Vue/Svelte.
  • Global context cachinguseAskable now shares a single context instance per key (matching React/Solid behaviour) so all source hooks in the same page read from the same focus stream without requiring manual ctx passing.
  • Getting-started guide — Angular install/annotate/observe tabs added alongside React/Vue/Svelte.
  • Docs homepage features — framework list updated to name all six frameworks (React, Vue, Svelte, Angular, SolidJS, Qwik) plus React Native.

New Qwik hooks

Hook Description
useAskableSource Base source registration on the shared context
useAskableStream Streaming LLM responses with reactive content/status signals
useAskableChat Multi-turn chat — injects UI context on every turn automatically
useAskableHistory Focus history with deduplication and configurable depth
useAskablePageSource Document title, URL, headings, optional links
useAskableNavigationSource Route history
useAskableFormSource Form field values and validation state
useAskableTableSource Data grid rows, columns, filters, selection
useAskableUserSource Authenticated user identity
useAskableErrorSource Recent application errors
useAskableNotificationSource Active toasts and alerts with push/dismiss/clear
useAskableCartSource Shopping cart with add/remove/updateQuantity/setTotals/clearCart
useAskableMultistepSource Wizard/stepper with next/prev/goTo/setSteps

All source hooks use useVisibleTask$ for browser-only registration and return Qwik useSignal values for reactive rendering.

Test plan

  • cd packages/qwik && npm run build — tsc should compile without errors
  • CI typecheck-and-build passes
  • Getting-started guide renders Angular tabs correctly at /guide/getting-started
  • Docs homepage features card shows correct framework list

Generated by Claude Code

Brings @askable-ui/qwik from 2 hooks to 15+:

New hooks:
- useAskableSource — base source registration with useVisibleTask$ lifecycle
- useAskableStream — streaming LLM responses with reactive signals
- useAskableChat — multi-turn chat with automatic context injection
- useAskableHistory — focus history with deduplication
- useAskablePageSource — document title, URL, headings
- useAskableNavigationSource — route history
- useAskableFormSource — form field values and validation
- useAskableTableSource — data grid rows/columns/selection
- useAskableUserSource — authenticated user identity
- useAskableErrorSource — recent application errors
- useAskableNotificationSource — active toasts and alerts
- useAskableCartSource — shopping cart with add/remove/update
- useAskableMultistepSource — wizard/stepper progress

useAskable updated to share a global context cache by key (matching
React/Solid behaviour) so all hooks in the same page use the same context.
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
askable Error Error Jun 14, 2026 6:20pm

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.

2 participants