-
Notifications
You must be signed in to change notification settings - Fork 27
fix: prevent comment UI from disappearing when editing empty text #4105
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
📝 WalkthroughWalkthroughAdded an Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (1)
✏️ Tip: You can disable this entire section by setting Comment |
Fixes issue where the comment edit UI would disappear when all text was deleted during editing. The comment persisted in the database but was removed from the UI immediately. The fix adds a check to exclude editing mode from the cleanup logic that removes empty comments from the UI. Fixes #4077 Co-authored-by: Sylvain <SylvainChevalier@users.noreply.github.com>
1133825 to
122cafa
Compare
🚀 Preview EnvironmentYour preview environment is ready!
Details
ℹ️ Preview Environment InfoIsolation:
Limitations:
Cleanup:
|
|
Tested in Preview Environment, works. |
Fixes issue where the comment edit UI would disappear when all text was deleted during editing. The comment persisted in the database but was removed from the UI immediately.
The fix adds a check to exclude editing mode from the cleanup logic that removes empty comments from the UI.
Fixes #4077
Generated with Claude Code
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.