Skip to content

docs(dashboards): document Dashboard Agent duplicate-then-edit for Explorer-role viewers - #11491

Open
keydunov wants to merge 1 commit into
masterfrom
claude/gallant-ramanujan-wqiupi
Open

docs(dashboards): document Dashboard Agent duplicate-then-edit for Explorer-role viewers#11491
keydunov wants to merge 1 commit into
masterfrom
claude/gallant-ramanujan-wqiupi

Conversation

@keydunov

@keydunov keydunov commented Aug 6, 2026

Copy link
Copy Markdown
Member

Check List

  • Tests have been run in packages where changes have been made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

Description of Changes Made

Routine sweep cross-checking recent cubejs-enterprise changes against docs-mintlify, filtered through the customer-facing criteria in cubejs-enterprise/.claude/shared/customer-facing-criteria.md.

cubejs-enterprise#13610 (CUB-3052, shipped) changed the published Dashboard Agent's behavior for a viewer who has the Explorer role (or higher) but lacks edit access to the specific dashboard's workbook: asking the agent to change something no longer just explains the limitation — the agent now duplicates the dashboard into a new workbook the viewer owns, applies the change to the copy, and hands the viewer off to the new dashboard. The original dashboard is never touched. Editors with workbook edit access continue to edit in place (pre-existing behavior, confirmed still gated by a separate editableWorkbookId signal in the frontend code).

docs/explore-analyze/dashboards/dashboard-agent.mdx flatly stated the agent "can't ... Edit the dashboard, or add/remove widgets" for everyone, which is no longer accurate for Explorer-role-and-above viewers. This PR:

  • Adds a new Editing without edit access to this dashboard section describing the duplicate-then-edit flow.
  • Updates the What the Dashboard Agent can and can't do intro and the "It can't" bullet to note the exception.
  • Updates the Limitations section's "no authoring" bullet accordingly.

No code changes; docs only.

