diff --git a/AppImage/components/notification-settings.tsx b/AppImage/components/notification-settings.tsx index e098dd24..7a0bfaf1 100644 --- a/AppImage/components/notification-settings.tsx +++ b/AppImage/components/notification-settings.tsx @@ -1698,60 +1698,61 @@ export function NotificationSettings() { )} - {/* Language selector */} + {/* Prompt Mode section */}
- - + +
- {/* Prompt Mode section */} -
-
-
- - + {/* Default mode options: Language and Detail Level per Channel */} + {(config.ai_prompt_mode || "default") === "default" && ( +
+ {/* Language selector - only for default mode */} +
+
+ + +
+
- -
- - {/* Default mode: Detail Level per Channel */} - {(config.ai_prompt_mode || "default") === "default" && ( + + {/* Detail Level per Channel */}
@@ -1786,12 +1787,12 @@ export function NotificationSettings() { AI translates and formats notifications to your selected language. Each channel can have different detail levels.

-
- )} - - {/* Custom mode: Editable prompt textarea */} - {config.ai_prompt_mode === "custom" && ( -
+
+ )} + + {/* Custom mode: Editable prompt textarea */} + {config.ai_prompt_mode === "custom" && ( +
@@ -1895,10 +1896,9 @@ export function NotificationSettings() {

Define your own prompt rules and format. You control the detail level and style of all notifications. Export to share with others or import prompts from the community.

-
- )} -
+
+ )} {/* Test Connection button - moved to end */}
@@ -2136,6 +2136,10 @@ export function NotificationSettings() { 3. The prompt receives raw Proxmox event data as input +
  • + 4. + Define the output language in your prompt (the Language selector only applies to Default mode) +