obsidian-functionplot icon indicating copy to clipboard operation
obsidian-functionplot copied to clipboard

Show warning when math equation is invalid

Open ShahriarKh opened this issue 3 years ago • 1 comments

What's your feature?

Currently, if the user enters an invalid math equation, there's no way to let them know there was an error, and the chart also displays incompletely.

Maybe we can do something like what Obsidian Dataview does: showing a warning message instead of showing an incomplete element.

Any related problems?

No response

Additional context?

No response

ShahriarKh avatar Nov 17 '22 12:11 ShahriarKh

Another great idea! The intention is to just silently update the plot but if the user finished typing and the expression is still invalid, we should display a warning, I agree.

leonhma avatar Nov 17 '22 12:11 leonhma