Skip to content

Improve sidebar navigation by adding direct links to collapsed sections - #69

Merged
oblomov-dev merged 3 commits into
mainfrom
claude/cookbook-menu-first-subpage-Nedfm
May 20, 2026
Merged

Improve sidebar navigation by adding direct links to collapsed sections#69
oblomov-dev merged 3 commits into
mainfrom
claude/cookbook-menu-first-subpage-Nedfm

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Summary

Enhanced the VitePress documentation sidebar navigation by adding direct links to the first item in each collapsed section group. This allows users to navigate to relevant content directly from the sidebar without needing to expand the section first.

Key Changes

  • Added link property to 6 collapsed sidebar sections, pointing to their first child item:

    • "View" section → links to /development/view/definition
    • "Model" section → links to /development/model/binding
    • "Message, Error" section → links to /development/messages/messages
    • "Browser Feature" section → links to /development/specific/barcodes
    • "RAP, EML" section → links to /development/specific/cds
    • "Expert Topic" section → links to /development/specific/locks
  • Reorganized "Browser Feature" subsection items for better logical grouping:

    • Moved "Timer" and "Soft Keyboard" items before "File Handling"
    • Removed unnecessary collapsed: true property from "File Handling" nested section
  • Restructured "Expert Topic" section:

    • Removed nested "More" collapsible group
    • Promoted "Demo Output" to a top-level "More" section with its own direct link to /development/specific/demo_output

Implementation Details

These changes improve UX by making sidebar sections more interactive and reducing the need for users to expand sections to discover content. The reorganization also creates a more intuitive information hierarchy in the documentation structure.

https://claude.ai/code/session_01JSAm2THou6e8dwbbUD3gET

claude added 3 commits May 20, 2026 13:49
Add link to the first subpage on each Cookbook sidebar group (View,
Model, Message/Error, Browser Feature, RAP/EML, Expert Topic) so the
group header becomes navigable, matching the behavior of the entries
that already had a link.
Move File Handling to the last position in the Browser Feature group
and drop its collapsed flag so the XLSX subentry is always visible
and the group can no longer be collapsed.
Lift the More group out of Expert Topic so it appears at the
Cookbook root level next to the other groups, and link it to its
first subpage.
@oblomov-dev
oblomov-dev merged commit 27b766d into main May 20, 2026
@oblomov-dev
oblomov-dev deleted the claude/cookbook-menu-first-subpage-Nedfm branch May 20, 2026 13:55
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