Importing: display warning message when headers don't match existing deck or note type

This import issue has happened to me several times.
The text file has import headers for the deck and the note type:
#deck:blah
#notetype:blah

Every once in a while, for whatever reason, I rename the decks or move them into a subfolder (sub::deck)

When I do this and import, there is no warning that the #deck header doesn’t match an existing deck. Instead, Anki picks another deck seemingly at random. Since I’m used to importing with headers several times a day, I don’t usually read all the pre-import window in detail. As a result, new cards get imported to the wrong deck.

It would be much more user-friendly if when a deck name don’t match, instead of just assigning a random deck, Anki displayed a warning message:
“The deck specified by the #deck header doesn’t exist”

Thank you for considering my feedback.

I think the current deck (highlighted in the main screen) is automatically chosen when the specified deck doesn’t exist.

2 Likes

Yes.
That doesn’t make sense, there needs to be a warning that the deck specified in the headers doesn’t exist.

1 Like

Or don’t select any deck by default and let the user choose it by themselves. If the user tries to import, show a pop-up saying “Please select a deck first”.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.