MCPcopy Create free account
hub / github.com/pingdotgg/t3code / openAddDialog

Function openAddDialog

apps/web/src/components/ProjectScriptsControl.tsx:215–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected