diff --git a/apps/web/src/components/features/config-profiles/ConfigProfileEditorPanel.tsx b/apps/web/src/components/features/config-profiles/ConfigProfileEditorPanel.tsx index 974d99a..e4480d4 100644 --- a/apps/web/src/components/features/config-profiles/ConfigProfileEditorPanel.tsx +++ b/apps/web/src/components/features/config-profiles/ConfigProfileEditorPanel.tsx @@ -86,24 +86,24 @@ export const ConfigProfileEditorPanel = ({ const hasSelection = isCreating || selectedProfile; return ( -
+
{!hasSelection ? ( -
-
+
+
-

Select a config profile

-

Choose a profile from the list to edit, or create a new one.

+

Select a config profile

+

Choose a profile from the list to edit, or create a new one.

) : ( -
-
+
+
-

+

{isCreating ? "Create Profile" : selectedProfile?.name}

{!isCreating && selectedProfile && ( -

+

{selectedProfile.project_id && `Project: ${projects.find((p) => p.id === selectedProfile.project_id)?.name || selectedProfile.project_id}`} {selectedProfile.project_id && selectedProfile.tool_type_id && " · "} @@ -113,8 +113,8 @@ export const ConfigProfileEditorPanel = ({ )}

{!isCreating && selectedProfile && ( -
-
- {error &&
{error}
} + {error &&
{error}
} {saveStatus === "saved" && ( -
+
Profile saved successfully
)} -
+
onFormChange("name", e.target.value)} placeholder="e.g., Development Environment" className="form-input" required /> @@ -145,8 +145,8 @@ export const ConfigProfileEditorPanel = ({ onFormChange("description", e.target.value || undefined)} placeholder="Optional description" className="form-input" />
-
-
+
+
-
+
{ if (e.target.value) { onAddInclude(e.target.value); e.target.value = ""; } }} className="form-input"> {availableProfiles.map((p) => ( @@ -217,11 +219,11 @@ export const ConfigProfileEditorPanel = ({
-

Environment Variables

+

Environment Variables

{Object.entries(formData.env_vars || {}).map(([key, value], idx) => ( -
- onUpdateEnvVar(key, e.target.value, value)} placeholder="VAR_NAME" className="form-input" style={{ flex: 1 }} /> - onUpdateEnvVar(key, key, e.target.value)} placeholder="value" className="form-input" style={{ flex: 1 }} /> +
+ onUpdateEnvVar(key, e.target.value, value)} placeholder="VAR_NAME" className="form-input" /> + onUpdateEnvVar(key, key, e.target.value)} placeholder="value" className="form-input" />
))} @@ -229,47 +231,47 @@ export const ConfigProfileEditorPanel = ({
-

Runtime Hints

-