learn-javascript icon indicating copy to clipboard operation
learn-javascript copied to clipboard

feat: Add accordion functionality to 'In This Chapter' section

Open vivekvernekar26 opened this issue 2 months ago β€’ 2 comments

  • Implemented custom gitbook-plugin-toc-accordion plugin
  • Added toggle functionality to show/hide TOC content
  • Accordion is open by default for better UX
  • Added visual arrow indicator that rotates on toggle
  • Persistent state using localStorage
  • Keyboard accessible (Enter/Space keys)
  • Smooth CSS transitions and hover effects
  • ARIA attributes for screen reader support

Fixes issue: No option to hide 'In This Chapter' section Improves UX on pages with extensive content

vivekvernekar26 avatar Oct 26 '25 09:10 vivekvernekar26

@vivekvernekar26 is attempting to deploy a commit to the Suman Kunwar's projects Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Oct 26 '25 09:10 vercel[bot]

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

Project Deployment Preview Comments Updated (UTC)
learn-javascript Error Error Nov 22, 2025 1:00pm

vercel[bot] avatar Oct 28 '25 00:10 vercel[bot]

@vivekvernekar26 Thanks for the PR, it seems the addition of the toc-accordion is causing problem in the build? Can you have a look into it when you have time?

sumn2u avatar Nov 22 '25 13:11 sumn2u

Closing this since there hasn’t been any activity for over a month. You’re welcome to reopen the PR anytime.

sumn2u avatar Nov 29 '25 11:11 sumn2u