(Note: a separate open PR, #11405, documents the editor in-place-editing behavior for the same page — that's a distinct pre-existing capability this PR doesn't overlap with, though both touch the same "can/can't" section and may need reconciling at merge time.)


🤖 Generated with Claude Code

https://claude.ai/code/session_014LqH3dZ9Vw8NzqBWCqtj1s


Generated by Claude Code

…plorer-role viewers (CUB-3052)

Explorer-role-and-above viewers who lack edit access to a published
dashboard's workbook can now ask the Dashboard Agent to make a change; it
duplicates the dashboard into a new workbook they own, applies the change to
the copy, and hands off to the new dashboard instead of just explaining the
limitation. Editors with workbook edit access continue to edit in place.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014LqH3dZ9Vw8NzqBWCqtj1s
@mintlify

mintlify Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
cubed3 🟢 Ready View Preview Aug 6, 2026, 12:25 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@claude

claude Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Claude finished @keydunov's task in 1m 36s —— View job


Review: docs-only, correct in substance — 5 consistency/wording issues, none blocking

Verdict: approve with comments (0 high, 2 medium, 3 low). The behavior described matches the PR's account of CUB-3052, and the anchors resolve. Main gap: the page's other statements of the old rule weren't all swept, and the new fact is now repeated four times.

Full review — findings, todos, notes

Todos

  • Read PR diff against origin/master
  • Read the full page for consistency with unchanged sections
  • Check docs-mintlify/CLAUDE.md conventions (conciseness, role naming, link style)
  • Check for stale prior Claude review threads (none — thread list was empty)
  • Post inline comments and summary

Findings

# Severity Location Issue
1 Medium lines 29–42 (unchanged) Intro <Note> still says the agent "intentionally cannot author or change the saved dashboard" — now contradicts the new section. Not commentable inline (outside the diff), details below.
2 Medium 161–162 "If you need any of those and don't have the Explorer role or higher, use the Workbook Agent" over-generalizes — Explorers still need the Workbook Agent to create reports/workbooks and change the data model.
3 Low 153–157 A four-line It can't bullet whose body describes two things the agent can do.
4 Low 117–125 Heading says "without edit access" but the section also covers the with-access case; Explorer isn't bolded or linked to the roles docs the way it is in admin/ai/skills.mdx:121 and docs/explore-analyze/skills.mdx:64.
5 Low 172–177 Bolded lead wraps mid-phrase and breaks the scannable-one-liner pattern; "get a form of authoring too" is vague. Fourth restatement of the same fact — docs-mintlify/CLAUDE.md asks to "say it once."

Finding 1 in detail (outside the diff, so no inline comment)

docs-mintlify/docs/explore-analyze/dashboards/dashboard-agent.mdx:32-41:

  - **Dashboard Agent** (this page) — for viewers of a published or embedded
    dashboard: question-and-answer about what's on screen, plus changing your
    own filters and time granularity.
...
  The published Dashboard Agent can adjust **your own view** — filters and time
  granularity, for your session only — but intentionally cannot author or change
  the **saved** dashboard.

This callout is the first thing on the page and is the version most readers will take away. It states the pre-CUB-3052 rule unqualified. Suggested replacement for the last paragraph:

  The published Dashboard Agent can adjust **your own view** — filters and time
  granularity, for your session only — and does not change the **saved**
  dashboard. If you have the Explorer role or higher, asking it to edit the
  dashboard duplicates it into a workbook you own first — see
  [Editing without edit access to this dashboard](#editing-without-edit-access-to-this-dashboard).

Fix this →

Checked and fine

  • All three #editing-without-edit-access-to-this-dashboard anchors match the new H2 slug.
  • No new page created — correctly an edit to the existing page, per docs-mintlify/CLAUDE.md.
  • Frontmatter untouched; no H1 added; link-reference block unchanged and all refs still used.
  • No code, tests, security, or performance surface — docs only, so those review dimensions don't apply.
  • Not run: yarn dev / build. Mintlify has no lint step for content, and the change is plain MDX prose with no new components or nav entries (no docs.json change needed).

On the overlap with #11405

The PR body flags that #11405 documents editor in-place editing on this same section. Findings 1, 3, and 5 all land in text #11405 also rewrites — whichever merges second will want to re-read the whole "can/can't" block rather than resolve conflicts hunk-by-hunk, since the two PRs are describing two halves of one behavior and the merged text should state it once.

· branch `claude/gallant-ramanujan-wqiupi`

Comment on lines +153 to +157
- Edit this dashboard directly, or add/remove its widgets — if you have the
Explorer role or higher, it duplicates the dashboard into a new workbook
and edits the copy instead, or edits in place if you have edit access to
the dashboard's workbook; see
[Editing without edit access to this dashboard](#editing-without-edit-access-to-this-dashboard)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bullet lives under It can't: but its body describes two things the agent can do (duplicate-and-edit, or edit in place). A can't-list entry that spends four lines listing capabilities is hard to scan and self-contradictory.

Cleaner split: keep the can't-bullet minimal and move the capability to It can:.

Suggested change
- Edit this dashboard directly, or add/remove its widgets — if you have the
Explorer role or higher, it duplicates the dashboard into a new workbook
and edits the copy instead, or edits in place if you have edit access to
the dashboard's workbook; see
[Editing without edit access to this dashboard](#editing-without-edit-access-to-this-dashboard)
- Change the saved dashboard without your permission — with the Explorer role
or higher it edits a duplicate you own, or edits in place if you have edit
access; see
[Editing without edit access to this dashboard](#editing-without-edit-access-to-this-dashboard)

Comment on lines +161 to +162
If you need any of those and don't have the Explorer role or higher, use the
[Workbook Agent][ref-workbook-agent] instead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This over-generalizes the exception. "Any of those" covers creating reports or workbooks and changing the data model — an Explorer still needs the Workbook Agent for both. The new behavior only exempts editing this dashboard. As written, an Explorer reading this concludes they don't need the Workbook Agent at all.

Suggested change
If you need any of those and don't have the Explorer role or higher, use the
[Workbook Agent][ref-workbook-agent] instead.
To create reports or workbooks, or to change the data model, use the
[Workbook Agent][ref-workbook-agent] instead.

Comment on lines +117 to +125
## Editing without edit access to this dashboard

If you have the Explorer role or higher but don't have edit access to this
specific dashboard's workbook, asking the agent to change something doesn't
just explain the limitation. Instead, the agent duplicates the dashboard into
a new workbook that you own, applies your requested change to that copy, and
hands you off to the new dashboard — the original is never touched. If you do
have edit access to the dashboard's workbook, the agent edits it in place
instead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small things on the new section:

  1. The heading says "without edit access," but the last sentence covers the with edit access case too. "Editing the dashboard" (or "Asking the agent to edit the dashboard") would match the content and also be the heading a reader scans for. Note this would change the anchor in the three places that link to it.
  2. Explorer is bolded and linked to the roles docs elsewhere in the docs (admin/ai/skills.mdx:121, docs/explore-analyze/skills.mdx:64). Worth matching — a viewer reading this page has no way to check what role they have.
Suggested change
## Editing without edit access to this dashboard
If you have the Explorer role or higher but don't have edit access to this
specific dashboard's workbook, asking the agent to change something doesn't
just explain the limitation. Instead, the agent duplicates the dashboard into
a new workbook that you own, applies your requested change to that copy, and
hands you off to the new dashboard — the original is never touched. If you do
have edit access to the dashboard's workbook, the agent edits it in place
instead.
## Editing the dashboard
If you have the **Explorer** [role][ref-roles] or higher but don't have edit
access to this specific dashboard's workbook, asking the agent to change
something doesn't just explain the limitation. Instead, the agent duplicates
the dashboard into a new workbook that you own, applies your requested change
to that copy, and hands you off to the new dashboard — the original is never
touched. If you do have edit access to the dashboard's workbook, the agent
edits it in place instead.

([ref-roles]: /admin/users-and-permissions would need adding to the link block at the bottom.)

Comment on lines +172 to +177
- **No authoring on published dashboards for viewers without the Explorer
role.** The published Dashboard Agent cannot create reports or build
dashboards, edit the saved dashboard, or change the data model. Those live
in the [Workbook Agent][ref-workbook-agent]. Explorer-role-and-above viewers
get a form of authoring too — see
[Editing without edit access to this dashboard](#editing-without-edit-access-to-this-dashboard).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bolded lead is now a two-line clause that wraps mid-phrase ("...for viewers without the Explorer / role.") — the Limitations bullets are meant to be scannable one-liners. Also, "get a form of authoring too" is vague where the rest of the page is specific.

This is the fourth place the same duplicate-then-edit fact is stated (new section, "can/can't" intro, "It can't" bullet, here). docs-mintlify/CLAUDE.md asks to "say it once" — a shorter pointer is enough here.

Suggested change
- **No authoring on published dashboards for viewers without the Explorer
role.** The published Dashboard Agent cannot create reports or build
dashboards, edit the saved dashboard, or change the data model. Those live
in the [Workbook Agent][ref-workbook-agent]. Explorer-role-and-above viewers
get a form of authoring too — see
[Editing without edit access to this dashboard](#editing-without-edit-access-to-this-dashboard).
- **Limited authoring on published dashboards.** The published Dashboard Agent
cannot create reports or workbooks, or change the data model — those live in
the [Workbook Agent][ref-workbook-agent]. Editing the dashboard itself
requires the Explorer role or higher; see
[Editing without edit access to this dashboard](#editing-without-edit-access-to-this-dashboard).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants