-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
✨ feat: Introduce Canvas Feature for Enhanced Collaboration #9797
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: main
Are you sure you want to change the base?
Conversation
- Added a new Canvas component to facilitate collaborative document editing within the application. - Implemented Canvas prompts and state management to support real-time collaboration. - Updated various components and hooks to integrate Canvas functionality, including user interface elements for toggling Canvas visibility. - Enhanced localization with new keys related to Canvas features. - Updated package dependencies to include necessary libraries for Canvas functionality. This commit significantly enhances the user experience by allowing users to create and edit documents collaboratively, improving overall interaction within the application.
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.
ESLint found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
- Standardized string quotes from double to single across multiple files for consistency. - Removed unnecessary line breaks and whitespace in various sections to improve readability. - Updated comments and documentation to reflect the changes in formatting. - Ensured that all functions and parameters maintain a consistent style for better maintainability. These changes enhance the overall code quality and maintainability of the project.
920d327
to
5f906c7
Compare
@danny-avila I have fixed the ESLint issues and resolved the frontend build failures. Please run the checks again to verify. |
Thank you for your PR, it looks really great! I especially love the option of "Ask Librechat" when you highlight a text. Do you think you can transfer this to the normal chat, even if you have Canvas off? |
screen_recording_2025-09-22_at_2.35.57___pm.1.mp4
Summary
This PR introduces a comprehensive Canvas feature that enables collaborative document editing with AI assistance within LibreChat. The Canvas provides a rich text editing environment powered by ProseMirror, allowing users to create, edit, and collaborate on documents with real-time AI-powered assistance.
Key Features Implemented:
Change Type
Please delete any irrelevant options.
Testing
Please describe your test process and include instructions so that we can reproduce your test. If there are any important variables for your testing configuration, list them here.
Test Configuration:
Checklist
Please delete any irrelevant options.