From 0e224aa70598433ce2dccb0a669b8b4e497978dc Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Fri, 29 May 2026 12:35:57 -0400 Subject: [PATCH] fix(web): remove slug field from automation edit page The slug cannot be changed after creation, so showing it as a read-only row on the edit page added noise without value. Keep the editable slug input on the create page. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../app/components/automation-form.tsx | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/apps/fabro-web/app/components/automation-form.tsx b/apps/fabro-web/app/components/automation-form.tsx index d2c820e30..5f79f4a78 100644 --- a/apps/fabro-web/app/components/automation-form.tsx +++ b/apps/fabro-web/app/components/automation-form.tsx @@ -153,22 +153,16 @@ export function AutomationFormFields({ className={INPUT_CLASS} /> - Slug} - help={ - lockIdAndTarget ? ( - "The slug cannot be changed after creation." - ) : ( + {lockIdAndTarget ? null : ( + Slug} + help={ <> Identifier used in the URL:{" "} /automations/{values.id || ""} - ) - } - > - {lockIdAndTarget ? ( -
{values.id}
- ) : ( + } + > - )} -
+
+ )} Description} help="A short summary teammates will see when browsing automations.">