Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Collapse the specific-problem picker after choosing a specific problem

Đang mở
#505 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@8woodyc đang làm issue này rồi.

Từ ngày 26/10/2026.

  • #550 của @8woodyc — đang mở

Đá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:

  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.
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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sysprog21/codetrial

Tất cả issue của sysprog21/codetrial

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.