Skip to content

feat: Add global chat for navigation #5820

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

Closed
wants to merge 42 commits into from

Conversation

claude[bot]
Copy link
Contributor

@claude claude bot commented May 27, 2025

Summary

Implements a GlobalChat component that opens in a drawer, accessible from the left sidebar menu as requested in issue #5819.

Changes Made

New Components

  • GlobalChat.svelte - Main chat interface with placeholder AI functionality
  • GlobalChatDrawer.svelte - Drawer wrapper component using existing drawer system

Integration Points

  • Added "Global Chat" button to both desktop and mobile sidebar menus
  • Integrated drawer state management in main layout
  • Added proper imports for MessageCircle icon

Features Implemented

  • Chat Interface: Message history display with user/assistant message styling
  • Placeholder Logic: Simulated AI responses with realistic delays as requested
  • Drawer Behavior: Opens from right side, proper overlay and close functionality
  • Responsive Design: Works on both mobile and desktop
  • UI Features: Clear chat, loading states, proper message timestamps
  • Error Handling: Toast notifications for error cases

Technical Implementation

The implementation follows Windmill's existing patterns:

  • Uses the existing Drawer and DrawerContent components
  • Follows the same menu integration pattern as the search functionality
  • Implements proper state management with Svelte stores
  • Uses Tailwind CSS classes consistent with the rest of the application

Testing

The global chat can be accessed by clicking the "Global Chat" button in the left sidebar menu. It opens as a right-side drawer with placeholder functionality ready for future AI integration.

Fixes #5819

Generated with Claude Code

@claude claude bot mentioned this pull request May 27, 2025
@centdix centdix marked this pull request as draft May 27, 2025 09:11
Copy link

cloudflare-workers-and-pages bot commented May 27, 2025

Deploying windmill with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8185a08
Status: ✅  Deploy successful!
Preview URL: https://93c66b30.windmill.pages.dev
Branch Preview URL: https://claude-issue-5819-20250527-0.windmill.pages.dev

View logs

@centdix centdix force-pushed the claude/issue-5819-20250527_085532 branch from c3cda46 to 2cc8939 Compare May 28, 2025 09:20
@centdix centdix force-pushed the claude/issue-5819-20250527_085532 branch from ac2df4a to e906297 Compare May 30, 2025 09:45
@centdix centdix force-pushed the claude/issue-5819-20250527_085532 branch from e906297 to 3ce1f89 Compare June 2, 2025 11:49
@centdix centdix changed the base branch from main to hc/ai-flow-chat June 2, 2025 11:50
@centdix centdix changed the title [Claude PR] Add GlobalChat component with drawer functionality feat: Add global chat for navigation Jun 2, 2025
claude bot and others added 13 commits June 2, 2025 17:01
- Create GlobalChat.svelte with placeholder chat functionality
- Create GlobalChatDrawer.svelte as drawer wrapper
- Add global chat button to sidebar menu (both mobile and desktop)
- Integrate global chat state management in main layout
- Include message history, loading states, and error handling
- Implement responsive design and proper drawer behavior

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: rubenfiszel <[email protected]>
@centdix centdix force-pushed the claude/issue-5819-20250527_085532 branch from 1393ef5 to 8185a08 Compare June 2, 2025 15:08
Base automatically changed from hc/ai-flow-chat to main June 2, 2025 20:14
@centdix centdix closed this Jun 3, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jun 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[AI] Changes requested
2 participants