Richasy / FantasyCopilot

A new-age AI desktop tool
MIT License
430 stars 19 forks source link

Show error dialog when import failed #42

Closed Richasy closed 1 year ago

Richasy commented 1 year ago

Close #38

  1. If the import of the knowledge base file fails, notify the user through a dialog box.
  2. Release the database occupancy promptly after importing a file or folder.

PR type

What is the purpose of this PR?

What is the current behavior?

After a failed import, although there is a prompt, it is easy to overlook.

What is the new behavior?

Provide more explicit prompts.

PR checklist

Please check that your PR meets the following requirements: