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

Draft
wants to merge 54 commits into
base: hc/ai-flow-chat
Choose a base branch
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: 3ce1f89
Status: ✅  Deploy successful!
Preview URL: https://d3db7c42.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 2 times, most recently from ac2df4a to e906297 Compare May 30, 2025 09:45
diegoimbert and others added 22 commits June 2, 2025 09:56
* chore(main): release 1.493.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <[email protected]>
* Allways use custom label for triggers

* Add default path name for new schedule

* Improve warning message

* Add confirmation modal for deleting triggers
* chore(main): release 1.493.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <[email protected]>
* chore(main): release 1.493.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <[email protected]>
* feat: add skip_email option to user creation endpoint

- Added optional skip_email field to NewUser struct in users.rs
- Added send_email_if_possible_with_skip function in users_ee.rs
- Updated user creation flow to support conditionally skipping email notifications
- Addresses issue #5823 requested by @alpetric

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

Co-authored-by: rubenfiszel <[email protected]>

* feat: add skip_email parameter to user creation endpoint OpenAPI spec

Add optional skip_email boolean parameter to the /users/create endpoint
schema to match the backend implementation that was added for skipping
email notifications during user creation.

Co-authored-by: alpetric <[email protected]>

* revert users_ee

* ee repo ref

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: rubenfiszel <[email protected]>
Co-authored-by: alpetric <[email protected]>
Co-authored-by: Alex Petric <[email protected]>
* small claude improv

* simpler rules system

* fix install command
* chore(main): release 1.493.3

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <[email protected]>
* chore(main): release 1.493.4

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <[email protected]>
@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
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.

[AI] Changes requested
6 participants