SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
refactor hotkey confirmation labels for clarity
Salman-Ahamed5f1c7d86a428
diff --git a/packages/app/src/builder-ui/workspace/hotkeys.ts b/packages/app/src/builder-ui/workspace/hotkeys.tsindex e3b4d424..4b1f7824 100644--- a/packages/app/src/builder-ui/workspace/hotkeys.ts+++ b/packages/app/src/builder-ui/workspace/hotkeys.ts@@ -27,7 +27,7 @@ export function registerHotkeys(workspace: Workspace) {const hotkey: any = hotkeys.noConflict();const deleteHotkeys = 'del, backspace';let deleteConfirmationActive = false; // Flag to prevent multiple modals-+// Initialize search functionalityconst searchHelper = CanvasSearchHelper.getInstance();try {@@ -91,8 +91,8 @@ export function registerHotkeys(workspace: Workspace) {`Are you sure you want to delete selected ${confirmText}?`,{icon: '',- btnNoLabel: 'No, Cancel',- btnYesLabel: "Yes, I'm sure",+ btnNoLabel: 'Cancel',+ btnYesLabel: `Delete ${confirmText}`,btnYesClass: 'bg-smyth-red-500 border-smyth-red-500',},);