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

Open
#449 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
57/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
frontend

Research direction

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.

Written by the indexing model from the issue text.

Description

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
Dominant language
JavaScript
Stars
3
Forks
18
Avg merge
1d 15h
Merged PRs (30d)
27

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • Ships a Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ReduxISU/Redux_GUI

All issues in ReduxISU/Redux_GUI

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.