Skip to content

fix: restore Docs.tsx from ui-optimization-suggestions branch#59

Merged
velonone merged 1 commit into
mainfrom
claude/restore-docs-merge-FoOnA
Feb 6, 2026
Merged

fix: restore Docs.tsx from ui-optimization-suggestions branch#59
velonone merged 1 commit into
mainfrom
claude/restore-docs-merge-FoOnA

Conversation

@velonone
Copy link
Copy Markdown
Owner

@velonone velonone commented Feb 6, 2026

Restore the complete Docs page component to match the ui-optimization-suggestions branch, including improved mobile sidebar, navigation enhancements, and UI optimizations.

https://claude.ai/code/session_012KsDR5wEapUHh2cNNwryLm

Pull Request

Description

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 Documentation update
  • 🎨 Style/UI update (changes that don't affect functionality)
  • ♻️ Code refactoring (no functional changes)
  • ⚡ Performance improvement
  • 🧪 Test update

Related Issues

Changes Made

Screenshots/Videos

Before

After

Testing

  • Tested on Chrome
  • Tested on Firefox
  • Tested on Safari
  • Tested on mobile devices
  • Tested with different themes

Design System Compliance

  • Follows VSPEC design system guidelines
  • Uses brand color #7C85ED appropriately (sparingly)
  • Uses grayscale system for non-accent elements
  • No Tailwind font classes unless specifically needed
  • Icons verified to exist in Lucide React
  • Follows glass morphism patterns where applicable
  • Maintains restrained, professional aesthetic

Checklist

  • My code follows the project's code style
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have tested that my changes work as expected
  • I have checked for responsive design issues
  • I have updated CHANGELOG.md (if applicable)

Additional Notes

Summary by CodeRabbit

  • New Features

    • Mobile-optimized sidebar with overlay backdrop for improved navigation
    • Enhanced search modal with live filtering and breadcrumb-based results display
    • Document descriptions now render below page titles
  • Style

    • Improved code block UI with darker backgrounds and rounded borders
    • Upgraded breadcrumb and table of contents styling
    • Refined content layout, spacing, and typography throughout
    • Enhanced Quick Start section with improved visual presentation

Restore the complete Docs page component to match the
ui-optimization-suggestions branch, including improved mobile sidebar,
navigation enhancements, and UI optimizations.

https://claude.ai/code/session_012KsDR5wEapUHh2cNNwryLm
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vspec Ready Ready Preview, Comment, Open in v0 Feb 6, 2026 1:23am

Request Review

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 6, 2026

📝 Walkthrough

Walkthrough

This change comprehensively refactors the Docs page layout, introducing mobile-aware sidebar positioning with backdrop overlay, restructuring the main content area, redesigning the right TOC sidebar with GitBook-style formatting, updating breadcrumb navigation, enhancing code block UI, improving typography across sections, and refining the search modal interactions.

Changes

Cohort / File(s) Summary
Documentation Page Layout Overhaul
src/app/pages/Docs.tsx
Rewrites sidebar with fixed/sticky positioning and mobile backdrop overlay; reworks main content area padding and max-width; redesigns right TOC sidebar with updated typography and spacing; replaces breadcrumb rendering with GitBook-style navigation; upgrades code block styling with darker backgrounds and rounded borders; enhances section titles and typography; adds optional document description rendering; improves Quick Start section with visual enhancements; refines search modal positioning, sizing, and result filtering.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Poem

🐰 A sidebar stands mobile and sleek,
Backdrop dismissed with a gentle click,
GitBook breadcrumbs guide the way,
Code blocks shine in darker display,
Search finds answers quick and slick!


Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.

Comment @coderabbitai help to get the list of available commands and usage tips.

@velonone velonone merged commit ffcad21 into main Feb 6, 2026
4 checks passed
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 6, 2026

📊 Performance Report

Metric Value
Bundle Size 4.00 KB
Status ✅ Passing

View detailed Lighthouse report in artifacts.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 482b4321c5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/app/pages/Docs.tsx
Comment on lines +1070 to +1083
{/* Sidebar Navigation Content - Will add navigation items here */}
<div style={{ padding: '0 20px' }}>
<div style={{
fontSize: '11px',
fontWeight: 600,
textTransform: 'uppercase',
letterSpacing: '0.5px',
color: colors.textMuted,
marginBottom: '12px',
}}>
Documentation
</div>
{/* Navigation items will be rendered here */}
</div>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore sidebar tree rendering in Docs navigation

The new sidebar layout no longer renders sidebarTree/TreeItem entries and only shows a static "Documentation" heading, so users cannot browse or switch between most docs pages from the left navigation (especially on desktop where this is the primary navigation surface). This is a functional regression from the previous implementation where all docs nodes were clickable in this area.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants