Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hey everyone — this post lays out where the Chat Widget project is headed. I'll keep it updated as priorities shift.

What is Chat Widget?

Chat Widget is an embeddable AI chat component for pmds.info and client sites. It's built as a React + TypeScript + Vite component library with a standalone embed script output (IIFE), powered by Cloudflare Workers and Claude on the backend. The goal is a drop-in chat experience that small business owners can add to their sites with a single script tag.

Current State

A prototype vanilla JS chat widget already exists on pmds.info. We're planning a full rebuild as a proper React component library with theming, accessibility, mobile responsiveness, and a standalone embed script for non-React sites. The repo is scaffolded and all issues are tracked for the v1.0.0 and v1.1.0 milestones.

v1.0.0 — Due June 30, 2026

The initial production release focuses on a solid, accessible, well-tested chat widget:

  • Project scaffolding with Vite + TypeScript + Tailwind + Vitest
    • ChatWidget root component with open/close state management
    • ChatMessage component with user/bot variants and markdown rendering
    • API client for Cloudflare Workers chat endpoint
    • Configuration and theming system with CSS custom properties (default PMDS theme)
    • Source and search results display component
    • Mobile responsive layout with full-screen bottom sheet
    • Standalone embed script build (IIFE output)
    • Accessibility: ARIA labels, focus trap, keyboard navigation, WCAG 2.1 AA
    • Session storage persistence for conversation history
    • XSS sanitization and input validation
    • Typing indicator and loading states
    • Unit and integration tests (Vitest + React Testing Library, 80%+ coverage)
    • E2E tests with Playwright
    • CI/CD pipeline (GitHub Actions — build, test, lint on push/PR)
    • README and comprehensive documentation
    • GitHub Discussions and issue/PR templates

v1.1.0 — Due September 30, 2026

The feature release expands into multi-tenant support and smarter engagement:

  • Multi-tenant client configuration and white-label packaging
    • Conversation analytics dashboard (message volume, common questions, response times)
    • Proactive greeting triggers (time on page, scroll depth, exit intent, URL patterns)

How to Get Involved

  • Check the Issues tab for open tasks
    • Share feature ideas in the Ideas discussion category
    • If you're building with the widget, post in Show and Tell
    • Track progress on the PMDS Open Source Roadmap project board
      This roadmap is a living document. If you think something is missing or should be prioritized differently, open a discussion or drop a comment here.
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.