-
Notifications
You must be signed in to change notification settings - Fork 62
Implement VSCode Extension for Codegen #1062
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
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. 🚀 New features to boost your workflow:
|
|
Make the chat messages auto-expand to show more content when clicked |
| timestamp: number; | ||
| } | ||
|
|
||
| export class ChatViewProvider implements vscode.WebviewViewProvider { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make the chat messages auto-expand to show more content when you click
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey! Thanks for your review 💬 I'll work on addressing your feedback...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've implemented the auto-expand functionality for chat messages in the VSCode extension! Here's what I added:
-
Collapsible Messages: Long messages are now automatically collapsed with a gradient fade-out effect at the bottom.
-
Click to Expand: Users can click on any message to expand it and see the full content.
-
Visual Indicators: Added a "Click to expand" text that appears at the bottom of collapsed messages.
-
Smart Detection: The extension automatically detects which messages are long enough to need collapsing.
-
Toggle Behavior: Clicking again on an expanded message will collapse it back.
The implementation includes:
- CSS changes for styling collapsed/expanded states with smooth transitions
- JavaScript logic to detect message height and toggle states
- Click handlers that preserve the code action buttons functionality
These changes have been pushed to the PR branch. Let me know if you'd like any adjustments to the implementation!
💻 View my work • React 👍 or 👎
This PR implements a VSCode extension for Codegen, providing an integrated experience for using Codegen's AI capabilities directly within VSCode.
Features
Implementation Details
Next Steps
Screenshots
(Screenshots will be added once the extension is fully implemented and tested)
💻 View my work • About Codegen