mui / toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
964 stars 243 forks source link

Missing code editor workflow #1765

Closed Janpot closed 1 year ago

Janpot commented 1 year ago

Duplicates

Latest version

Steps to reproduce 🕹

Steps:

  1. Don't have vscode installed, or don't have the CLI command installed
  2. Try to open the editor from the UI (e.g. through the button in the query editor)

Current behavior 😯

It fails to open an editor or any other useful feedback

Expected behavior 🤔

At least show a message that opening the editor failed

Context 🔦

launchEditor in react-dev-utils seems to handle cases like this better

Your environment 🌎

No response

Janpot commented 1 year ago

Duplicate of https://github.com/mui/mui-toolpad/issues/1689