ankitects/anki

CSV import error message is not ideal

開放

#4,346 建立於 2025年9月17日

 (4 則留言) (0 個反應) (0 位負責人)Rust (2,965 個分叉)batch import
good first issue

倉庫指標

星標
 (27,973 顆星)
PR 合併指標
 (平均合併 4天) (30 天內合併 68 個 PR)

描述

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

貢獻者指南