Draft
Conversation
New components to support the navigation redesign: - ProductBar: horizontal product switcher shown below the header - CopyForLLM: dropdown menu for markdown copy/view and LLM links - useShowLanguageSelector: extracted hook for language selector visibility - PRODUCT_BAR_HEIGHT constant for derived sticky offsets Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace Documentation/Examples TabMenu with three discrete nav links. Header is now fixed with max-width inner container so content aligns with the body while the background spans full viewport width. Search bar moved to center of header. Added comments to shadow DOM queries for Inkeep widget interaction. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Move Header and ProductBar outside max-width container so their backgrounds and borders span the full viewport. Add pt-16 offset for fixed header. Integrate CopyForLLM into breadcrumb bar. Remove mt-8 from breadcrumbs, add min-w-0 for overflow safety. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace product accordion with SectionNav that renders top-level sections as static headings, always expanded. Sidebar now shows only the active product's navigation. Derive sticky offset from HEADER_HEIGHT + PRODUCT_BAR_HEIGHT constants instead of hardcoded pixel values. Left border and indent only apply at layer 2+ to avoid visual noise on direct children of section headings. Remove duplicate inkeep-search-mount ID that conflicted with header. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…nstants Language selector relocated from PageHeader to RightSidebar for better layout balance. Derive sticky offset from HEADER_HEIGHT + PRODUCT_BAR_HEIGHT constants instead of hardcoded top-[108px]. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove markdown fetching, LLM links, language selector, and clipboard logic from PageHeader — all moved to CopyForLLM and RightSidebar. PageHeader now only renders title and intro text. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
LeftSidebar tests updated for single-product nav with static section headings. RightSidebar tests mock new LanguageSelector and useShowLanguageSelector dependencies. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- Remove left sidebar from homepage - Fix left nav scroll so it works independently of main content - Adjust nav item padding (4px top/bottom) and heading spacing (20px/6px) - Align first nav heading with breadcrumb row - Left border/indent only on layer 2+ nav items - Remove horizontal rule between language selector and "On this page" Co-Authored-By: Claude Opus 4.6 (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.
Description
This is a draft PR experimenting with changing the docs navigation to be a horizontal product menu.