Skip to content

docs: rename "time grain" to "time granularity" in dashboard controls#10994

Merged
keydunov merged 3 commits into
cube-js:masterfrom
mngr:gleb/cub-2640-docs-time-granularity
Jun 3, 2026
Merged

docs: rename "time grain" to "time granularity" in dashboard controls#10994
keydunov merged 3 commits into
cube-js:masterfrom
mngr:gleb/cub-2640-docs-time-granularity

Conversation

@mngr
Copy link
Copy Markdown
Contributor

@mngr mngr commented Jun 2, 2026

Summary

Aligns the dashboard widget docs with a product UI rename: the dashboard builder's Add Time Grain toolbar button and the Time Grain switcher widget are now Time Granularity (and Filter / Time Granularity are grouped under an Add Controls label). This updates the docs to match.

Changes (docs-mintlify/docs/explore-analyze/dashboards/)

  • widgets/controls.mdx
    • Heading ## Time grain switcher## Time granularity switcheranchor changes #time-grain-switcher#time-granularity-switcher (in-page TOC link and [ref-time-grain] definition updated to match)
    • ### Allowed grains### Allowed granularities, ### Default grain### Default granularity
    • Toolbar button references: Add Time GrainTime Granularity, Add FilterFilter (now under Add Controls)
    • Body copy: "grains" → "granularities" throughout, description front-matter
  • widgets/index.mdx — widget list + toolbar button names
  • widgets/charts.mdx — "time grain switchers" → "time granularity switchers"
  • dashboard-agent.mdx — "time grain" → "time granularity" in agent capabilities/limitations

Notes

  • The #time-grain-switcher anchor was only referenced from within controls.mdx (no cross-page links), so the rename is self-contained. The product changelog link that pointed at the old anchor is updated in the corresponding console-ui change.
  • The Superset visualization-tools page keeps "time grain" — that's Superset's own terminology, not the Cube dashboard control.

Companion to the product change (cubejs-enterprise PR #12405).

Aligns the dashboard widget docs with the product UI, which renamed the
"Add Time Grain" toolbar button and the "Time Grain" switcher widget to
"Time Granularity" (and grouped Filter / Time Granularity under an "Add
Controls" label). Renames the "Time grain switcher" heading (and its
#time-grain-switcher anchor → #time-granularity-switcher), the "Allowed
grains" / "Default grain" subsections, and all body copy across the
controls, widgets index, charts, and dashboard-agent pages.
@mngr mngr requested a review from keydunov as a code owner June 2, 2026 10:41
@github-actions github-actions Bot added the pr:community Contribution from Cube.js community members. label Jun 2, 2026
@keydunov keydunov merged commit adb2da5 into cube-js:master Jun 3, 2026
3 checks passed
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