Skip to content

Feature: Add pql-powered bot #188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Conversation

robertjdominguez
Copy link
Collaborator

@robertjdominguez robertjdominguez commented Aug 1, 2025

Description 📝

  • Added new Bot component directory with TypeScript exports
  • Provides ChatWidget component and context provider
  • Establishes foundation for chat functionality integration

Previously, there was no centralized chat widget system in the codebase. The application lacked a reusable chat interface component that could be easily integrated across different parts of the system.

Now we have a proper Bot component architecture that exports three key pieces: the main ChatWidget component for rendering chat interfaces, a ChatWidgetProvider with its corresponding hook for state management, and TypeScript definitions for configuration and messaging.

This modular approach means we can drop chat functionality anywhere in the app without reinventing the wheel each time. The context provider pattern ensures consistent state management across chat instances, while the typed interfaces give us proper IntelliSense and compile-time safety for chat configurations and message handling.

Quick Links 🚀

Index

@hasura-bot
Copy link
Collaborator

@robertjdominguez Thanks for your PR! I've assigned @robertjdominguez to review it.

Copy link

cloudflare-workers-and-pages bot commented Aug 1, 2025

Deploying promptql-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: ef63b44
Status: ✅  Deploy successful!
Preview URL: https://d4dc9582.promptql-docs.pages.dev
Branch Preview URL: https://rob-experiment-bot.promptql-docs.pages.dev

View logs

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