mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix(desktop): clarify saved-template delete confirmation copy
Title now names the template ("Delete Ned template?") and the body
spells out that only the saved template is removed — agents created
from it, and the agent it was saved from, are unaffected.
Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
This commit is contained in:
co-authored by
Taylor Ho
parent
e686f14407
commit
c192485e95
@@ -349,11 +349,14 @@ export function CreateAgentStartDialog({
|
||||
>
|
||||
<AlertDialogContent data-testid="create-agent-start-delete-dialog">
|
||||
<AlertDialogHeader>
|
||||
<AlertDialogTitle>Delete template?</AlertDialogTitle>
|
||||
<AlertDialogDescription>
|
||||
<AlertDialogTitle>
|
||||
{templateToDelete
|
||||
? `Delete "${templateToDelete.displayName}". Agents created from it are not affected, but this saved template will be removed from all your devices.`
|
||||
: "Delete this saved template."}
|
||||
? `Delete ${templateToDelete.displayName} template?`
|
||||
: "Delete template?"}
|
||||
</AlertDialogTitle>
|
||||
<AlertDialogDescription>
|
||||
This only deletes the saved template. Agents created from this
|
||||
template, and the agent it was saved from, won’t be affected.
|
||||
</AlertDialogDescription>
|
||||
</AlertDialogHeader>
|
||||
<AlertDialogFooter>
|
||||
|
||||
Reference in New Issue
Block a user