Collapse the specific-problem picker after choosing a specific problem
Maintainers usually reply within 1 day
@8woodyc is already working on this.
Since Oct 26, 2026.
Assessment
This issue has not been assessed yet.
Description
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:
- Collapse the specific-problem picker.
- Bring the Selected problem: status into view.
- 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.
- Dominant language
- Rust
- Stars
- 215
- Forks
- 141
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 225
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sysprog21/codetrial
-
Audio output can be confirmed without playing a test soundPossibly taken @ChenYingHan1121 claimed this 10 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
sysprog21/codetrial#359 · 5 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 43/100
Maintainers usually reply within 1 day
-
Suggest the next problem in a series after a passPossibly taken @peter1001136 claimed this 1 day ago. Open
sysprog21/codetrial#536 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Web lobby cannot reopen Setup after configurationPossibly taken @YEH-YU-YANG claimed this 2 days ago. Open
sysprog21/codetrial#525 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Offer a way back to Setup from the lobbyPossibly taken @Patriciaath999 claimed this 3 days ago. Open
sysprog21/codetrial#513 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in sysprog21/codetrial
Similar issues
-
bug dependencies kind:fix priority: P3 ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
shep-pm/shep#1318 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
swc-project/swc-next#1165 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Alive24/shea-symphony#574 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Maintainers usually reply within 1 day