Skip to content

Production Ready Selection API for Embedded Graphistry #149

@exrhizo

Description

@exrhizo

Prior work here: #144

See: storybook
Simple Demo App

The full API will be to export user viz selections to the parent frame and allow the user to set selections from the parent. Development has been paused.

Status:

  • OnLabelsUpdate are available but don't include id or any row data
  • OnSelectionUpdate requires flag_unsafe_jsapi_export_row nexus flag
    • unsafe because a 3rd party website could embed and do data exfiltration with phishing attack
    • Fix for that is using JWT token on the parent site to authenticate subscriptions
  • The API for setting selections is temp hack for prototyping
    • Parent needs to use selection to get mapping from data id to our local id to set based on those
    • Further work looking at performance impacts of sending large selections is relevant
    • Set selection involves how we store local vs global indices, node server or frontend cache of the mapping

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions