Bring back a way for contributors to add a reduction to a problem not in the target list

未关闭
#449 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
57/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
javascript
领域
frontend

调研方向

Start in the Reduce pane and trace how its filtered target list opens the existing Add new reduction flow; the issue does not name files or tests. Add a separate, clearly labelled entry for choosing any other problem while keeping it distinct from real reduction targets. Done when contributors can reach the existing flow even if their problem has no reductions, and visitors still see only real targets; the complexity rule remains an open question.

由索引模型根据 Issue 内容生成。

描述

enhancement

In plain terms

The Reduce pane's "reduce to" list now shows only problems the selected problem really reduces to (#46). Before, it listed every problem and greyed out the rest. That let a contributor pick a problem with no reduction yet and then click "Add new reduction". With the list filtered, that path is gone, and a problem with no reductions at all can't reach the button. This brings it back as its own clearly labelled entry for contributors.

What's wanted

  • A separate "Add a reduction to…" entry in the Reduce pane that lets a contributor pick any other problem and goes to the existing Add new reduction flow.
  • It stays visibly apart from the real targets, so visitors aren't offered reductions that don't exist.
  • Open question: should it follow a complexity rule (for example, don't suggest reducing a P problem to an NP-complete one as a hardness proof)?

Related

  • #46 (fix on fix/46-reduce-targets), #19
主要语言
JavaScript
星标
3
派生
18
平均合并
1 天 15 小时
30 天内合并 PR
27

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 提供 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ReduxISU/Redux_GUI 的其他 Issue

查看 ReduxISU/Redux_GUI 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。