alondmnt / joplin-plugin-jarvis

Joplin (note-taking) assistant running a very intelligent system (OpenAI/GPT, Hugging Face, Gemini, Llama, Universal Sentence Encoder, etc.)
GNU Affero General Public License v3.0
235 stars 22 forks source link

User Feedback #4

Closed MakingMadness closed 1 year ago

MakingMadness commented 1 year ago

Can we have some feedback on what's happening after a request is sent? An indicator that we're awaiting a response, and an error message if there is one?

For instance, I might press Ctrl+Shift+C and the border of the textarea starts glowing for the duration of whatever timeout period we're waiting. It gets an error message so the textarea stops glowing and the message is displayed to the user. If there's no response, once the timeout is reached the textarea stops glowing and the error "Request timed out. Check your connection." is displayed.

alondmnt commented 1 year ago

I agree that some feedback could be nice. I'll see what I can do in terms of visuals.

Currently, error messages are displayed in a dialog whenever something happens (error on server, bad API key, prompt errors, etc.). I believe this includes timeouts, however the maximal waiting period is very long by default.

I can implement a timeout mechanism (did it for the VS Code version of Jarvis at some point), where you can set the timeout period in the settings, and get an error dialog whenever time runs out. Does this sound helpful?

MakingMadness commented 1 year ago

Sure, that sounds great. It would be nice to not have to consider these things causing the delay instead:

And instead just see that something is clearly happening and everything is good.