steven-tey / novel

Notion-style WYSIWYG editor with AI-powered autocompletion.
https://novel.sh
Apache License 2.0
11.8k stars 980 forks source link

feat: Possibility to await a slash command and display a loading spinner? #385

Open mikealche opened 2 months ago

mikealche commented 2 months ago

Describe the feature you'd like to request

Hey everybody! Thank you very much for this beautiful project!

It'd be an amazing feature if one could await the slash command completion feature (say you need to call an API) before instantly closing the menu. Ideally maybe one could also display a loading spinner icon instead of the regular icon of the suggestionItem in

Again, thank you very much for this great project