Skip to content

New plugin API, viewer-charts features, replace @perspective-dev/viewer-openlayers#3176

Merged
texodus merged 4 commits into
masterfrom
gl-charts
May 21, 2026
Merged

New plugin API, viewer-charts features, replace @perspective-dev/viewer-openlayers#3176
texodus merged 4 commits into
masterfrom
gl-charts

Conversation

@texodus
Copy link
Copy Markdown
Member

@texodus texodus commented May 20, 2026

This PR introduces a new Plugin API which allows plugins to describe their configuration programmatically to the viewer the live in, allowing detailed plugin configuration without uilding custom configuration panels for each feature. In addition, this new core feature has been used as a basis to implement various side-quest updates to the new viewer-charts package.

This PR will break any custom plugin implementation.

viewer

  • New condensed plugin API:
    • Consolidates small methods into one (single call) plugin_static_config
    • Adds plugin_config_schema and column_config_schema to controls column config options from JS.
    • Removes save (state is managed viewer side now).
  • New tab bar for plugin_config menu and existing debug menu.
  • Port to lightningCSS (internal).

viewer-charts

  • Density and Maps chart packages (deprecates @perspective-dev/viewer-openlayers).
  • Ported engine to run (optionally) in a web worker, with its own Client instance for direct Arrow slices from the engine without impacting the main thread.
  • Implemented optional blit mode which copies frames to 2D Canvas instances to avoid the browser's GL context limit.
  • Framerate benchmark suite which measures rendering (not calculation).
  • Events (from d3fc).
  • Export (from d3fc).

texodus added 4 commits May 20, 2026 14:03
Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
…plugin_config_schema`

Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus texodus added enhancement Feature requests or improvements breaking labels May 20, 2026
@texodus texodus merged commit 51ffdde into master May 21, 2026
22 checks passed
@texodus texodus deleted the gl-charts branch May 21, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking enhancement Feature requests or improvements

Development

Successfully merging this pull request may close these issues.

1 participant