Improve the Review forgotten cards dialog
The Review forgotten cards dialog
- [ ] Add a title "Review forgotten cards".
- [ ] Remove "x days" from the description.
- [ ] Add a unit "day"/"days" to the box.
- I decided against input steppers since this input isn't a saved setting. It also allows to add the unit more organically.
- [ ] Replace "OK" 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
I suggest we remove the first two dialogs: ... Preview new cards
Not yet (yes; the dialogs are bad, but IMO we should handle this in the "congrats screen" from Anki Desktop):
- The first two dialogs are directly from Anki Desktop
- We do not currently expose 'Deck options' well enough for new users to know that they exist
- This dialog is opened on various 'custom study' options where a user expects this option to hear
- Users will revolt, we went through hell when we moved the 'random study' option here to match upstream.
I'd recommend further splitting this into more 'Good first issues'.
Good first issues are GREAT if they're limited in scope: small PRs get merged quickly. Larger PRs mean if there's 1 issue, it slows down the process.
Users will revolt
Once again, analytics would be quite useful, but I doubt that anyone actually uses those three options.
Analytics would be quite useful
On the way:
- https://github.com/criticalAY/google-analytics-kt
Hi, I’m interested in working on this issue. Could you please assign it to me?
Hi, I am Revathi, a beginner contributor.
I am interested in working on this issue. Could you please guide me on how to start and which part of the code I should look at?
Thank you!
There is already someone working on it. I can't help you with contributing as I'm not a developer, but you should read https://github.com/ankidroid/Anki-Android/blob/77c6cc56299b03eed53ca71e0c90c1cb26cdca2d/CONTRIBUTING.md.
Hello, if no one is assigned to this and working on it, may I tackle this?
I have a question, I notice that there are similar tasks here and in #20600
- [ ] 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.
For the sake of code reusability, shouldn't I or whoever is assigned to this write code that would address these two tasks to avoid redundancy?
These were initially one big issue, but I split them up as David suggested. Do you think I should extract that part into its own issue?
For now, I think can wait on #20678 to be looked at then go from there. The error handling for both these dialogs are functionally the same, so I just thought it would have been redundant to write similar code when the differences are minimal.
@defkorean Hi, just wanted to let you know that #20678 has been closed.
Got it, will this issue be completed once all tasks are addressed or just the first four?
All of them, but you can do just the first four if you want.
Hello, apologies for the lack of activity. I saw that #20678 was reopened but I'm hoping to get a pull request in sometime this week to address those first four tasks.
Hi, I am first time contributor. If no one is working on this and if no active PR. Can I be assigned on this task?
Sure! Do look into the previously closed PR, if you can use this as a useful base, it would likely save you some time.
- https://github.com/ankidroid/Anki-Android/pull/21379
Please note our AI Policy: https://github.com/ankidroid/Anki-Android/blob/main/AI_POLICY.md
Thanks! I'd like to implement this from scratch off main to get familiar with the codebase, but I'll reference the previous PR for context.
Hello, I'm looking for my first open source contribution ! Since there haven't been any updates for over a month, could you please assign it to me?
Cheers!