Dashboard "snapshot share" is not sharing panel state in view mode #66875
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Dashboard
Dashboard related features
regression
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
Kibana version: 7.7 - master
Describe the bug: #62415 removed the panel state from the URL when in "View" mode. This makes the behavior of the "Share" panel confusing for snapshot mode - in the tooltip it states:
Steps to reproduce:
3.
are visibleExpected behavior:
Changes from
3.
should not affect the snapshot URLAny additional context:
In edit mode everything behaves as expected. A possible fix for this would be to not just pass
window.location.href
into the share menu, but add the full state the URL first: https://github.com/flash1293/kibana/blob/2f75810f16980f8ddea2df07c3cb448ce5fce276/src/plugins/dashboard/public/application/dashboard_app_controller.tsx#L929The text was updated successfully, but these errors were encountered: