diff --git a/frontend/src/i18n/locales/en/settings.json b/frontend/src/i18n/locales/en/settings.json index fd1aee2d..6a31dd4f 100644 --- a/frontend/src/i18n/locales/en/settings.json +++ b/frontend/src/i18n/locales/en/settings.json @@ -367,7 +367,7 @@ }, "scripts": { "title": "Scripts & Configuration", - "description": "Configure setup, cleanup, and copy files for this repository. These scripts run whenever the repository is used in any workspace.", + "description": "Configure dev server, setup, cleanup, and copy files for this repository. These scripts run whenever the repository is used in any workspace.", "setup": { "label": "Setup Script", "helper": "This script runs from within the worktree after it's created and before the coding agent starts. Use it for setup tasks like installing dependencies or preparing the environment.", diff --git a/frontend/src/pages/settings/ReposSettings.tsx b/frontend/src/pages/settings/ReposSettings.tsx index d0945e09..ef242678 100644 --- a/frontend/src/pages/settings/ReposSettings.tsx +++ b/frontend/src/pages/settings/ReposSettings.tsx @@ -335,6 +335,27 @@ export function ReposSettings() { +
+ + + updateDraft({ + dev_server_script: e.target.value, + }) + } + placeholder={placeholders.dev} + maxRows={12} + className="w-full px-3 py-2 border border-input bg-background text-foreground rounded-md focus:outline-none focus:ring-2 focus:ring-ring font-mono" + /> +

+ {t('settings.repos.scripts.devServer.helper')} +

+
+
-
- - - updateDraft({ - dev_server_script: e.target.value, - }) - } - placeholder={placeholders.dev} - maxRows={12} - className="w-full px-3 py-2 border border-input bg-background text-foreground rounded-md focus:outline-none focus:ring-2 focus:ring-ring font-mono" - /> -

- {t('settings.repos.scripts.devServer.helper')} -

-
- {/* Save Buttons */}
{hasUnsavedChanges ? (