finos / perspective

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
https://perspective.finos.org/
Apache License 2.0
7.72k stars 1.05k forks source link

Debug component #2574

Closed texodus closed 3 months ago

texodus commented 3 months ago

Adds a new debug component to <perspective-viewer>, accessible via a tab on the settings panel, which shows the live configuration of the viewer in JSON in a code editor along-side the viewer panel.

https://github.com/finos/perspective/assets/60666/9ab07105-bb55-4068-9d03-635d728302e3

gtxca commented 2 months ago

how can i disable this JSON in a code editor component?

Reason being, I wouldn't want users to be able to run JSON queries in production.

Instead, they should use the UI to drag/drop or type the column name out using the viewer panel.

texodus commented 2 months ago

This is not supported, nor is there any reason to do this - there is nothing the JSON editor can do that the UI cannot.