mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-08 17:02:17 +00:00
Closes #1720 Plugins can declare searchable multi-page settings (API 1.3): pages under the plugin in Settings, groups, string lists, editable tables and command buttons, while single-schema plugins keep working. A command button applies pending edits first and runs against the selected Global/Project layer (also remotely); Reset keeps other pages' edits, and invalid table/list edits never replace saved rows. Field and page order come from the schema without changing serde_json's map ordering elsewhere in the app. Co-authored-by: arnaud-ritti <[email protected]>
28 lines
521 B
TOML
28 lines
521 B
TOML
id = "settings-pages"
|
|
name = "Model Profiles"
|
|
version = "0.1.0"
|
|
engines.openidea = "^1.3"
|
|
wasm = "dist/plugin.wasm"
|
|
activation = ["on-command:*"]
|
|
|
|
[[contributes.commands]]
|
|
id = "test"
|
|
title = "Test model profile"
|
|
|
|
[contributes.settings]
|
|
title = "Model Profiles"
|
|
|
|
[[contributes.settings.pages]]
|
|
id = "templates"
|
|
title = "Commit Template"
|
|
schema = "templates.json"
|
|
|
|
[[contributes.settings.pages]]
|
|
id = "llm"
|
|
title = "LLM Settings"
|
|
schema = "llm.json"
|
|
|
|
[[contributes.settings.pages.actions]]
|
|
title = "Test"
|
|
command = "test"
|