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

Remove duplicates from inference_endpoint combo #181935

Merged
merged 4 commits into from May 6, 2024

Conversation

saikatsarkar056
Copy link
Contributor

@saikatsarkar056 saikatsarkar056 commented Apr 28, 2024

When the default inference_endpoint doesn't exist, a new one is created for the user whenever they click 'Add field'. However, this results in the newly created inference_endpoint being displayed as a duplicate in the inference_id combo selection.

In PR covers the following:

  • Remove duplicates
  • add some tests for slect_inference_id.tsx

@saikatsarkar056 saikatsarkar056 requested a review from a team as a code owner April 28, 2024 06:08
@saikatsarkar056 saikatsarkar056 added v8.15.0 backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes labels Apr 29, 2024
@saikatsarkar056
Copy link
Contributor Author

@elasticmachine merge upstream

@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
indexManagement 654.8KB 655.0KB +178.0B

History

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

@yuliacech yuliacech self-requested a review May 6, 2024 09:25
Copy link
Contributor

@yuliacech yuliacech left a comment

Choose a reason for hiding this comment

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

Thanks a lot for adding the tests, @saikatsarkar056!
Code changes LGTM, didn't test locally

@saikatsarkar056 saikatsarkar056 merged commit 91c04ff into elastic:main May 6, 2024
17 checks passed
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 release_note:skip Skip the PR/issue when compiling release notes v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants