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

chore(NA): upgrades uuid to v9.0.0 #149135

Merged
merged 30 commits into from
Jan 19, 2023
Merged

chore(NA): upgrades uuid to v9.0.0 #149135

merged 30 commits into from
Jan 19, 2023

Conversation

mistic
Copy link
Member

@mistic mistic commented Jan 18, 2023

This PR upgrades uuid into its latest version 9.0.0.
The previous default used version v4 was kept where it was previously used and places using v1 or v5 are still using it.

In this latest version they removed the deep import feature and as we are not using tree shaking it increased our bundles by a significant size. As such, I've moved this dependency into the ui-shared-deps-npm bundle.

@elastic elastic deleted a comment from kibana-ci Jan 18, 2023
@elastic elastic deleted a comment from kibana-ci Jan 18, 2023
@mistic mistic added chore release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting v8.7.0 Team:Operations Team label for Operations Team labels Jan 18, 2023
@elastic elastic deleted a comment from kibana-ci Jan 18, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@mistic mistic requested review from a team as code owners January 19, 2023 18:16
@mistic mistic requested review from pzl, tomsonpl and maximpn January 19, 2023 18:16
Copy link
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

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

LGTM

@botelastic botelastic bot added Feature:Embedding Embedding content via iFrame Team:APM All issues that need APM UI Team support Team:Fleet Team label for Observability Data Collection Fleet team Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability labels Jan 19, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:APM)

@mistic mistic removed Feature:Embedding Embedding content via iFrame Team:APM All issues that need APM UI Team support Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability Team:Fleet Team label for Observability Data Collection Fleet team labels Jan 19, 2023
@mistic
Copy link
Member Author

mistic commented Jan 19, 2023

I'm going ahead and merge this PR due to the cost of keeping it open. This is a simple uuid upgrade from a previous deprecated version into the latest and the new usage of the library is just using regular imports. Let me know if you have any additional feedback.

@mistic mistic merged commit e38350f into elastic:main Jan 19, 2023
adcoelho added a commit that referenced this pull request Jan 25, 2023
Fixes #148084

[The uuid PR was merged](#149135)
so I am removing the `draft` status here.

## Summary

This PR introduces search by UUID in the Cases table. 

If a user puts a UUID in the search bar and presses enter the search
result will now return the case with that ID.

Additionally, we look for the matches of that search text in the title
and description fields.

See the example below:

<img width="1554" alt="Screenshot 2023-01-19 at 16 06 53"
src="https://user-images.githubusercontent.com/1533137/213477884-498d34c0-d4d1-405d-8d76-f077d46157aa.png">

We are searching for `733e1c40-9586-11ed-a29f-8b57be9cf211`. There are
two matches because that search text matches the ID of a case and the
title of another.

### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))


### Release notes

Users can now search for Cases by ID.

Co-authored-by: kibanamachine <[email protected]>
@jbudz jbudz mentioned this pull request Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting chore release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v8.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants