Repository navigation
feat(website/docs): docs navigation, edit link, last updated, heading search - #709
ajitpratap0 wants to merge 4 commits into
Conversation
… search Single Sidebar mount with inline mobile menu bar (no FAB), truncated breadcrumb using the sidebar label, collapsible On this page below xl, Edit this page / Last updated / version badge, category-aware prev/next and a build-time search index with h2/h3 deep links. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RkzVu3JY9Y6BRWfjesWts9
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The sticky bar sat inside a wrapper that collapsed to the bar's height on mobile (overlay and aside are fixed), so it scrolled away. Use display: contents on mobile so the bar sticks within the page flex container. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RkzVu3JY9Y6BRWfjesWts9
|
Fixed in fa99a82: the Sidebar wrapper is now Pushed to feat/docs-navigation as a normal push. |
|
Claude finished @ajitpratap0's task in 27s —— View job Review of PR #709: docs navigation, edit link, last updated, heading searchI read the full diff. I did not run the build, because the PR description says typecheck, lint and build passed. The change is clean overall and I found nothing blocking. These are the points worth a look, most important first. 1. Heading entries can flood search results (
2.
3. The "On this page" list is mounted twice (
4. The mobile drawer stays focusable when closed (
5. Minor items
Security and performance
|
|
Claude finished @ajitpratap0's task in 32s —— View job Review of PR #709: docs navigation, edit link, last updated, heading searchI read the full diff ( Worth addressing
Minor / nits
Security / performance
Tests
Overall: LGTM once the "Last updated" accuracy on shallow clones is decided, and ideally with the git-call memoization. |
… bar The translucent bg-surface/95 variant was not matched by the html.light override, leaving a near-black bar with low-contrast text in light mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RkzVu3JY9Y6BRWfjesWts9
|
Fixed in the latest push: the mobile Docs menu bar in Sidebar.tsx now uses bg-surface instead of bg-surface/95. bg-surface is already overridden for light mode (html.light .bg-surface), so the bar is white with the recoloured label text instead of near-black with grey text. Typecheck, lint (0 errors) and build pass. |
|
Claude finished @ajitpratap0's task in 19s —— View job Review of PR #709: docs navigation, edit link, last updated, heading searchI read the diff against Worth addressing
Minor
Security and performance
Tests
Verdict: LGTM once you've decided what "Last updated" should show on shallow clones. Memoizing the git call is a cheap improvement. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RkzVu3JY9Y6BRWfjesWts9
|
Deployment failed for project gosqlx-website with the following error: Learn More: https://vercel.com/coolajitpratapsingh0-9932s-projects?upgradeToPro=build-rate-limit |
|
Claude finished @ajitpratap0's task in 18s —— View job Review of PR #709: docs navigation, edit link, last updated, heading searchI read the diff against Worth addressing before merge
Minor
Security and performance
Tests
Verdict: LGTM once you decide what "Last updated" should show on shallow clones. Memoizing the git call is a cheap improvement. |
Summary
Sidebar; on mobile it is an inline sticky "Docs menu" bar plus drawer (Esc closes), replacing the floating button.PROJECT.version./docs/search-index.json, static route) with h2/h3 anchors; the search modal lazy-fetches it and deep-links to sections.Test Plan
npm ci && npm run typecheck && npm run lint && npm run build(lint: 0 errors, pre-existing warnings only)Breaking Changes
None.
Closes #656
Part of #634
🤖 Generated with Claude Code
https://claude.ai/code/session_01RkzVu3JY9Y6BRWfjesWts9