Skip to content

Back button doesn’t work in Visualize #55084

@flash1293

Description

@flash1293

Kibana version: master, most likely also 7.6 feature branch

Elasticsearch version:

Server OS version:

Browser version:

Browser OS version:

Original install method (e.g. download page, yum, from source, etc.):

Describe the bug: Pressing the back button in visualize doesn’t undo the last change. The history seems to get written correctly because the url changes, but these changes are not applied to the editor. It looks like the changes from app state are not propagated correctly - maybe a problem with digest cycles and change listeners, but more investigation is necessary.

Steps to reproduce:

  1. Go to visualize
  2. Open a new visualization
  3. Edit stuff (e.g. adding aggregations)
  4. Press back button
  5. Current config state doesn’t change
  6. Pressing back button repeatedly eventually leads back to the listing page

Expected behavior: Back button should undo the last config change and reload the chart

Screenshots (if relevant):

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:Vis EditorVisualization editor issuesTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//bugFixes for quality problems that affect the customer experience

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions