Collapse the specific-problem picker after choosing a specific problem
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 215
- Fork
- 141
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 228
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sysprog21/codetrial
-
Audio output can be confirmed without playing a test soundCó thể đã có người làm @ChenYingHan1121 đã nhận 11 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
sysprog21/codetrial#359 · 6 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Add update notifications for the prebuilt Windows binary ProblemCó thể đã có người làm @Yu-Ming-Chang đã nhận 1 ngày trước. Đang mở
sysprog21/codetrial#547 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Tell macOS binary users when a newer release is availableCó thể đã có người làm @LJY2000-max đã nhận 1 ngày trước. Đang mở
sysprog21/codetrial#543 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
An abandoned start holds its interviewer slot for five minutesCó thể đã có người làm @matthiola0 đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 43/100
sysprog21/codetrial#539 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của sysprog21/codetrial
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
compiler P4 perf
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
HerringtonDarkholme/hd-lang#1044 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted r-docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
servo/rust-smallvec#824 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
akitaonrails/ai-usagebar#552 ·
Maintainer thường phản hồi trong vòng 1 ngày