Discovery¶
Keys inside plugin.json's filters[], sorts[] and columns[] arrays. See Filters and sorts, List columns and Group by and Appearance and theme tokens.
filters[].id¶
Unique filter preset identifier within the plugin.
filters[].label¶
Human-readable label shown in the Filter bar's Presets menu.
filters[].query¶
Curio query language expression applied when the filter preset is active (for example "prompt IS NOT EMPTY AND steps >= 20").
sorts[].label¶
Display label shown in the toolbar Layout › Sort by menu. If the backing field is currently switched off (indexed: false), Curio keeps the entry visible with a "(not indexed)" suffix so users know why it is inactive.
sorts[].field¶
Custom field key from fields[] to sort by (for example "model_triangles" or "read_progress"). Only single-value sortable field types (text, integer, float, boolean, date, datetime, single_select, url, file_ref) produce a sort order.
columns[].id¶
Unique List view column identifier within the plugin.
columns[].label¶
Column header label shown in List view and in the column visibility picker.
columns[].render¶
Built-in custom cell renderer name. Currently the only supported value is "font", which renders the window's live font sample string using each font item's typeface and enables the fontsample toolbar input.
columns[].width¶
Initial column width in pixels in List view (defaults to 300 when omitted).
columns[].kinds¶
Item kinds that this custom column draws for (for example ["font"]). Cells for other kinds stay blank.
Example¶
{
"filters": [
{ "id": "high-poly", "label": "High-poly meshes", "query": "model_triangles >= 100000" },
{ "id": "rigged", "label": "Rigged models", "query": "model_animations > 0" }
],
"sorts": [
{ "label": "Triangle count", "field": "model_triangles" }
],
"columns": [
{ "id": "font-specimen", "label": "Specimen", "render": "font", "width": 320, "kinds": ["font"] }
]
}