Skip to main content

Persistent minimizable chatbot session

Generated from pattern-library/registry.json — do not edit by hand; change the registry and run bun run patterns:build.

Index card — the docs below are the canonical explanation; deep-tier pattern pages additionally carry invariants and emulation notes.

Category: AI · Tier: light · Maturity: proven (verified 2026-08-20 @ 1a130d67) · Risk: low — client-side state only, no external calls

A client-side Svelte state machine keeps Vely's conversation alive across page navigation, minimizing the panel instead of closing it when the user follows a link.

When to use: Use when a floating chat widget must survive route changes and reloads without losing the live thread.

Docs

Code

  • src/lib/state/chatbot-session.svelte.ts (GitHub · GitLab)

Proof


Machine-readable record: ai-chatbot-session in pattern-library/registry.json.

← Back to Pattern Library

Think this pattern could be better? Tell us how.

Leave feedback