mui-toolpad icon indicating copy to clipboard operation
mui-toolpad copied to clipboard

Show more info on global variables in binding editor

Open Janpot opened this issue 2 years ago • 1 comments

From https://github.com/mui/mui-toolpad/issues/309

DX: In the "Bind a property" view, it would be interesting to know the nature of the global variable. Is it a component or an API state? It could help more quickly navigate what's available. We might even want to group them.

image

Some of the features we could consider:

  • group the scope variables
  • make them filterable with a searchbox
  • label/color them (e.g. this is a component, this is a query)
  • add longer form descriptions (perhaps in tooltips), links to documentation
  • show type information
  • add copy path to clipboard so it can be pasted in the editor
  • add longer form descriptions to the nested properties
  • ...?

Janpot avatar May 29 '22 13:05 Janpot

ref https://github.com/mui/mui-toolpad/pull/1096#discussion_r987927255

Janpot avatar Oct 05 '22 13:10 Janpot