Skip to content

[FEATURE] Add canvas panel plugin#729

Open
adrianSepiol wants to merge 2 commits into
perses:mainfrom
adrianSepiol:feature/canvas-panel-plugin
Open

[FEATURE] Add canvas panel plugin#729
adrianSepiol wants to merge 2 commits into
perses:mainfrom
adrianSepiol:feature/canvas-panel-plugin

Conversation

@adrianSepiol

@adrianSepiol adrianSepiol commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Description

Related to: perses/perses#3845

Introduces the canvas panel plugin — a free-form network diagram editor for building weathermap-style dashboards. Users can place nodes, connect them with edges, and overlay background shapes or images. Node and edge colors can be driven by query-bound thresholds, and edge thickness can scale with metric values.

Screenshots

Here's a walkthrough of the main interactions:

Example weather map created in canvas:

Screenshot 2026-07-20 at 15 24 28

Adding a node:

Screen.Recording.2026-07-20.at.15.26.09.mov

After creating a node, you can specify its label and position, add a link, bind a query to it, and use the query value in the label or derive the color from thresholds.

Adding an edge:

Screen.Recording.2026-07-20.at.15.26.45.mov

Edges are created by dragging from one node to another. They can be bidirectional and, like nodes, can have a query bound to them.

Zoom, pan, and resize:

Screen.Recording.2026-07-20.at.15.32.35.mov

Adding backgrounds:

adding.background.mov

Multiple backgrounds can be added with an image or a solid color at varying opacity levels. If "Global" is selected, the background always fills the entire view regardless of pan/zoom; otherwise it is scoped to a specified area.

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.

@adrianSepiol
adrianSepiol force-pushed the feature/canvas-panel-plugin branch 7 times, most recently from 3ea64b7 to 39b9803 Compare July 16, 2026 13:20
Signed-off-by: Adrian Sepiół <a.sepiol@sap.com>
[ENHANCEMENT] update panel schema re-exports to use @perses-dev/plugin-system

panelEditorSchema and buildPanelEditorSchema have moved from
@perses-dev/spec to @perses-dev/plugin-system.

Signed-off-by: Adrian Sepiół <a.sepiol@sap.com>
@adrianSepiol
adrianSepiol force-pushed the feature/canvas-panel-plugin branch from 39b9803 to d73e5e2 Compare July 17, 2026 07:54
@adrianSepiol
adrianSepiol marked this pull request as ready for review July 20, 2026 13:42
@adrianSepiol
adrianSepiol requested review from a team, AntoineThebaud and Nexucis as code owners July 20, 2026 13:42
@adrianSepiol
adrianSepiol requested review from shahrokni and removed request for a team July 20, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant