ankitects/anki

CSV import error message is not ideal

Ouverte

#4 346 ouverte le 17 sept. 2025

 (4 commentaires) (0 réaction) (0 personne assignée)Rust (2 965 forks)batch import
good first issue

Métriques du dépôt

Stars
 (27 973 étoiles)
Métriques de merge PR
 (Merge moyen 4j) (68 PRs mergées en 30 j)

Description

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

Guide contributeur