Skip to content

[A/B — do not merge] Flatten Voice & Video nav to test version-tree 500 - #456

Closed
raj-dubey1 wants to merge 2 commits into
mainfrom
docs/version-tree-flatten-ab
Closed

[A/B — do not merge] Flatten Voice & Video nav to test version-tree 500#456
raj-dubey1 wants to merge 2 commits into
mainfrom
docs/version-tree-flatten-ab

Conversation

@raj-dubey1

Copy link
Copy Markdown
Contributor

Purpose — A/B test only, NOT for merge (base retargeted to main so Mintlify builds a preview)

Diagnostic experiment for the desktop version-switcher "Error 500" (React insertBefore crash inside Mintlify's bundle). Fires when the version tree opens on desktop (inline sidebar); mobile/tablet drawer is unaffected.

Hypothesis

Crash is triggered by our unsupported nesting tab → dropdowns → versions → groups. Mintlify requires one child-type per level, and versions-inside-dropdowns is an open, unsupported feature request (mintlify/discussions#2168). Onset ~2 days ago with no structural change on our side ⇒ Mintlify platform regression that stopped tolerating the nesting.

What this branch changes — Voice & Video Calling only

SDK tab's framework dropdowns (JavaScript, React Native, iOS, Android, Flutter), which nested versions inside a dropdown, are converted to framework tabs carrying versions directly — Mintlify's supported "versions applied to a specific tab" pattern. No page paths changed.

The A/B (both on this one preview)

  • ✅ expected: Voice & Video page calls/javascript/overview opens the version switcher without a 500
  • ❌ expected: Chat & Messaging control ui-kit/react/overview (left nested) still 500s

If that split holds, nesting is confirmed as the cause → roll tab → versions out site-wide.

Note: diff vs main also includes the prior invisible-char cleanup from docs/broken-version-tree-fix; the meaningful change is the V&V flatten. Not for merge.

🤖 Generated with Claude Code

raj-dubey1 and others added 2 commits August 6, 2026 20:38
Tests whether un-nesting versions from dropdowns stops the desktop
version-switcher 500 (React insertBefore crash in Mintlify's bundle).

Voice & Video Calling: the "SDK" tab's framework dropdowns (JavaScript,
React Native, iOS, Android, Flutter), which nested `versions` inside a
`dropdown` inside a `tab` (unsupported per Mintlify docs + discussion
#2168), are converted to framework tabs carrying `versions` directly —
Mintlify's supported "versions applied to a specific tab" pattern.

Chat & Messaging is intentionally left nested as the control. No page
paths changed; nav structure only. Not for merge.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Aug 7, 2026

Copy link
Copy Markdown

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

Project Status Preview Updated (UTC)
cometchat 🟢 Ready View Preview Aug 7, 2026, 3:30 AM

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

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant