b310-digital / teammapper

Mindmapping made simple: Host and create your own mindmaps. Share your mindmap sessions with your team and collaborate on mindmaps.
https://teammapper.org
MIT License
202 stars 16 forks source link

Missing toast when trying to delete root node #303

Open sorenjohanson opened 1 week ago

sorenjohanson commented 1 week ago

Proposed feature Currently, there's an error being logged to the console whenever a user tries to delete the root node, but nothing happens otherwise. We should display a toast instead telling the user that the root node can't deleted.

sorenjohanson commented 1 day ago

Looking at this, it might make more sense to display an error toast in general when we call Log.error(), though not sure how useful most of these error messages are for end clients.