Skip to content

feature request: rrweb canvas tracking #369

@ondrej-langr

Description

@ondrej-langr

Hey,
currently im in a need of tracking interactions with canvas elements which current openpanel rrweb setup does not allow. There are few options according to their docs here https://github.com/rrweb-io/rrweb/blob/master/docs/recipes/canvas.md.

Ideal setup from my point of view would be to allow selfhosting users to set it up in their own way.

More specifically:

  • let users create
    • config-api.js/config-api.ts
    • config-panel.js/config-panel.ts
  • expose config utils to setup the openpanel through javascript/typescript in said config files
  • load said config files upon start of api or the admin panel

This would allow not only custom config for rrweb but also a way to customize more things related to other functionalities. It would definitely be a successor to the numerous of env vars.

WDYT? Im open to create first draft of implementation - either the proposed config or a simple way to enable the canvas recording/replay

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions