elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.71k stars 8.13k forks source link

Filter pinning lost when opening new tab (sometimes) #189928

Open andrewkcarter opened 1 month ago

andrewkcarter commented 1 month ago

Kibana version: 8.14.3, 8.12.2

Elasticsearch version: 8.14.3, 8.12.2

Server OS version: Elastic Cloud Hosted

Browser version: Firefox 128.0.3 (64-bit)

Browser OS version: Sonoma 14.5

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

Describe the bug: Pinned filters are preserved when navigating within a single browser tab. When opening views in a new browser tab, pinned filters are preserved, but not in all cases.

Works:

Doesn't work:

Steps to reproduce:

  1. Open Discover, create one or more filters and pin them.
  2. Open the left application menu, right-click on a Dashboard listed under Recently Viewed, open in new tab. This can also be done from the dashboards list and opening any dashboard in a new tab.
  3. The pinned filters are missing.
  4. In any dashboard, create one or more filters and pin them.
  5. Open the left application menu, right-click on Discover and open it in a new tab.
  6. Observe that pinned filters are present.

Expected behavior: Pinned filters are preserved when opening a page in a new tab, for any page that would preserve the pinned filters staying in a existing tab.

Screenshots (if relevant):

Errors in browser console (if relevant):

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

Any additional context:

elasticmachine commented 1 month ago

Pinging @elastic/kibana-visualizations (Team:Visualizations)

tsullivan commented 1 month ago

I think filter pinning is part of Unified Search (Visualizations team)

teresaalvarezsoler commented 1 month ago

Thank you for raising this issue @andrewkcarter.

@ThomThomson is this related with this other issue? https://github.com/elastic/kibana/issues/188914

ThomThomson commented 1 month ago

@teresaalvarezsoler this is partially related, but if we fix #188914 it won't fix all of this. This issue is much more broad, including Discover etc.

In my opinion, we should fix this holistically when we look at a new filtering paradigm.

teresaalvarezsoler commented 1 month ago

Ok, let's consider this as another issue to solve for the contextual navigation project. Fyi @ninoslavmiskovic