дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 17:47:08 +02:00
Plugin API 1.21 adds optional settings schema fields: presentation (select, radio, segmented, slider, color, checkbox-list), enumOptions (label, description, icon per enum value), minimum / maximum / step, and when conditions on another setting of the page. New src/ui primitives RadioGroup, SegmentedControl, CheckboxGroup, Slider and ColorInput. Schemas that use none of them render as before; manifests admitting an older API keep ignoring JSON Schema bounds. Review changes: the fields are gated on API 1.21 (1.20 shipped in 0.1.57), and the colour swatch fill is stretched inside its button. Part of #7688. Co-authored-by: Bruno0416 <[email protected]>
10 рядки
405 B
TOML
10 рядки
405 B
TOML
id = "settings-controls"
|
|
name = "Settings Controls"
|
|
version = "0.1.0"
|
|
description = "Test fixture for the settings controls of API 1.21: radio, segmented, slider, colour and checkbox-list settings, labelled enum options with icons, and settings shown only for some values of another, no code."
|
|
engines.openidea = "^1.21"
|
|
|
|
[contributes.settings]
|
|
title = "Settings Controls"
|
|
schema = "settings.schema.json"
|