[A/B — do not merge] Flatten Voice & Video nav to test version-tree 500 - #455
Closed
raj-dubey1 wants to merge 1 commit into
Closed
[A/B — do not merge] Flatten Voice & Video nav to test version-tree 500#455raj-dubey1 wants to merge 1 commit into
raj-dubey1 wants to merge 1 commit into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose — A/B test only, NOT for merge
Diagnostic experiment for the desktop version-switcher "Error 500" (React
insertBeforecrash inside Mintlify's own bundlef486afc314643ce1.js). The crash fires when the version tree is opened on desktop (inline sidebar); mobile/tablet (drawer) is unaffected.Hypothesis
The crash is triggered by our unsupported nesting
tab → dropdowns → versions → groups. Mintlify's docs require 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 points to a Mintlify platform regression that stopped tolerating the nesting.What this branch changes
Voice & Video Calling only. The
SDKtab's framework dropdowns (JavaScript, React Native, iOS, Android, Flutter) — each nestingversionsinside adropdown— are converted to framework tabs carryingversionsdirectly, i.e. Mintlify's supported "versions applied to a specific tab" pattern.SDKtab → dropdowns[framework] → versions[v5,v4] → groupsThe A/B
Chat & Messaging is intentionally left nested as the control. On the preview:
If that split holds, the nesting is confirmed as the cause and we roll the
tab → versionsshape out site-wide.Not verified locally
Local CLI is v4.2.234 (too old to reproduce the prod runtime). JSON is valid and
broken-linksis clean; the crash test can only run on this Mintlify preview.🤖 Generated with Claude Code