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

Abierto
#449 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
57/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
JavaScript
Estrellas
3
Forks
18
Merge medio
1 d 15 h
PR fusionados (30 d)
27

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ReduxISU/Redux_GUI

Todos los issues de ReduxISU/Redux_GUI

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.