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
8.38k stars 1.17k forks source link

Persist column settings across plugins #2469

Closed ada-x64 closed 8 months ago

ada-x64 commented 10 months ago

First step in fixing https://github.com/finos/perspective/issues/1610

Based on #2443

This PR moves the datagrid's integer and floating point precision out of the plugin settings and into a new perspective-viewer config field called column_config. This is communicated to the plugin by passing the viewer config to the plugin directly on restore.

CHANGES:

TODO:

ada-x64 commented 8 months ago

The approach in this PR is not going to work. We need to overhaul a few things. Superseded by https://github.com/finos/perspective/pull/2508