Anki add-on: Hide New Cards Until Next Day

HIDE NEW CARDS UNTIL NEXT DAY Disclaimer: This is my first addon and is by no means free of bugs, please keep in mind that undesired behavior can happen. I'd suggest to backup your collection frequently. ADDON OPTIONS Currently this addon supports two possible hide options: Hide all new cards until tomorrow Hide only new cards added today until tomorrow You can configure the default behavior modifying the option "added_today_only" . If this option is "false" (the default), then the first behavior listed will take place. If "true" , then the second will. HOW DOES IT WORKS? It's function is basically the following: First we find all new cards (issuing a query like: "is:new -is:suspended"), Then we hide all the found cards (respecting the option added_today_only mentioned above). We need to mark somehow which cards were suspended by this extension, so we are able to unsuspend them. In order to achieve this, we add a tag in this format to each suspended card: " ø::hide_new_cards_until_next_day::[hidden_at,redeem_at]::<year>-<month>-<day> ". Due to this usage of tags you may experience an accumulation of " ø::hide_new_cards_until_next_day::X " tags. You only need to click in 'Tools > Check Database' to get rid of the unused ones. BTW, just as a side note: if you are curious about why I chose to use such a 'excentric' tag format, consider that the character ø is one of the last chareters in the sort order, so the tags created by this addon will show up only at the bottom of the browser. And, if you didn't already get the :: thing, just look at this addon ;) WHEN THIS ADDON IS EXECUTED? This addon has 3 triggers and 1 menu button. It's automatically triggered during Anki startup; It's automatically triggered every time you update the config file on the left when pressing ' OK '; It's automatically triggered every time you add a new card; It can be triggered via ' Tools > Hide new cards until next day '.

GitHub repository: cardosaum/anki-addons
Repository description: My addon contribuitions
Languages: Python