Bỏ qua đến nội dung

Hide New Cards Until Next Day

Chờ xử lý #anki #addon #hide #new #cards #until #next
https://github.com/Cardosaum/anki-addons/tree/main/hide_new_cards_until_next_day
19/5/2022

Cách tải addon Hide New Cards Until Next Day

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

1999327581

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 1999327581 và copy

2
1

Mô tả chi tiết

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’.


Liên kết hỗ trợ


Reviews (3)

👍 2025-12-22

Not working… Anki 25.02.5 (29192d15) (ao) Python 3.9.18 Qt 6.6.2 PyQt 6.6.1 Platform: Windows-10-10.0.26100

When loading Hide New Cards Until Next Day: Traceback (most recent call last): File “aqt.addons”, line 250, in loadAddons File “C:\Users\Daniel\AppData\Roaming\Anki2\addons21\1999327581_init_.py”, line 190, in <module> action.setShortcuts(QKeySequence(“Ctrl+Alt+t”)) TypeError: index 0 has type ‘QKeyCombination’ but ‘QKeySequence’ is expected

👍 2021-04-22

Please improve description of what it does: it hides new cards that have been added to Anki today until tomorrow.

(I thought and was looking for disabling learning any new cards for a day) Comment from author You are absolutely right. I apologize for the poor (actually, lack of) description. I took into account your comment and added, besides the documentation/description, the option you were looking for (now the default behavior is what you mentioned: ie. all new cards will be suspended for a

👍 2021-04-17

Fantastic addon!