()
| 213 | }; |
| 214 | |
| 215 | const openAddDialog = () => { |
| 216 | setEditingScriptId(null); |
| 217 | setName(""); |
| 218 | setCommand(""); |
| 219 | setIcon("play"); |
| 220 | setIconPickerOpen(false); |
| 221 | setRunOnWorktreeCreate(false); |
| 222 | setKeybinding(""); |
| 223 | setPreviewUrl(""); |
| 224 | setAutoOpenPreview(false); |
| 225 | setValidationError(null); |
| 226 | setDialogOpen(true); |
| 227 | }; |
| 228 | |
| 229 | const openEditDialog = (script: ProjectScript) => { |
| 230 | setEditingScriptId(script.id); |
nothing calls this directly
no outgoing calls
no test coverage detected