You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit acfcd09
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/api/openapi.json
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3287,6 +3287,14 @@
3287
3287
"default": false,
3288
3288
"description": "Widens a required filter's block to every tile on the dashboard. False\n(the default) blocks only the tiles that read the filter: those\nreferencing its variableName, and those its broadcast applies to.\nIgnored unless minSelections is 1.\n",
3289
3289
"example": true
3290
+
},
3291
+
"maxSelections": {
3292
+
"type": "integer",
3293
+
"enum": [
3294
+
1
3295
+
],
3296
+
"description": "Maximum number of values that can be selected at once. Set to 1 to make\nthe filter single-select. Omit the field for the default multi-select\nbehavior.\n",
3297
+
"example": 1
3290
3298
}
3291
3299
}
3292
3300
},
@@ -3369,6 +3377,14 @@
3369
3377
"default": false,
3370
3378
"description": "Widens a required filter's block to every tile on the dashboard. False\n(the default) blocks only the tiles that read the filter: those\nreferencing its variableName, and those its broadcast applies to.\nIgnored unless minSelections is 1.\n",
3371
3379
"example": true
3380
+
},
3381
+
"maxSelections": {
3382
+
"type": "integer",
3383
+
"enum": [
3384
+
1
3385
+
],
3386
+
"description": "Maximum number of values that can be selected at once. Set to 1 to make\nthe filter single-select. Omit the field for the default multi-select\nbehavior.\n",
3387
+
"example": 1
3372
3388
}
3373
3389
}
3374
3390
},
@@ -3454,6 +3470,14 @@
3454
3470
"default": false,
3455
3471
"description": "Widens a required filter's block to every tile on the dashboard. False\n(the default) blocks only the tiles that read the filter: those\nreferencing its variableName, and those its broadcast applies to.\nIgnored unless minSelections is 1.\n",
3456
3472
"example": true
3473
+
},
3474
+
"maxSelections": {
3475
+
"type": "integer",
3476
+
"enum": [
3477
+
1
3478
+
],
3479
+
"description": "Maximum number of values that can be selected at once. Set to 1 to make\nthe filter single-select. Omit the field for the default multi-select\nbehavior.\n",
Copy file name to clipboardExpand all lines: packages/api/src/mcp/prompts/dashboards/content.ts
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,8 @@ Apply these before calling clickstack_save_dashboard. Each rule is enforced by t
116
116
117
117
9e. MAKE A FILTER REQUIRED ONLY WHEN AN UNSCOPED VIEW IS MEANINGLESS. minSelections: 1 blocks the tiles that read the filter - the ones referencing its $variableName, and the ones its broadcast applies to - until the user picks a value. isGlobalRequirement: true widens that to every tile on the dashboard. Consider pairing either form with savedFilterValues so the dashboard opens on a sensible default rather than blocked.
118
118
119
+
9f. MAKE A FILTER SINGLE-SELECT WHEN A TILE ONLY MAKES SENSE FOR ONE VALUE. maxSelections: 1 limits the dropdown to one value at a time, for example a host picker feeding a per-host detail view.
120
+
119
121
10. UPDATE IS REPLACE, NOT MERGE. clickstack_save_dashboard with an id overwrites tiles, containers, and filters in their entirety. Call clickstack_get_dashboard first when you only want to add or rename one entry; do not send a partial set or you will silently drop everything you omitted.
120
122
121
123
11. GROUP RELATED TILES INTO CONTAINERS. REQUIRED at five or more tiles, no exceptions. An ungrouped wall of nine or ten tiles is a readability failure even when each tile is correct in isolation. Containers are the right way to introduce structure; markdown tiles for section labels are not.
0 commit comments