Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Collapse the specific-problem picker after choosing a specific problem

Aperta
#505 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@8woodyc ci sta già lavorando.

Dal 26/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.
Lingua principale
Rust
Stelle
215
Fork
141
Merge medio
1g 11h
PR unite (30g)
225

Preparare l'ambiente

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

Tutte le issue di sysprog21/codetrial

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.