Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dataset quality] Add missing breakdownField while hydrating the Dataset Quality Details state. #196798

Conversation

awahab07
Copy link
Contributor

@awahab07 awahab07 commented Oct 18, 2024

Fixes #196775.

Summary

The PR simply adds the missing breakdownField while hydrating the context state from public state (e.g. from URL state).

@awahab07 awahab07 requested a review from a team as a code owner October 18, 2024 07:42
@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Oct 18, 2024
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@awahab07 awahab07 added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Team:obs-ux-logs Observability Logs User Experience Team labels Oct 18, 2024
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@yngrdyn yngrdyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we didn't notice this miss? Would it be too much to cover with test?

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
datasetQuality 229.0KB 229.0KB +32.0B

@awahab07 awahab07 merged commit f31fa68 into elastic:main Oct 18, 2024
32 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11405447423

@awahab07
Copy link
Contributor Author

Why we didn't notice this miss? Would it be too much to cover with test?

The property is nullable in state that's why we missed it. Ideally it should be covered by tests but an e2e test for this feels too costly. Perhaps we should invest some time in setting up unit testing wrappers for such components.

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 18, 2024
…taset Quality Details state. (elastic#196798)

Add the missing `breakdownField` while hydrating the context state from public state (e.g. from URL state).

(cherry picked from commit f31fa68)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 18, 2024
…hydrating the Dataset Quality Details state. (#196798) (#196894)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Dataset quality] Add missing `breakdownField` while
hydrating the Dataset Quality Details state.
(#196798)](#196798)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Abdul Wahab
Zahid","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-18T14:18:27Z","message":"[Dataset
quality] Add missing `breakdownField` while hydrating the Dataset
Quality Details state. (#196798)\n\nAdd the missing `breakdownField`
while hydrating the context state from public state (e.g. from URL
state).","sha":"f31fa68b801938619b86627d2be3f6be6ade8a6c","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-logs"],"title":"[Dataset
quality] Add missing `breakdownField` while hydrating the Dataset
Quality Details
state.","number":196798,"url":"https://github.com/elastic/kibana/pull/196798","mergeCommit":{"message":"[Dataset
quality] Add missing `breakdownField` while hydrating the Dataset
Quality Details state. (#196798)\n\nAdd the missing `breakdownField`
while hydrating the context state from public state (e.g. from URL
state).","sha":"f31fa68b801938619b86627d2be3f6be6ade8a6c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196798","number":196798,"mergeCommit":{"message":"[Dataset
quality] Add missing `breakdownField` while hydrating the Dataset
Quality Details state. (#196798)\n\nAdd the missing `breakdownField`
while hydrating the context state from public state (e.g. from URL
state).","sha":"f31fa68b801938619b86627d2be3f6be6ade8a6c"}}]}]
BACKPORT-->

Co-authored-by: Abdul Wahab Zahid <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-logs Observability Logs User Experience Team v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Dataset quality] Breakdown field does not hydrate from URL.
4 participants