Delete empty NEW cards, tag other empty cards

AnkiWeb addon 1402327111

Restricts empty-card deletion to new cards only, tags other empty cards, and offers configurable tagging to avoid losing seen-card information.
AI-generated summary; may contain mistakes.

note-managementtagging

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
2 (πŸ‘ 2 Β· πŸ‘Ž 0)
Updated
2021-10-16
Anki versions
2.1.48~
Description language
en

Maintenance

abandoned

  • Last update or commit was 1811 days before the snapshot (2021-10-16).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.272020-03-15
2.1.282.1.472020-11-23
2.1.48+2021-10-16
History across monthly snapshots

Loading…

Similar addons

Difficulty Tracker

Tracks difficult cards by tagging them with increasing or decreasing difficulty levels based on review actions and configurable leech settings.

schedulingreview-flowtaggingleech

Rating 2 πŸ‘ 0 Β· πŸ‘Ž 2 ⭐ 0 Updated 2021-10-17

README

Delete empty cards only if they are new

Rationale

I do not like to delete cards. If some cards where reviewed and no longer exists, it is probably a sign that I made something wrong. When I correct this error, those empty cards will still be here with their review history. Great !

However, I sometime create thoushands of new cards by accident, when I edit a card type. I want to be able to delete those card.

The tradeoff I found is deleting cards only when they are new. If, sometime, I find and empty card, already seen, and it's not a mistake, I just have to suspend it, and everything is all right.

I also tag notes which should have been deleted. This can be turned of in the configuration.

Usage

From main window, select "Tools">"Empty new cards". It acts similarly to "Empty cards".

Internal

This add-on redefine anki.collection._Collection.genCards during the process. The new method call the previous one.

The previous method is set back once the action is done.

Warning concerning the list of notes

For technical reason, it's hard to change the list of note and card that will be deleted without a lot of work. So the list of cards to be deleted is not changed and contains cards already seen that won't actually be deleted. Furthermore, for each note with no valid card, if you decide to keep those notes, then both the first card and all seen cards will be kept. This is not an ideal solution, but I've not enough time and interest to improve it.

Links, licence and credits

Key Value
Copyright Arthur Milchior arthur@milchior.fr
Based on Anki code by Damien Elmes anki@ichi2.net
License GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
Source in https://github.com/Arthur-Milchior/anki-empty-new-cards
Addon number 1402327111