Can we add a keyboard shortcut to switch themes?
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript
- 领域
- frontend
调研方向
The issue asks for a keyboard shortcut for theme switching, modelled on the existing ⌘ K quick search. Start by locating the current theme dropdown and the ⌘ K handler in the generated docs UI code, which the payload does not name. Done means a shortcut opens or cycles the theme choice from anywhere on the page. No maintainer has replied yet, so confirm the shortcut key and approach in the thread before writing code.
由索引模型根据 Issue 内容生成。
描述
Enter your suggestions in details:
Since the information at the top doesn't stick to the top of the page, when scrolling to the bottom of the page to switch themes, you have to scroll back to the top and then add a dropdown menu, which isn't very convenient. Perhaps we could refer to the quick search function(⌘ K) and add a similar quick-switching effect.
- 主要语言
- JavaScript
- 星标
- 69
- 派生
- 74
- 平均合并
- 3 天 3 小时
- 30 天内合并 PR
- 48
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nodejs/doc-kit 的其他 Issue
-
难度 2/5 半天 新手友好度 68/100
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 3 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
维护者通常 3 天内回复
-
index page's ToC mark "stability index" as legacy可能重新可做 @avivkeller 于 33 天前认领,目前没有进行中的 PR。 未关闭
nodejs/doc-kit#1053 · 2 条评论 · 已指派 1 人 ·
维护者通常 3 天内回复
-
CRA of doc-kit未关闭
难度 5/5 一周以上 新手友好度 35/100
nodejs/doc-kit#1000 · 4 条评论 · 1 个 reaction ·
维护者通常 3 天内回复
相似的 Issue
-
documentation good first issue theming
难度 2/5 1-3 小时 新手友好度 85/100
-
feature
难度 2/5 1-3 小时 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
drevendev/PatchPitch#2 ·
-
难度 1/5 1 小时以内 新手友好度 65/100
521xueweihan/HelloGitHub#4025 ·