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

Aperta
#449 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
JavaScript
Stelle
3
Fork
18
Merge medio
1g 15h
PR unite (30g)
27

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ReduxISU/Redux_GUI

Tutte le issue di ReduxISU/Redux_GUI

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.