ankidroid / ankidroid/Anki-Android

Improve the Study by card state or tag dialog

Open
#20,601 13 comments 0 reactions 1 assignee Claimed by @Akira2206 View on GitHub
Good First Issue
Dominant language
Kotlin
Stars
11.8k
Forks
2.9k
Avg merge
2d 3h
Merged PRs (30d)
167

Description

## The Study by card state or tag dialog

![Image](https://github.com/user-attachments/assets/3558e0d0-4e16-4e52-a4dc-6437bd37aef0)

- [ ] 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](https://github.com/user-attachments/assets/575c71cb-286b-458c-adc3-624f873e08a6)

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.