Skip to content

Conversation

@byronhulcher
Copy link
Contributor

Summary

This mirrors work already done in the standalone UI.

Checklist

@byronhulcher byronhulcher added Feature:Plugins release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed v7.15.0 v7.16.0 v7.15.1 labels Sep 1, 2021
@byronhulcher byronhulcher self-assigned this Sep 1, 2021
@byronhulcher byronhulcher requested a review from a team September 1, 2021 18:51
@byronhulcher byronhulcher enabled auto-merge (squash) September 1, 2021 18:51
Copy link
Contributor

@orhantoy orhantoy left a comment

Choose a reason for hiding this comment

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

Looks good 💪 Just found a few minor things.

expect(wrapper.find(EuiIcon).prop('color')).toEqual('success');
});

it('shows an alert icon when invalid', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this have been

Suggested change
it('shows an alert icon when invalid', () => {
it('shows a warning icon when invalid', () => {

?

});
it('does not display the passed error message or action when state is not invalid', () => {

it('displays the passed error message and action is warning', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this have been

Suggested change
it('displays the passed error message and action is warning', () => {
it('displays the passed error message and action when state is warning', () => {

?

const wrapper = shallow(
<ValidationStepPanel
step={{ state: 'warning', message: errorMessage }}
label={'initialValidation'}
Copy link
Contributor

Choose a reason for hiding this comment

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

Couldn't we assign directly here like

Suggested change
label={'initialValidation'}
label='initialValidation'

?

@byronhulcher
Copy link
Contributor Author

Thanks for the review @orhantoy sorry this was a little sloppy.

Copy link
Contributor

@orhantoy orhantoy left a comment

Choose a reason for hiding this comment

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

🏆

@kibanamachine
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
enterpriseSearch 2.2MB 2.2MB +239.0B

History

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

cc @byronhulcher

@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.15
7.x

The backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Sep 2, 2021
…0990)

Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine added backport missing Added to PRs automatically when the are determined to be missing a backport. and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Sep 6, 2021
kibanamachine added a commit that referenced this pull request Sep 6, 2021
…0991)

Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Deprecated - use backport:version if exact versions are needed Feature:Plugins release_note:skip Skip the PR/issue when compiling release notes v7.15.0 v7.15.1 v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants