docs: sync docs with recently shipped Cube Cloud features - #11405
docs: sync docs with recently shipped Cube Cloud features#11405keydunov wants to merge 1 commit into
Conversation
Cross-checked recent cubejs-enterprise/cube-js changes against docs-mintlify and updated pages that were stale or missing coverage: - Python reports on dashboards now re-run against filtered SQL when a dashboard filter/time-grain applies, instead of only ever showing the saved output (python-analysis.mdx) - User groups can now confer a role (including Admin) on their members (user-groups.mdx, roles-and-permissions.mdx) - The default data source can now be deleted from the UI, not just edited (multiple-data-sources.mdx) - Chart widgets on published dashboards gained an Edit in Workbook menu shortcut for users with workbook-edit access (charts.mdx) - The Dashboard Agent on a published dashboard now gives editors with workbook-edit access full Workbook Agent-equivalent authoring capability, not just filter/time-grain changes (dashboard-agent.mdx) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjvAuTt42TokPntg4qSykj
|
Claude finished @keydunov's task in 1m 29s —— View job Docs review — approve with 2 medium consistency issues (0 high, 2 medium, 3 low)Full review
Docs-only PR; no code, tests, security, or performance surface. Review focused on factual consistency within the edited pages, link/anchor integrity, and Mintlify conventions. Verified clean
Medium
Low / nits
Claims I could not verifyThe behavioral assertions (demo source is the only undeletable one; group Admin assignment prompts for confirmation; editor-mode Dashboard Agent gets Workbook Agent tools; the embed/embedded-app gap for Python re-runs) originate from No prior review threads existed on this PR, so nothing to resolve or dedupe against. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
|
||
| If the dashboard applies a filter or time granularity to a Python report, Cube | ||
| re-runs the Python analysis against the filtered SQL and shows that result | ||
| instead of the saved output. This works both in the dashboard builder and on | ||
| published, viewed dashboards. It's not yet supported on the anonymous public | ||
| embed or the signed embedded-app dashboard, which continue to show the saved | ||
| result regardless of filters. |
There was a problem hiding this comment.
This new exception contradicts the still-unchanged claim in the Running and refreshing section just above (lines 100–101):
Run is the only way the saved result changes. Opening the report, reloading the page, or viewing a dashboard never re-runs anything on its own.
With this change, viewing a filtered dashboard does re-run the analysis. The two statements are reconcilable (the filtered re-run doesn't change the saved result), but a reader hitting line 101 first will take away the wrong model — and it's the sentence most likely to be quoted about compute cost. Worth qualifying it there, e.g. "…or viewing an unfiltered dashboard never re-runs anything on its own — see On dashboards".
Also: the added text says the re-run "shows that result instead of the saved output" but doesn't say whether the filtered result is persisted. Given the surrounding page hammers "Run is the only way the saved result changes", one clause confirming the filtered re-run is session-only and doesn't overwrite the saved output would close the loop.
| **It can't** (unless you're an editor — see [For editors](#for-editors)): | ||
|
|
||
| - Save its filter or time-granularity changes to the dashboard — they apply to | ||
| your session only and never change what other viewers see | ||
| - Edit the dashboard, or add/remove widgets | ||
| - Create reports or workbooks | ||
| - Change the data model | ||
|
|
||
| If you need any of those, use the [Workbook Agent][ref-workbook-agent] instead. | ||
| If you need any of those and aren't an editor of the dashboard's workbook, use |
There was a problem hiding this comment.
The blanket "(unless you're an editor)" caveat now applies to all four bullets, but the first one is a different kind of claim from the rest:
- Save its filter or time-granularity changes to the dashboard — they apply to your session only and never change what other viewers see
The For editors section lists the added capabilities as "edit the data model, create reports and drill-downs, publish, and use skills and sub-agents" — it does not say an editor's agent can persist filter/time-granularity changes to the saved dashboard. As written, the caveat implies it can. That's also in direct tension with the Limitations section, which still states unconditionally that a filter/granularity change "applies to your session only — it is never saved to the dashboard."
Safer to scope the caveat to the authoring bullets and leave the filter one absolute, e.g. keep **It can't:** and append (unless you're an editor — see [For editors](#for-editors)) to the three authoring bullets, or split the list into "never" vs. "not unless you're an editor".
Check List
Description of Changes Made
Routine sweep cross-checking recent
cubejs-enterpriseandcube-js/cubechanges againstdocs-mintlify, filtered through the customer-facing criteria incubejs-enterprise/.claude/shared/customer-facing-criteria.md. Found five small doc gaps (one stale/incorrect, four missing) and fixed them all here:docs/explore-analyze/workbooks/python-analysis.mdx— the "On dashboards" section said Python reports never re-run on dashboard load. That's no longer accurate: a dashboard filter or time-grain change now re-runs the Python analysis against the filtered SQL, on both the dashboard builder and published/viewing surfaces (not yet on anonymous/embedded-app dashboards). Corrected the claim and added the exception.admin/users-and-permissions/user-groups.mdx+roles-and-permissions.mdx— a user group can now be assigned a role (including Admin), conferring it on every member. Added a "Group roles" section and a cross-reference.admin/connect-to-data/multiple-data-sources.mdx— said the default data source "can be edited but not deleted." It can now be deleted from the UI like any named source (only the demo source can't be). Corrected the section.docs/explore-analyze/dashboards/widgets/charts.mdx— chart widgets on published dashboards gained an Edit in Workbook shortcut in their⋮menu (visible to users with workbook-edit access). Added a sentence documenting it.docs/explore-analyze/dashboards/dashboard-agent.mdx— for users with workbook-edit access, the Dashboard Agent on a published dashboard now has the same authoring capability as the Workbook Agent (data model edits, reports, drill-downs, publish, skills/sub-agents) — not just filter/time-grain changes. Added a "For editors" section and updated the can/can't list and the two-surfaces note accordingly.No code changes; docs only.
🤖 Generated with Claude Code
https://claude.ai/code/session_01VjvAuTt42TokPntg4qSykj
Generated by Claude Code