[Suggestion]: Add Collapse Feature for Left-Side Menu
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 11.8k
- 分支
- 7.9k
- 平均合併
- 1 天 11 小時
- 30 天內合併 PR
- 11
描述
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!
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先定位 React 文件網站左側導覽的實作,並檢視 Hooks 和 Components 等區段是如何渲染的。決定目前已開啟區段的收合與展開應如何運作,然後驗證使用者無需大量捲動即可存取其他區段。該 issue 未指出任何檔案或測試,因此必須先找到相關進入點。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, react
- 領域
- documentation
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100