fix(webui): keep edit diffs visible and distinguish file creation (#6049)
This commit is contained in:
1 parent
acdae3d0ae
commit
ed022e447f
17 files changed
+181
-36
No files matched your search
@@ -155,6 +155,7 @@ function fileEditAction(
|
||||
const deleting = edit.operation === "delete";
|
||||
if (failed) return t(`message.agentActivity.${deleting ? "deleteFileFailed" : "editFileFailedShort"}`);
|
||||
if (editing) return t(`message.agentActivity.${deleting ? "deletingFile" : "editingFileShort"}`);
|
||||
if (edit.operation === "create") return t("message.agentActivity.createdFile");
|
||||
return t(`message.agentActivity.${deleting ? "deletedFile" : "editedFileShort"}`);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user