Add separate SVG response viewer

This commit is contained in:
Gregory Schier
2025-01-04 07:14:33 -08:00
parent 592c1228f1
commit 53f5ef3515
3 changed files with 20 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ export const WorkspaceActionsDropdown = memo(function WorkspaceActionsDropdown({
if (ops.length === 0) {
toast.show({
id: 'no-sync-changes',
message: 'No changes detected for sync',
message: 'No changes to sync',
});
return;
}
@@ -97,7 +97,7 @@ export const WorkspaceActionsDropdown = memo(function WorkspaceActionsDropdown({
await applySync(activeWorkspace, ops);
toast.show({
id: 'applied-sync-changes',
message: `Applied ${pluralizeCount('change', ops.length)}`,
message: `Wrote ${pluralizeCount('change', ops.length)}`,
});
return;
}
@@ -159,7 +159,7 @@ export const WorkspaceActionsDropdown = memo(function WorkspaceActionsDropdown({
await applySync(activeWorkspace, ops);
toast.show({
id: 'applied-confirmed-sync-changes',
message: `Applied ${pluralizeCount('change', ops.length)}`,
message: `Wrote ${pluralizeCount('change', ops.length)}`,
});
}
},