feat: Refine trail category model (#1059)
* feat: advanced trail categories * rename remote_category * fix merge issues * subcategories for plugins mapping * fix refresh * remove vertical trail filter category scrolling * cleanup * add confirm modal for disabling a category * Fix federation issues * fix review findings * redesign category settings page * remove prio badge * fix subcategory badge layout * optimize subcategory settings layout * further settings page layout optimization * fix subcategory icon position * fix * update docs --------- Co-authored-by: Christian Beutel <>
This commit is contained in:
@@ -412,7 +412,17 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"categoryMapping": {
|
||||
"$ref": "#/definitions/stringMap"
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/categoryMappingTarget"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"connectors": {
|
||||
"type": "object",
|
||||
@@ -476,6 +486,18 @@
|
||||
"$ref": "#/definitions/stringMap"
|
||||
}
|
||||
}
|
||||
},
|
||||
"categoryMappingTarget": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"category": {
|
||||
"type": "string"
|
||||
},
|
||||
"subcategory": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user