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

Change pipeline selector dropdown to selection list #172330

Merged
merged 22 commits into from
Dec 4, 2023

Conversation

Mikep86
Copy link
Contributor

@Mikep86 Mikep86 commented Nov 30, 2023

Summary

In the "Add inference pipeline" flyout, change the existing pipeline selector dropdown to a selection list with search. Also re-organize the option layout to more closely match the layout implemented for ML pipeline cards in #172209.

Old:

Screenshot 2023-11-30 at 4 36 23 PM

Screenshot 2023-11-30 at 4 37 05 PM

New:

Screenshot 2023-11-30 at 4 12 32 PM

Screenshot 2023-11-30 at 4 26 33 PM

Checklist

@Mikep86 Mikep86 added release_note:skip Skip the PR/issue when compiling release notes Team:EnterpriseSearch v8.12.0 labels Nov 30, 2023
@Mikep86 Mikep86 requested review from TattdCodeMonkey, demjened, kderusso and a team November 30, 2023 21:44
pipeline: MLInferencePipelineOption;
}

// TODO: Make disabledReason required and remove EXISTING_PIPELINE_DISABLED_MISSING_SOURCE_FIELDS call without args
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is here to serve as a reminder to address this in a separate tech debt PR

);
};

export const PipelineSelectOption: React.FC<PipelineSelectOptionProps> = ({ pipeline }) => {
const modelIdDisplay = pipeline.modelId.length > 0 ? pipeline.modelId : MODEL_REDACTED_VALUE;
return (
<EuiFlexGroup direction="column" gutterSize="none">
// TODO: Add model state & pipeline info link. Make sure to check mobile rendering when doing this!
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Model state & pipeline info link was originally in scope, but was removed in the interest of meeting 8.12 FF. It will be added in a follow-up PR.

Copy link
Contributor

@demjened demjened left a comment

Choose a reason for hiding this comment

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

LGTM with 1 comment, great job!

Copy link
Contributor

@TattdCodeMonkey TattdCodeMonkey left a comment

Choose a reason for hiding this comment

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

LGTM

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
enterpriseSearch 2240 2241 +1

Async chunks

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

id before after diff
enterpriseSearch 2.7MB 2.7MB -810.0B

History

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

@Mikep86 Mikep86 merged commit 96b8c5f into elastic:main Dec 4, 2023
30 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Dec 4, 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 release_note:skip Skip the PR/issue when compiling release notes Team:EnterpriseSearch v8.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants