From 51858dbf5d7dfc8cd8c6253bad96fb0bee8e7a95 Mon Sep 17 00:00:00 2001 From: Dayuan Jiang <34411969+DayuanJiang@users.noreply.github.com> Date: Thu, 25 Dec 2025 13:56:07 +0900 Subject: [PATCH] Add deprecation notice to Electron settings panel (#403) - Add warning banner to settings window HTML - Add CSS styling for deprecation notice (light/dark mode) - Direct users to use AI Model Configuration button in chat panel --- electron/settings/index.html | 6 ++++++ electron/settings/settings.css | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/electron/settings/index.html b/electron/settings/index.html index 9c91eb5..81ad8ff 100644 --- a/electron/settings/index.html +++ b/electron/settings/index.html @@ -9,6 +9,12 @@
+
+ ⚠️ Deprecation Notice +

This settings panel will be removed in a future update.

+

Please use the AI Model Configuration button (left of the Send button in the chat panel) to configure your AI providers. Your settings there will persist across updates.

+
+

Configuration Presets

diff --git a/electron/settings/settings.css b/electron/settings/settings.css index 8d4ee4a..32fbd18 100644 --- a/electron/settings/settings.css +++ b/electron/settings/settings.css @@ -24,6 +24,39 @@ } } +.deprecation-notice { + background-color: #fff3cd; + border: 1px solid #ffc107; + border-radius: 8px; + padding: 16px; + margin-bottom: 20px; +} + +.deprecation-notice strong { + color: #856404; + display: block; + margin-bottom: 8px; + font-size: 14px; +} + +.deprecation-notice p { + color: #856404; + font-size: 13px; + margin: 4px 0; +} + +@media (prefers-color-scheme: dark) { + .deprecation-notice { + background-color: #332701; + border-color: #665200; + } + + .deprecation-notice strong, + .deprecation-notice p { + color: #ffc107; + } +} + * { margin: 0; padding: 0;