描述
[!NOTE] I'm rewriting the issue description. Feel free to work on one of the sub-issues below.
- Decide which numeric dialogs should be changed to input steppers (like in #20005).
- What should happen to the background color of the title of some dialogs like the deck picker and the tags dialogs?
Settings
- Minutes between automatic backups:
- Change to input stepper (#20005).
- Daily backups to keep:
- Same as above.
- Weekly backups to keep:
- Same as above.
- Monthly backups to keep:
- Same as above.
- Network timeout:
- Same as above.
- Language:
- Update background color.
- Error reporting mode:
- Update background color.
- Deck for new cards:
- Update background color.
- Frame style:
- Update background color.
- Hide system bars:
- Update background color.
- Toolbar position:
- Update background color.
- Fetch media on sync
- Update background color.
- Theme:
- Update background color.
- Day theme:
- Update background color.
- Night theme:
- Update background color.
Decks
- Rename deck:
- If you try to change the casing (upper vs lower), it will show the "Deck already exists" warning.
Browser
- Reposition new cards:
- Text at the top says "Queue top:" twice, which doesn't make sense.
- Add tag:
- Show red text if the tag already exists and disable the button. https://github.com/ankidroid/Anki-Android/pull/20368
- Set due date:
- Limit the number.
The custom study dialogs
I suggest we remove the first two dialogs:
- These are just a source of confusion.
- There is a much better way to change the limits for today in the deck options.
- They don't fit the other dialogs which all create filtered decks.
Increase today's new card limit:
- Consider adding a title "Increase today's new card limit".
- Consider replacing the helper text with a toggle/checkbox to switch between increase/decrease. The OK button should change to "Increase"/"Decrease" to match the state of the toggle.
Increase today's review card limit:
- Same as above but with "review" instead of "new".
Preview new cards:
I suggest we remove this option and dialog because:
-
There is already a preview feature in the card browser.
-
The filtered deck created has the reschedule option off, which we should discourage as it's bad for the algorithm.
-
Add a title "Preview new cards".
-
Replace the description with "Preview new cards added in the last:".
-
Add a unit "day"/"days" to the box.
-
Replace "OK"/"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).
-
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
Reminders 1
- Edit review reminder:
- Replace "OK" with a more useful string.
- Border text: "Card threshold".
- Remove "Card threshold:" from the description and place the description above the entry box, making it wider.
- Remove background color from the title.
- Add "card"/"cards" unit in the box.
- Add review reminder:
- Same as above.
- Select time:
- Replace "OK" with a more useful string.
- Change the "Select time" to a title.
- In text mode: move the "Hour" and "Minute" into the borders.
- Delete this reminder?:
- Replace "OK" with a more useful string.
- Change the title to "Delete reminder".
- Change the text to "This action cannot be undone. Are you sure?".
Reminders 2
- Edit review reminder:
- Limit the number of digits.
- Remove the red text "Please enter a whole number of cards".
- If the box is empty, the button should be disabled, instead of showing the toast "Something went wrong, please try again".
- Add review reminder:
- Same as above.
Managing fields
- Add field:
- Show red text if field already exists and disable the button.
- Rename field:
- Same as above.
Managing fields
- Add field:
- Replace "OK" with a more useful string.
- Add a border to the box and with "Name" in it.
- Rename field:
- Add a border to the box and with "Name" in it.
- Delete field:
- Replace "OK" with a more useful string.
- Reposition field:
- Same as above.
- Add a title "Reposition field".
- Move "New position" into the border of the box. The range, e.g. "(1 ...2)" should be below the box in gray, similar to the "Set due date" dialog.