-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Message edit/delete overhaul #5538
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
✅ No security or compliance issues detected. Reviewed everything up to 7031254. Security Overview
Detected Code ChangesThe diff is too large to display a summary of code changes. Reply to this PR with |
Hey @liwilliam2021, I gave the implementation a try and noticed a couple of issues. It looks like editing a message and attaching a new image doesn’t work as expected right now. Also, I think we could simplify the UI a bit by removing the codebase indexing status indicator, and adjust the styles so the edit message text area feels more integrated. Right now it looks a bit like a box inside a box. Let me know if anything's unclear or if you’d like to talk through any of this. |
hmmm weird-- they seemed to work locally on my end? thanks for the feedback will check it out! |
Thanks @daniel-lxs -- those are great catches! I also removed the skip warning dialog option bc it will be replaced in the next PR anyways. |
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 think this is working correctly. I'll leave a few minor suggestions, but I think it's close to being done.
Four big changes (note this feature is still disabled until checkpoints are overhauled)
4. Added an option to stop showing edit/delete warningsPartially addresses #4703
Important
Overhauls message edit/delete functionality with custom modals, removes individual delete option, and updates edit interface to resemble chat area.
webviewMessageHandler.ts
.App.tsx
.DeleteMessageDialog
andEditMessageDialog
components inApp.tsx
.ClineProvider.spec.ts
to reflect new delete/edit behavior.ChatTextArea.spec.tsx
andEditModeControls.spec.tsx
.This description was created by
for cf53be7. You can customize this summary. It will automatically update as commits are pushed.