Anchor docs search and Ask AI in the toolbar - #4303
Merged
michaeljguarino merged 13 commits intoSep 11, 2026
Merged
Conversation
Makes the Kapa assistant discoverable from the docs header and keeps the reading layout stable across regular and API pages. Co-authored-by: Cursor <cursoragent@cursor.com>
Soffi AI SummaryThis PR overhauls the Plural documentation site's chrome ( Key changes:
ChangesKapa AI search anchored in docs toolbar
Stable docs page layout with shared breadcrumbs
REST API sidebar and filter improvements
Docs Prettier formatting fixes
Updated: 2026-09-10 20:19 UTC |
Keeps markdown and REST API pages on the design-system component so the PR does not restyle an existing control. Co-authored-by: Cursor <cursoragent@cursor.com>
The design-system trail collapses to ... when its flex parent shrink-wraps and the resize observer measures ~0px. Co-authored-by: Cursor <cursoragent@cursor.com>
Replaces the custom search field and clear button with the shared search-icon + showClearButton pattern. Co-authored-by: Cursor <cursoragent@cursor.com>
The desktop endpoint nav is hidden below the two-column breakpoint; the existing menu overlay now hosts that list so mobile can still browse endpoints. Co-authored-by: Cursor <cursoragent@cursor.com>
The endpoint list was sized to the full overlay height, so clicks on Docs menu hit the sidebar instead of the button. Co-authored-by: Cursor <cursoragent@cursor.com>
FullNav treated its first mount as a route change and closed the overlay, so Docs menu looked like a no-op. Co-authored-by: Cursor <cursoragent@cursor.com>
REST routes share one Next.js pathname, so the overlay now watches asPath the same way docs navigation does. Co-authored-by: Cursor <cursoragent@cursor.com>
Once the user leaves the REST overlay for docs navigation, they do not need a path back to the endpoint list. Co-authored-by: Cursor <cursoragent@cursor.com>
The centered modal is still the widget script; header buttons only use Kapa's own trigger classes. Co-authored-by: Cursor <cursoragent@cursor.com>
wailingwombat
marked this pull request as ready for review
September 10, 2026 19:06
Contributor
|
Icon-only toolbar triggers need textValue for an accessible name, and the Input2 clear button was leftover from the custom filter we already removed. Co-authored-by: Cursor <cursoragent@cursor.com>
Collaborator
Author
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
There was a problem hiding this comment.
✅ Deploy preview for docs-pr-4303 is ready!
| Name | Details |
|---|---|
| ⚡ Service | docs-pr-4303 (5 / 5 ready) |
| ☁️ Cluster | plural (eks) |
| 93f5c0b | |
| https://console.mgmt.plural.sh/cd/clusters/446acdef-8524-425a-a49f-5336a... | |
| 🔍 Logs URL | https://console.mgmt.plural.sh/cd/clusters/446acdef-8524-425a-a49f-5336a... |
| 🌊 Flow URL | https://console.mgmt.plural.sh/flows/08a17af1-8578-449e-9ae1-28ccd97eafc... |
| Preview Link | Preview |
You can learn more about preview environments and Plural Flows here
michaeljguarino
approved these changes
Sep 11, 2026
michaeljguarino
deleted the
anna/prod-4936-figure-out-how-to-anchor-ai-assistant-search-in-docs-on
branch
September 11, 2026 15:27
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.
Summary
.docs-search-trigger/.docs-ai-triggerclasses; the existing widget script still owns the modal.Input2for the endpoint filter (no clear button), and the desktop sidebar now appears in the mobile hamburger (Docs menu still switches back to the docs tree).textValueso they have accessible names.js/documentation). No Console app, design-system, orpluralsh/documentationrepo changes.Test plan
yarn workspace @pluralsh/documentation dev) and confirm Search + Ask AI sit in the headerPlural Flow: docs
Plural Preview: docs