docs: document dashboard stack containers - #11779
Conversation
Horizontal and vertical stack containers (CUB-4271) shipped as a new layout widget that groups other widgets along one axis, with a 4-level nesting limit and working controls inside. Rename the Spacer & Divider page to Layout widgets and add a Stack section. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016tvjJd9nhs2pffpqEwYXXw
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
Claude finished @keydunov's task in 1m 3s —— View job Docs review: solid, ships as-is — 3 low-severity nits (2 posted inline)Full review
What checks out
Findings
3 — Stack is a new child of Layout and belongs there. That file is the canonical naming source future doc work reads from, so leaving it out means the next person writing about this widget has no sanctioned term to reach for. One line: One thing I could not verifyThe "nested up to 4 levels deep" claim and the No tests, security, or performance surface — documentation-only change. |
| --- | ||
| title: Spacer & Divider | ||
| description: Non-data layout elements — a spacer for whitespace and a divider line — that help you structure a dashboard. | ||
| title: Layout widgets |
There was a problem hiding this comment.
Sibling pages in this group use bare nouns as titles — Charts, Text, Controls, AI summary. Layout widgets is the odd one out, and since the sidebar group is already Widgets, the suffix reads as redundant there. It also doesn't match the link text you used on the index page (- [Layout](...)).
| title: Layout widgets | |
| title: Layout |
| ## Styling | ||
|
|
||
| Both widgets follow the dashboard's [widget styling settings](/docs/explore-analyze/dashboards/styling): | ||
| The spacer and divider follow the dashboard's [widget styling settings](/docs/explore-analyze/dashboards/styling): |
There was a problem hiding this comment.
Narrowing this from "Both widgets" to "The spacer and divider" is correct, but it leaves stack unaddressed: a reader who just learned about a third layout widget will wonder whether a stack picks up the dashboard's border/background settings, and this section now silently excludes it. Worth one clause either way — e.g. "A stack is invisible on the published dashboard and takes no styling of its own." (assuming that's what the implementation does).
Check List
Description of Changes Made
Cube Cloud shipped a new dashboard widget — horizontal and vertical stack containers (CUB-4271) — that had no documentation yet. This PR:
Facts were verified against the source PR (cubedevinc/cubejs-enterprise#14632) and the shipped UI copy (
horizontalStack/verticalStack/dragWidgetsIntoStackstrings,MAX_CONTAINER_DEPTH = 4).🤖 Generated with Claude Code
https://claude.ai/code/session_016tvjJd9nhs2pffpqEwYXXw
Generated by Claude Code