tweak wording to say Patched for ui rendered tool parts
parent
cfd6a7ae96
commit
8a6b8e5339
|
|
@ -1877,7 +1877,7 @@ function ApplyPatch(props: ToolProps<typeof ApplyPatchTool>) {
|
|||
if (file.type === "delete") return "# Deleted " + file.relativePath
|
||||
if (file.type === "add") return "# Created " + file.relativePath
|
||||
if (file.type === "move") return "# Moved " + normalizePath(file.filePath) + " → " + file.relativePath
|
||||
return "← Edit " + file.relativePath
|
||||
return "← Patched " + file.relativePath
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -1090,7 +1090,7 @@ ToolRegistry.register({
|
|||
</Match>
|
||||
<Match when={file.type === "update"}>
|
||||
<span data-slot="apply-patch-file-action" data-type="update">
|
||||
Edit
|
||||
Patched
|
||||
</span>
|
||||
</Match>
|
||||
</Switch>
|
||||
|
|
|
|||
Loading…
Reference in New Issue