Files
deepseek-harness/apps/web
LegGasai afca6e729a fix(forge): remove saved comment cards from the changes view (#8653)
* fix(forge): remove saved comment cards from the changes view

A comment added to the main input left a card beside its code that the
reader could not remove, also after its code changed or its file left
the diff. The card's menu now offers Remove for a reference and for a
publication receipt; the notice that follows offers Undo, which puts the
card back at its place. Removing a card changes neither the main input
nor the code host.

The three browser-kept cards share the thread card's geometry and its
header menu. A browser draft's Edit and Delete move into the menu, its
deletion asks first, and its move into the pending review is named Start
review while the user has none, as the comment form names it. The card
title "Your comment" is gone: the header shows the lines and the state.

* fix(forge): keep a draft's Delete while it is edited and let the view name each notice's tone

A browser draft being edited hid its menu, so a draft whose text the
reader emptied could be neither finished nor deleted. The menu now stays
during editing and offers Delete, which asks first as before.

The changes view passed its notices to a per-mount function that chose
the tone from a list of keys and forwarded the undo action. A second
mount with its own copy of that function would show a removal as a
failure without Undo. The view now passes the tone and the undo action
with each notice, and the mount hands them to the notice store as given.
2026-11-18 03:28:36 +00:00
..
…