Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Collapse the specific-problem picker after choosing a specific problem

Abierto
#505 1 comentario 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@8woodyc ya está trabajando en esto.

Desde el 26/10/2026.

  • #550 de @8woodyc — abierto

Evaluación

Este issue todavía no se ha evaluado.

Descripción

Description

In Practice mode, the Choose a specific problem instead section allows users to expand the problem picker and select a problem manually.

The selection itself works correctly. However, after clicking a problem, the picker remains expanded and the page stays at the same position.

Because the Selected problem: status is located above the expanded picker, it may be outside the current viewport. There is therefore little immediate visual feedback confirming that the selected problem has actually changed.

This can make the user unsure whether the selection succeeded.

Expected behavior

After a user successfully chooses a new problem from Choose a specific problem instead:

  1. Collapse the specific-problem picker.
  2. Bring the Selected problem: status into view.
  3. Show the newly selected problem and its difficulty using the existing selected-problem display.

This should happen only when a new specific problem is selected successfully.

The existing saved-list, random-problem difficulty filter, and Strict Interview behavior should remain unchanged.

Related work

This proposal is complementary to the existing problem-picker work:

  • #392 / #455 changes the problem-card click behavior so that clicking an already selected card can release the manual selection.
  • #394 changes the layout of the expanded problem picker so that it can use the full lobby width.
  • #15 originally introduced the collapsible specific-problem picker.

This issue does not change selection policy, deselection behavior, or picker layout. It only improves the confirmation shown after a successful new problem selection.

If #455 lands first, this behavior should be applied only to the branch that selects a new card, not to the branch that deselects the currently selected card.

Acceptance criteria

  • Selecting a new problem from the specific-problem picker still updates the selected problem as before.
  • After a successful new selection, the expanded problem picker closes.
  • The Selected problem: status is brought into the viewport.
  • The selected title and difficulty are immediately visible.
  • Deselecting an already selected card, if #392/#455 is present, does not incorrectly trigger the selected-problem confirmation behavior.
  • Keyboard-based selection does not leave focus on an element hidden by the collapsed picker.
  • Random problem selection and saved-list selection keep their existing behavior.
  • Strict Interview behavior is unchanged.
  • Browser regression coverage verifies the collapse and selected-problem visibility behavior.
Lenguaje dominante
Rust
Estrellas
215
Forks
141
Merge medio
1 d 12 h
PR fusionados (30 d)
228

Preparar el entorno

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 sysprog21/codetrial

Todos los issues de sysprog21/codetrial

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.