ankitects/anki

CSV import error message is not ideal

Aperta

#4346 aperta il 17 set 2025

 (4 commenti) (0 reazioni) (0 assegnatari)Rust (2965 fork)batch import
good first issue

Metriche repository

Star
 (27.973 stelle)
Metriche merge PR
 (Merge medio 4g) (68 PR mergiate in 30 g)

Descrizione

How to reproduce:

  • Have a empty file empty.csv
  • do file>import and import empty.csv

Actual result:

  • a view titled "Import file", with content "500: The file you selected is empty". and nothing else

Expected:

  • 500 should not be here. It's not user relevant.
  • there should at least be a button to close the view. In practice it can be closed with esc, and I assume other standard shortcut, but it's not discoverable

Guida contributor