feat: Remove notifications when comments are added/edited/removed (#369)

* fix: remove comment toast notifications

Remove success toasts after updating a comment
Remove success toasts after saving a comment draft
Keep saving logic and line reset intact without toast feedback

* fix(ui): remove success toast on draft save

Remove success toast after saving a draft
Suppress toast when updating an existing draft

* fix(planview): suppress toast on save and reset state

Remove toast notification after saving or updating a draft
Clear comment input and line selection after commit
Preserve draft save/update logic without triggering toast
This commit is contained in:
Nelson Pires
2026-02-09 16:52:54 +02:00
committed by GitHub
parent 0de201e042
commit 3fff7a1475
3 changed files with 0 additions and 6 deletions
@@ -299,8 +299,6 @@ export const PierreDiffViewer: React.FC<PierreDiffViewerProps> = ({
setCommentText('');
setSelection(null);
setEditingDraftId(null);
toast.success(editingDraftId ? 'Comment updated' : 'Comment saved');
}, [selection, fileName, language, original, modified, addDraft, updateDraft, getSessionKey, editingDraftId]);