-
Notifications
You must be signed in to change notification settings - Fork 614
Fixed: the edit mode not work good #596
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
Conversation
WalkthroughThe message editing logic in the user message component was updated to properly handle structured content formats, allowing edits to target specific text blocks within a message. The editing UI was improved with a wider textarea and new keyboard shortcuts for saving or canceling edits. Unused state management was cleaned up. Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (2)src/renderer/src/**/*Instructions used from: Sources:
src/renderer/**Instructions used from: Sources:
🧠 Learnings (2)📓 Common learningssrc/renderer/src/components/message/MessageItemUser.vue (3)🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Pull Request Description
Is your feature request related to a problem? Please describe.
fixed the issue: #577
when message.content.content is already exists, can't use message.content.text, you can find the preview mode in line 46-55, the other developer don't care the case when we in edit mode.
Describe the solution you'd like
UI/UX changes for Desktop Application
add the min width about the textarea, it has a min width now, and you can change the width which you design, i only do it with 40vw.
Platform Compatibility Notes
nothing to change.
i worked in windows.
Additional context
fixed the issue: #577
Summary by CodeRabbit