Skip to content

docs: document dimension links — modeling + dashboard cell menu - #11148

Merged
keydunov merged 14 commits into
cube-js:masterfrom
mngr:gleb/cub-557-dimension-links-docs
Jun 26, 2026
Merged

keydunov merged 14 commits into
cube-js:masterfrom
mngr:gleb/cub-557-dimension-links-docs

Conversation

@mngr

@mngr mngr commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

What

Documents the "Links between dashboards" feature (CUB-557; built on the merged links primitive #10852, in cube-core since v1.6.53) on both sides — authoring and consumption.

Authoring (data modeling)

  • Guide docs/data-modeling/dimensions.mdx — new ## Links section: links is a list (a dimension can declare several), a per-link parameter table (url or dashboard per link), Icons (Tabler names), Setting a dashboard slug, and Behavior (per-row resolution via a synthetic <dim>___link_<name>_url dimension, null omission, drill-in vs external, equality filters, graceful unknown-slug handling). Notes the v1.6.53 requirement and that a dashboard: params[].key is a target-view member (a cube path auto-resolves to it).
  • Reference reference/data-modeling/dimensions.mdx — links is a list; dashboard value is the target dashboard's slug (deployment-scoped); icon name format.

Consumption (dashboard UI)

  • Table chart docs/explore-analyze/charts/chart-types/table.mdx — new ## Cell menu: left-click selects + opens a menu (data-model links / drill-in / Copy value / Drill down); Cmd/Ctrl-click → new tab; Shift-click selects; right-click → native browser menu. (Also keeps the real ## Inline bars Style-tab control; the previously-documented per-column "Display as Link/Image" was removed — it isn't in the product.)
  • Dashboards docs/explore-analyze/dashboards/index.mdx — ## Dashboard slug (stable, deployment-unique identifier set in the options sidebar; no required order between model and dashboard; renaming a referenced slug updates the model links).

The modeling and table-cell-menu pages are cross-linked.

Notes

Docs-only. Companion to the Cube Cloud feature PR cubedevinc/cubejs-enterprise#12540. (Re-opened as a fresh PR after the prior fork was deleted; same content.)

@mngr
mngr requested a review from keydunov as a code owner June 23, 2026 18:03
@github-actions github-actions Bot added the pr:community Contribution from Cube.js community members. label Jun 23, 2026
@keydunov

keydunov commented Jun 24, 2026 •

Copy link
Copy Markdown
Member

Should we have a dashboard linking section on a dashboard page that is not related to data modeling but is a dashboard exploration main page?
https://docs.cube.dev/docs/explore-analyze/dashboards/index somewhere here inside this section

Per review: the exhaustive cell-menu / keyboard-gesture writeup was more than
the table chart doc needs. Keep the one user-facing point — data-model links
surface in the cell menu alongside Copy value / Drill down — and drop the
gesture list and the redundant trailing paragraph.
… (CUB-557)

Per review: surface dashboard-to-dashboard linking on the dashboards
exploration page (not only the data-modeling reference). Explains drill-in
(`dashboard:`) and external (`url:`) cell links from an explorer's
perspective, and points to the slug section + Dimensions → Links for authoring.
@mngr

mngr commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator Author

Good call — added a Linking between dashboards section to explore-analyze/dashboards/index.mdx (the exploration page), framing drill-in (dashboard:) and external (url:) cell links from an explorer's perspective and pointing to the slug section + Dimensions → Links for authoring. Pushed in 3337861.

🤖 Addressed by Claude Code

@keydunov
keydunov merged commit 3b60dd5 into cube-js:master Jun 26, 2026
5 of 6 checks passed

This branch was successfully deployed

1 active deployment
Preview — 3337861d Deployed Jun 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:community Contribution from Cube.js community members.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants