elastic / kibana

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

[Dataset quality] Breakdown field does not hydrate from URL. #196775

Open awahab07 opened 5 hours ago

awahab07 commented 5 hours ago

Kibana version: 8.16.0 and main

Elasticsearch version: na

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

Describe the bug: While visiting Dataset Quality details page with breakdownField pre configured in URL, the breakdown field on Degraded docs section does not reflect the URL's breakdownField state.

Steps to reproduce:

  1. Goto Dataset Quality page with some data streams listed.
  2. Click on a data stream and go to Dataset Quality Details page for that stream.
  3. Change the breakdown field under Degraded docs section and notice that the chosen breakdown field is reflected in URL by the pageState.breakdownField key.
  4. Refresh the page (or use browsers ◀ and ▶ buttons) and notice that the breakdown field would be initialized with no selected value.

Expected behavior: The breakdown field selector under Degraded docs section on Dataset Quality Details page should respect the pageState.breakdownField value.

Screenshots (if relevant):

https://github.com/user-attachments/assets/5bf7ac18-6e9d-4068-82b2-cd7a7bca7c4c

Errors in browser console (if relevant): No relevant errors in browser console.

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

Any additional context:

elasticmachine commented 5 hours ago

Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs)