Skip to content

[Short URLs] Silence warnings #242783

@ThomThomson

Description

@ThomThomson

Symptom

Often, when opening Dashboard or Discover, the user will be greeted with an intrusive warning.

Image

Cause

This happens when Kibana clusters turn on the Store URLs in session storage switch to lower the size of their URLs. Unfortunately, this setting causes problems when opening a URL from Kibana in a new tab - as the mechanism is unable to map the session storage ID in the URL to state in the session storage. This is because session storage is stored locally to the browser, on a per-tab basis.

To reproduce:

  1. Turn on the Store URLs in session storage advanced setting
  2. Refresh the page and navigate around until you see it begin to take effect. (Your URL will have h@{someId} inside it)
  3. Copy that URL
  4. Open a new tab and paste that URL.

Fix

We should silence these errors. The missing state is usually not extremely important, and if the users want the state they can always disable the setting. We should also update the text of the advanced setting to warn that copy pasting URLs with this setting on will not always result in an exact reproduction of the page as viewed.

Metadata

Metadata

Assignees

Labels

Team:DataDiscoveryDiscover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//Team:PresentationPresentation Team for Dashboard, Input Controls, and Canvas t//bugFixes for quality problems that affect the customer experienceimpact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.loe:smallSmall Level of Effort

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions