Skip to content

[Dashboard] State being dropped when editing visualize embeddables #216886

Description

@Heenawter

Kibana version: main, 8.17, 8.16

Describe the bug:

The embeddableConfig is being dropped from visualize embeddables on navigation via the embeddable state transfer service.

Steps to reproduce:

  1. Create a new, empty dashboard and save it
  2. Navigate to the listing page ❗this step is very important in reproducing❗
  3. Re-open the dashboard from step 1
  4. Add a visualize embeddable (markdown, etc)
  5. Save the dashboard
  6. Duplicate the panel from step 4
  7. Edit the cloned panel
  8. Make a change then "save and return"
  9. The original panel is now corrupted 🔥

Screenshots (if relevant):

Screen.Recording.2025-04-02.at.10.15.38.AM.mov

Note that, if I save the above corrupted dashboard, the JSON of the panel showing the error looks like this:

{
  "type": "visualization",
  "embeddableConfig": {
    "enhancements": {}
  },
  "panelIndex": "6b44b04d-49a4-438e-a2a4-d7497b1c61e8",
  "gridData": {
    "x": 0,
    "y": 0,
    "w": 24,
    "h": 15,
    "i": "6b44b04d-49a4-438e-a2a4-d7497b1c61e8"
  }
}

Activity

  1. added
    bugFixes for quality problems that affect the customer experience
    on Apr 2, 2025
  2. added
    Team:PresentationPresentation Team for Dashboard, Input Controls, and Canvas t//
    and removed
    bugFixes for quality problems that affect the customer experience
    needs-teamIssues missing a team label
    on Apr 2, 2025
  3. elasticmachine commented on Apr 2, 2025

    @elasticmachine
    Contributor

    Pinging @elastic/kibana-presentation (Team:Presentation)

  4. added
    bugFixes for quality problems that affect the customer experience
    impact:highAddressing this issue will have a high level of impact on the quality/strength of our product.
    on Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Feature:DashboardDashboard related featuresFeature:EmbeddablesRelating to the Embeddable systemTeam:PresentationPresentation Team for Dashboard, Input Controls, and Canvas t//bugFixes for quality problems that affect the customer experienceimpact:highAddressing this issue will have a high level of impact on the quality/strength of our product.project:embeddableRebuildregression

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions