Merged
Conversation
- Replaces the BotIcon with a SkeletonLoader component when the bot is loading to provide a better user experience. - Adds a new SkeletonLoader component with animated lines mimicking content loading. - Includes SkeletonLoader styles to all themes to match the design of each theme.
feat(ui): Implement skeleton loader for bot message loading state
- Implemented a download button in the bot message component to allow users to download the bot's response as a Markdown file. - Added a new component for the download button with loading state. - Created and utilities to handle the conversion and download process. - Refactored skeleton loader styles into a centralized module with theme presets for consistent UI. - Updated CSS to include styles for the download button and header button container.
feat(ui): Add download functionality for bot responses
- Replaces download functionality with a copy to clipboard feature for code blocks. - Implements a more robust copy mechanism with fallback for wider browser compatibility. - Adds visual feedback (Copied! message) on successful copy. - Introduces a wrapper for code blocks with language label and copy button. - Updates styles for improved user experience during copy operation.
feat(ui): Enhance code block copy functionality and UI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.