ankidroid/Anki-Android

Improve the Study by card state or tag dialog

Open

#20,601 opened on Mar 26, 2026

View on GitHub
 (9 comments) (0 reactions) (1 assignee)Kotlin (2,789 forks)batch import
Good First Issue

Repository metrics

Stars
 (11,132 stars)
PR merge metrics
 (Avg merge 9d 4h) (123 merged PRs in 30d)

Description

The Study by card state or tag dialog

Image

  • Add a title "Study by card state or tag".
  • Remove "Select x cards from the deck".
  • Add "Number of cards" to the border of the text field (see reference).
  • Add a unit "card"/"cards" to the box.
  • Change the text selection like in https://github.com/ankidroid/Anki-Android/pull/20551.
  • Replace "Select" with "Create".
  • If the resulting filtered deck is empty (i.e., no cards match the criteria), a red warning should appear and the button should be disabled, instead of an error dialog (see reference).
    • Also, make sure this bug is fixed: when there are no cards matching some selections like "Due cards only", a filtered deck with of new cards is created.
  • Show a warning when the input is invalid, limit the digits, and prevent leading zeros, like in https://github.com/ankidroid/Anki-Android/pull/20520, except without input steppers.

Reference dialogs

Image

Contributor guide