Repository navigation
Group the API product switcher like the catalog page - #4488
Merged
Merged
Conversation
The product menu listed every API in one flat run. It now shows the same Elastic Stack and Orchestration bands as the catalog landing page, built from the same grouping so the two cannot drift. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Member
Author
akira28
approved these changes
Oct 16, 2026
…w by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
Docs preview (local build)Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4488/ |
reakaleek
enabled auto-merge (squash)
October 16, 2026 11:16
reakaleek
disabled auto-merge
October 16, 2026 11:21
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.

The API product menu now shows the same labelled groups as the catalog landing page, Elastic Stack and Orchestration, instead of one flat list.
Affects: API reference, Site UI
Prompt summary: Add grouping to the API switcher dropdown, similar to the grouping on the landing page, using common dropdown group patterns from Mobbin as the reference.
Why
The product menu lists every API in one run, so a reader cannot tell the core stack APIs from the Cloud ones. The landing page already separates them, and the two surfaces should read as one site.
What
Grouped menu
Each group gets a small muted uppercase label, and a thin divider separates groups. An API outside any group follows in an unlabelled group. A menu with only one group shows no label. The look follows the Snowflake account switcher pattern on Mobbin.
One source of grouping
The menu builds its groups from the same grouping the catalog page uses, so the two cannot drift. Inside a group the order is unchanged, so each Serverless API still sits right after its parent.
Verify
./build.sh unit-test dotnet run --project src/tooling/docs-builder -- serve # open /api/doc/elasticsearch/ and open the product menu in the context barCheck on the preview
🤖 Generated with Claude Code