docs: keep guides first in docs search - #367
Conversation
◈ PR Lens
Architecture 1 component touched across 2 lanes. Data flow No data-flow sequence changed in this PR. Drill down
|
|
@posva is attempting to deploy a commit to the NuxtLabs Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
🟢 Approval recommended
The change is small, localized to docs UI behavior, and does not introduce complex logic or cross-cutting API changes.
Pull request overview
Adds a local wrapper for Nuxt UI’s docs ContentSearch component so the docs search keeps group ordering aligned with navigation (ensuring guides appear before errors/references).
Changes:
- Introduces a
UContentSearchwrapper component that forwards attrs to Nuxt UI’sContentSearch. - Enables
preserve-group-orderon the underlyingContentSearchcomponent.
File summaries
| File | Description |
|---|---|
| docs/app/components/UContentSearch.vue | Wraps Nuxt UI’s ContentSearch to set preserve-group-order while preserving existing attrs passthrough. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Keeps docs search groups in navigation order so guides appear before errors and references.
current:
new: