diff --git a/admin/src/App.css b/admin/src/App.css index e69de29bb2d..d9b4b0dc9d8 100644 --- a/admin/src/App.css +++ b/admin/src/App.css @@ -0,0 +1,20 @@ +/* Enhanced Admin Settings Editor Styles */ +.settings { + font-family: "Fira Code", "Cascadia Code", "Source Code Pro", monospace; + font-size: 14px; + white-space: pre; + overflow-wrap: normal; + overflow-x: auto; +} + +/* VS Code style focus ring requested by John */ +.settings:focus { + outline: 2px solid #007acc !important; + outline-offset: -1px; +} + +.settings-button-bar { + display: flex; + gap: 10px; + margin-top: 15px; +} diff --git a/admin/src/pages/SettingsPage.tsx b/admin/src/pages/SettingsPage.tsx index 6c2f9bf333c..acfac2d553d 100644 --- a/admin/src/pages/SettingsPage.tsx +++ b/admin/src/pages/SettingsPage.tsx @@ -1,50 +1,160 @@ -import {useStore} from "../store/store.ts"; -import {isJSONClean, cleanComments} from "../utils/utils.ts"; -import {Trans} from "react-i18next"; -import {IconButton} from "../components/IconButton.tsx"; -import {RotateCw, Save} from "lucide-react"; - -export const SettingsPage = ()=>{ - const settingsSocket = useStore(state=>state.settingsSocket) - const settings = cleanComments(useStore(state=>state.settings)) - - return
-

-