feat: add JSON editor for config
- Add a JSON editor using Monaco Editor to allow raw editing of the configuration. - The editor is presented as a full-screen dialog that slides up from the bottom. - Includes 'Save' and 'Save and Restart' functionality with internationalized labels and toast notifications for success/failure. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -87,5 +87,13 @@
|
||||
"selectModel": "Select a model...",
|
||||
"searchModel": "Search model...",
|
||||
"noModelFound": "No model found."
|
||||
},
|
||||
"json_editor": {
|
||||
"title": "JSON Editor",
|
||||
"save": "Save",
|
||||
"saving": "Saving...",
|
||||
"cancel": "Cancel",
|
||||
"save_failed": "Failed to save config",
|
||||
"save_and_restart": "Save & Restart"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user