Skip to content

Enhance Chat Widget Theme and Interactivity#75

Merged
amrabed merged 1 commit into
feat/ai-assistant-14015290105785623889from
feat/chat-widget-enhancements-7426053575652375185
Jun 8, 2026
Merged

Enhance Chat Widget Theme and Interactivity#75
amrabed merged 1 commit into
feat/ai-assistant-14015290105785623889from
feat/chat-widget-enhancements-7426053575652375185

Conversation

@google-labs-jules

Copy link
Copy Markdown
Contributor

Applied several enhancements to the AI chat widget:

  1. Theming: Replaced hardcoded teal colors with the site's primary theme color and added dark mode styling to the widget.
  2. Interactivity: Refactored message rendering to support AI SDK 6.0 parts. It now displays "Thinking" blocks for reasoning parts and text for text parts.
  3. UI Feedback: Improved the loading experience by adding a typing indicator inside the assistant's message bubble during streaming, and a standalone indicator for the initial submission state.
  4. Layout: Adjusted the scroll-to-top button position in globals.css to prevent it from overlapping with the chat widget toggle.
  5. Stability: Fixed a TypeScript error related to ReasoningUIPart and verified the build and linting pass.

PR created automatically by Jules for task 7426053575652375185 started by @amrabed

- Update ChatWidget colors to match site theme using `bg-primary`.
- Enhance message rendering to handle AI SDK 6.0 `parts`, including reasoning.
- Implement layered typing indicators for better user feedback during streaming.
- Reposition scroll-to-top button to avoid overlap with the chat widget.
- Ensure dark mode support for the chat widget container.
@google-labs-jules

Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@sonarqubecloud

sonarqubecloud Bot commented Jun 8, 2026

Copy link
Copy Markdown

@amrabed amrabed marked this pull request as ready for review June 8, 2026 02:56
@amrabed amrabed merged commit 82262bb into feat/ai-assistant-14015290105785623889 Jun 8, 2026
4 checks passed
@amrabed amrabed deleted the feat/chat-widget-enhancements-7426053575652375185 branch June 8, 2026 02:57
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.

1 participant