From ea2a053403c56997b8b80bec4b789646b66bfba5 Mon Sep 17 00:00:00 2001 From: Gabriel Gordon-Hall Date: Mon, 12 Jan 2026 12:55:43 +0000 Subject: [PATCH] I've made both changes: (#1962) 1. **Moved the Dev Server Script input** to be the first field in the Scripts & Configuration section (in `ReposSettings.tsx`) 2. **Updated the section description** in the English locale to mention "dev server" scripts: the description now reads "Configure dev server, setup, cleanup, and copy files for this repository..." --- frontend/src/i18n/locales/en/settings.json | 2 +- frontend/src/pages/settings/ReposSettings.tsx | 42 +++++++++---------- 2 files changed, 22 insertions(+), 22 deletions(-) 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 ? (