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.73k stars 1.05k forks source link

Move Column Settings from Plugin to Viewer with Column Settings Layout API #2521

Closed ada-x64 closed 3 months ago

ada-x64 commented 5 months ago

Based on #2500; merges #2502 for SVG testing support

This PR aims to create a control-based API for column settings, bringing column-based settings from plugin configs to the viewer. This will allow us to support column settings which persist across plugins, e.g. numeric precision.

The design intends to allow plugin authors to use a number of viewer-defined "style controls." These style controls will affect column_config settings per row. This PR only changes the plugin API and maintains the existing style controls on the datagrid and x/y scatter chart. Following PRs will break up the current monolithic and type-based controls into more fine-grained and reusable controls.

Changes:

Notes:

texodus commented 3 months ago

Thanks for the PR!

Superseded by #2563