Skip to content

[pull] master from cube-js:master#508

Merged
pull[bot] merged 4 commits into
code:masterfrom
cube-js:master
Jun 3, 2026
Merged

[pull] master from cube-js:master#508
pull[bot] merged 4 commits into
code:masterfrom
cube-js:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Jun 3, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

keydunov and others added 4 commits June 2, 2026 19:16
The new Mintlify docs are served at docs.cube.dev. The old Next.js/Nextra
site at cube.dev/docs now issues cross-domain 301s to it so legacy URLs and
inbound links keep resolving.

- Add build_old_site_redirects.py generator that reuses the existing
  PATH_REWRITES mapping to produce the cross-domain redirect table from
  the old redirects.json (specific page redirects first, then wildcard
  prefix redirects + a /product catch-all).
- Generate redirects-new-docs.json (509 redirects).
- Wire it into next.config.mjs and point root / at the new introduction.

basePath: false is intentionally omitted so sources still match under the
/docs basePath while absolute destinations stay external (verified against
Next.js load-custom-routes and checkCustomRoutes).

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
…#10994)

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.

Co-authored-by: Gleb Sologub <director@mentee.group>
The default row limit for workbook semantic queries was documented as
5,000; update it to 10,000 to match the current product default. The
adjustable maximum (50,000) is unchanged.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
The cross-domain redirect table (#11002) sent most legacy cube.dev/docs
URLs to non-existent docs.cube.dev pages — 386 of 509 destinations (76%)
returned 404, e.g. /product/data-modeling/reference/pre-aggregations went
to the dead /docs/data-modeling/reference/pre-aggregations instead of the
real /reference/data-modeling/pre-aggregations.

Root cause: build_old_site_redirects.py reused rewrite_links.PATH_REWRITES,
which describes an intermediate migration layout (/access-security,
/api-reference, /analytics tabs and /docs/data-modeling/reference/...) that
never shipped. Content was consolidated into the live tabs (admin, reference,
docs, recipes, embedding, configuration, cube-core).

Rewrite the generator to be content-driven and self-validating:
- Derive each destination by matching the old page's body text against the
  live Mintlify pages (new files were copied from old ones during migration,
  so prose is preserved). 319 old pages mapped.
- Pin ambiguous/consolidated/removed pages in an explicit OVERRIDES table,
  verified by hand against the real tree.
- Emit a redirect for every legacy alias and every canonical /product page,
  plus a /product/:path* catch-all so nothing 404s.
- Validate every destination against the on-disk Mintlify tree and exit
  non-zero if any would 404, so a broken table can't be committed silently.

Regenerated redirects-new-docs.json (509 -> 774 entries, all validated).
All 455 original alias sources remain covered. Live-checked the reported
pre-aggregations page (now 200, was 404) plus a 30-destination sample (all 200).

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Jun 3, 2026
@pull pull Bot added the ⤵️ pull label Jun 3, 2026
@pull pull Bot merged commit 559bef7 into code:master Jun 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants