Elegant/Markdown/AI mode selector - #3156
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add flex-wrap to switcher container so buttons wrap on narrow screens - Reduce button font-size and padding on mobile (small-down) to prevent overflow - Bump AI panel z-index to 300 on mobile to sit above Docusaurus navbar Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add dark override for .chatInput border-top to match other panel border upgrades (neutral-150 → neutral-200 in dark) - Override .userMessage bubble to use primary-500 (#7B79FF) in dark mode for better readability vs the lighter primary-600 auto-adapt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Fix switcher active state not visible in production (CSS modules hash issue) - Fix AI panel summary text unreadable in dark mode - Fix details blocks not flattened in markdown mode (display: contents) - Fix sidebar not expandable in AI mode - Fix SSR crash from document usage in AiPanel (BrowserOnly wrapper) - Add copy-code button on AI chat code blocks - Style AI chat links as monospace pills - Remove border-bottom on user messages in AI chat - Widen switcher background to cover h1 on scroll Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
pwizla
marked this pull request as draft
May 11, 2026 12:55
pwizla
marked this pull request as ready for review
May 13, 2026 13:41
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.
This PR introduces 3 modes to the docs:
The frontend for AI mode is fully custom built with the Kapa React SDK.
The AI chat in AI mode should be slightly more context aware than the global AI chat: It starts with a summary of the page, and you can ask to find code examples in the page.