You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!--
## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):
## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.
## How to test
Unit tests, playground, etc.
-->
<!-- start pr-codex -->
---
## PR-Codex overview
This PR primarily focuses on enhancing the chat functionality in the application by introducing a new `ChatButton` component, improving code structure, and refining the chat interface with better loading states and animations.
### Detailed summary
- Removed the `Button` component linking to `/chat` in favor of `ChatButton`.
- Introduced `ChatButton` component with modal functionality for the chat interface.
- Added a `QueryClientProvider` to manage chat state.
- Improved conditional rendering and loading states in chat messages.
- Enhanced CSS animations for chat components.
- Updated key usage in `CodeClient` mapping to ensure unique keys.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Introduced a new "Ask AI" button that opens a modal chat interface, accessible across the portal.
* The chat modal includes options to reset the conversation and close the modal, with a loading spinner for improved user experience.
* **Improvements**
* Enhanced chat interface with animated message appearance and a more precise scroll-to-latest-message effect.
* Updated code snippet rendering in authentication tabs to ensure unique keys for better performance and reliability.
* **Bug Fixes**
* Resolved potential issues with rendering multiple code snippets for the same platform by ensuring unique keys.
* **Refactor**
* Replaced previous "Ask AI" button implementations with the new unified ChatButton component for consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 commit comments