Skip to content

docs: fill four gaps found in a customer-facing feature sweep - #11565

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

docs: fill four gaps found in a customer-facing feature sweep#11565
keydunov wants to merge 1 commit into
masterfrom
claude/gallant-ramanujan-i839zy

Conversation

@keydunov

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 of recent cubejs-enterprise merges cross-checked against docs-mintlify turned up four shipped, customer-facing behaviors with no documentation. All four are small, surgical additions to existing pages:

  • docs/integrations/dbt.mdx — dbt Sync's public trigger endpoint now accepts an optional ref to sync a specific branch/tag for one call (e.g. testing a PR branch before merge), and the previously browser-only status/result/cancel operations are now exposed on the same public, deployment-scoped API so a CI pipeline can start a sync, poll it, and fail the build on error (cubejs-enterprise#13972, CUB-3777).
  • docs/explore-analyze/charts/index.mdx — Cube now warns when a later query edit leaves the applied chart type unable to render the result, naming the chart type and offering to undo the edit or pick a different type (cubejs-enterprise#13942, CUB-3808).
  • docs/explore-analyze/dashboards/widgets/controls.mdx — adding a chart from a different semantic view than the dashboard's existing controls now surfaces a suggestion prompt (Review… / Dismiss, with Undo after connecting) instead of leaving the chart silently unconnected; added the corresponding "Suggested mapping" state to the mapping-states table (cubejs-enterprise#13630).
  • docs/explore-analyze/workbooks/querying-data.mdx — clarified that the same period-comparison offset can now be applied under more than one time-dimension anchor in the same query, each producing its own derived columns (cubejs-enterprise#13859, CUB-3459).

No new pages were needed — each fits naturally into an existing section.


🤖 Generated with Claude Code


Generated by Claude Code

…s-view control connect, and multi-anchor comparisons

- dbt.mdx: the dbt-sync trigger now accepts a `ref` override and exposes
  status/result/cancel endpoints for CI gates (CUB-3777)
- charts/index.mdx: note the new warning when a query change breaks the
  applied chart type (CUB-3808)
- dashboards/widgets/controls.mdx: document the connect prompt for
  cross-view charts and the new "Suggested mapping" state (#13630)
- workbooks/querying-data.mdx: clarify that the same offset comparison can
  be applied under more than one time-dimension anchor (CUB-3459)
@mintlify

mintlify Bot commented Aug 15, 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 15, 2026, 12:16 AM

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

@claude

claude Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

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


Docs review — no blockers, 2 medium + 1 nit (all in dbt.mdx)

Full review
  • Read PR diff against origin/master
  • Check each edit against docs-mintlify/CLAUDE.md conventions
  • Verify surrounding page context for consistency
  • Check existing review threads (none)
  • Post findings

Summary

Four genuinely surgical additions that land in the right existing sections — no new pages, no scaffolding padding, tone and voice match the surrounding prose. The docs-mintlify conventions are followed: no H1s in body, root-relative links, existing reference-link IDs reused, edits made in the active docs site (not legacy /docs).

Nice catch on controls.mdx: bumping "Three states" → "Four states" alongside the new table row is exactly the kind of consistency edit that usually gets missed.

Findings

# Severity File Issue
1 Medium docs/integrations/dbt.mdx:407-410 ref is described but never shown — no HTTP method, no indication whether it's a query param or JSON body field. Not actionable as written. (thread)
2 Medium docs/integrations/dbt.mdx:415-419 .../dbt-sync/{syncJobId} never states it's relative to the trigger URL; status values are only partially enumerated, so a poll loop has no documented exit for a cancelled job. (thread)
3 Nit docs/explore-analyze/dashboards/widgets/controls.mdx:111 Single ~70-word paragraph carrying five distinct facts (why it isn't automatic, the banner, Review…, Save/Dismiss, Undo). The style guide asks for short paragraphs; splitting after "…isn't necessarily the same dimension." would read better. Purely stylistic.

Checked and fine

  • charts/index.mdx:18 — placed correctly under Selecting a chart type, directly after the sentence about configuration being preserved across query edits. Reads as a natural continuation.
  • workbooks/querying-data.mdx:222-224 — the multi-anchor clarification extends the existing sentence rather than starting a new block; correct call for a one-fact addition.
  • controls.mdx table row — wording of Suggested mapping correctly distinguishes "found but not applied" from the adjacent Manually mapped / Can't map automatically states.
  • Plan gating — dbt.mdx already carries its Premium-and-above <Note>; the other three pages inherit theirs from context. Nothing new needed.
  • No images committed; the existing ucarecdn.com <Frame> above the new dbt content is untouched.

Not verified

The four behaviors trace to cubejs-enterprise PRs (#13972, #13942, #13630, #13859), which aren't in this repo — I could not confirm the described behaviors against the implementation. Findings 1 and 2 are the places where that gap actually matters, since both hinge on API shape a docs reader has to type verbatim.

· branch [`claude/gallant-ramanujan-i839zy`](https://github.com/cube-js/cube/tree/claude/gallant-ramanujan-i839zy)

Comment on lines +407 to +410
The trigger call accepts an optional `ref` — a branch or tag in your dbt repository —
to sync from for that call only, without changing the branch saved on the
integration. Use it in a pull request pipeline to test the ref under review before it
merges.

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 ref parameter is described but not shown — a reader can't act on this without knowing where it goes (query string vs. JSON body) and what the trigger's HTTP method is. Neither is stated anywhere on the page, and the screenshot above only shows the URL.

Worth one short concrete line, e.g. POST .../dbt-sync?ref=my-branch or a {"ref": "my-branch"} body — whichever matches the implementation.

Fix this →

Comment on lines +415 to +419
| Call | What it does |
| --- | --- |
| `GET .../dbt-sync/{syncJobId}` | Returns the sync's current `status`. Poll it until `status` reaches `COMPLETED` or `FAILED`. |
| `GET .../dbt-sync/{syncJobId}/result` | Once `status` is `COMPLETED`, returns the generated cube files and cube count. |
| `DELETE .../dbt-sync/{syncJobId}` | Cancels a sync that's still running — for example, when a newer push supersedes it. |

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 in this table:

  1. The .../ prefix is doing a lot of implicit work. The paragraph two above says the trigger URL is in the settings card, but nothing states that these paths are relative to that same URL. A half-sentence lead-in ("…using the same endpoint URL shown above:") would remove the guesswork.
  2. status is only partially enumerated — COMPLETED and FAILED are named as terminal, but a poller also needs to know what it will see in the meantime (PENDING/RUNNING/whatever the API returns), and whether cancellation surfaces as a distinct terminal status. As written, "poll until status reaches COMPLETED or FAILED" could loop forever on a cancelled job.

Fix this →

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