Feature Request: ctrl-click to open in new window on react based pages
维护者通常 1 天内回复
@morozov-av 已经在做这个了。
开始于 2026年10月8日。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 75/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
首先,定位 Runestone Academy 前端中渲染顶级导航链接和按钮的 React 组件。添加一个点击处理程序,检查是否按下了 Ctrl 键,并使用 issue 中描述的子字符串比较来判断目标是否为新的顶级页面:如果是,则在新标签页中打开链接,而不是在当前页面中导航。通过按住 Ctrl 单击同一页面内和跨页面的导航链接来测试修复,确认行为正确。
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
I often want to leave the page I am on up while I open a link in a new tab. The react pages treat Ctrl-click like click and always changes the current page, even for something that is a top level navigation change.
Describe the solution you'd like
Buttons that function as top level links should try to handle ctrl-click by opening in a new window.
I think if neither current nor new URL are a substring of the other we could assume it is a new top level destination.
https://runestone.academy/assignment/instructor/grader
to
https://runestone.academy/assignment/instructor/grader/293802
is same page. As would be the other direction because one URL is a substring of the other.
https://runestone.academy/assignment/instructor/grader
to
https://runestone.academy/assignment/instructor/builder
is different page.
- 主要语言
- TypeScript
- 星标
- 69
- 派生
- 119
- 平均合并
- 1 天 20 小时
- 30 天内合并 PR
- 27
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
RunestoneInteractive/rs 的其他 Issue
-
Problem report: https://runestone.academy/ns/books/published/wcc_py4eint_fall26/conditional_short-circuit-evaluation-of-logical-expressions.html可能已有人在做 @barbarer 于 19 天前认领。 未关闭Content
难度 1/5 1 小时以内 新手友好度 75/100
RunestoneInteractive/rs#1602 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Problem report: https://runestone.academy/ns/books/published/wakeforest_py4eint_fall26/lists_parsing-lines.html可能已有人在做 @barbarer 于 24 天前认领。 未关闭Content
难度 2/5 1-3 小时 新手友好度 65/100
RunestoneInteractive/rs#1591 · 5 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Accessibility: react page notification should be aria-live可能已有人在做 @morozov-av 于 22 天前认领。 未关闭accessibility enhancement
难度 2/5 1-3 小时 新手友好度 72/100
RunestoneInteractive/rs#1574 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Content
难度 2/5 1-3 小时 新手友好度 72/100
RunestoneInteractive/rs#1570 ·
维护者通常 1 天内回复
-
Content
难度 2/5 1-3 小时 新手友好度 68/100
RunestoneInteractive/rs#1559 · 4 条评论 ·
维护者通常 1 天内回复
查看 RunestoneInteractive/rs 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
Automattic/data-liberation-agent#1115 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
CSS enhancement good first issue
难度 2/5 1-3 小时 新手友好度 70/100
pychess/pychess-variants#2448 ·
维护者通常 1 天内回复
-
[architect] Stale planning/scratch files at repo root (COMPONENT_SPLIT_SUMMARY.md etc.) describe already-completed work可能已有人在做 @hivecommons-hive 今天认领。 未关闭agent/architect architecture help wanted stage/040-covered-by-pr tech-debt
难度 2/5 1-3 小时 新手友好度 85/100
kubestellar/console#24716 ·
维护者通常 1 天内回复
-
helm-knative-apply.sh fails with Helm 4可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area: triage theme: undefined
难度 2/5 1-3 小时 新手友好度 85/100
jhipster/generator-jhipster#35895 ·
维护者通常 1 天内回复