[Suggestion]: Add Collapse Feature for Left-Side Menu
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11.8k
- Forks
- 7.9k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 11
Description
Summary
The left-side navigation menu in the React official documentation currently lacks a collapse feature. When navigating through long lists, users have to scroll to the bottom to access other sections. This can be inconvenient, especially when switching between categories such as “Hook” or “Components”.
Page
No response
Details
Proposal:
Add a collapse/expand functionality for the left-side navigation menu. This would allow users to collapse currently opened sections and easily navigate to other sections without extensive scrolling.
Additional Information:
I would be happy to contribute to this feature and submit a pull request to implement the collapse functionality. Please let me know if this is something the team is open to, and I can start working on it.
Thank you for considering this feature request!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the left-side navigation implementation in the React documentation website and reviewing how sections such as Hooks and Components are rendered. Decide how collapse and expand should behave for the currently opened sections, then verify that users can reach other sections without extensive scrolling. The issue names no files or tests, so the relevant entry point must be found first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100