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

[8.0] chore: Refactors alerts search bar (#119104) #121194

Merged
merged 1 commit into from
Dec 14, 2021

Conversation

claudiopro
Copy link
Contributor

Summary

Refactors the alerts search bar to use the nullish coalescing operator ??, extract i18n strings to the newly created translations module, and defining a query language type to avoid repetition.

The UI renders fine as before, tests still pass.

Note: this is a manual backport of #119104 to 8.0 as the auto backport failed for merge conflicts.
Related: #121165

Screenshot 2021-11-18 at 22 18 31

Checklist

  • Unit or functional tests were updated or added to match the most common scenarios
  • Any UI touched in this PR is usable by keyboard only (learn more about keyboard accessibility)
  • Any UI touched in this PR does not create any new axe failures (run axe in browser: FF, Chrome)

* Refactors alerts search bar

* Fixes bad merge
@claudiopro claudiopro added release_note:skip Skip the PR/issue when compiling release notes Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" v8.0.0 labels Dec 14, 2021
@claudiopro claudiopro linked an issue Dec 14, 2021 that may be closed by this pull request
@claudiopro claudiopro enabled auto-merge (squash) December 14, 2021 16:05
@kibana-ci
Copy link
Collaborator

💚 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
observability 369.9KB 370.0KB +92.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@claudiopro claudiopro merged commit 0aa565a into elastic:8.0 Dec 14, 2021
@claudiopro claudiopro deleted the backport_8.0_119104 branch December 14, 2021 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RAC] Refactors alerts search bar
2 participants