Skip to content

[Logs UI] move ML job setup UI to a flyout#68366

Merged
afgomez merged 24 commits intoelastic:masterfrom
afgomez:64754-ml-setup-flyout
Jul 6, 2020
Merged

[Logs UI] move ML job setup UI to a flyout#68366
afgomez merged 24 commits intoelastic:masterfrom
afgomez:64754-ml-setup-flyout

Conversation

@afgomez
Copy link
Copy Markdown
Contributor

@afgomez afgomez commented Jun 5, 2020

Summary

Move the setup of log entry rate and categorization jobs to a flyout.

Closes #64754

Checklist

Delete any items that are not applicable to this PR.

@afgomez afgomez added v8.0.0 Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.9.0 labels Jun 5, 2020
@afgomez afgomez force-pushed the 64754-ml-setup-flyout branch 2 times, most recently from 706c054 to 62ac6d2 Compare June 8, 2020 12:25
@afgomez afgomez force-pushed the 64754-ml-setup-flyout branch from 62ac6d2 to 1b89fd2 Compare June 8, 2020 17:10
@afgomez afgomez requested a review from weltenwort June 10, 2020 13:01
Copy link
Copy Markdown
Member

@weltenwort weltenwort left a comment

Choose a reason for hiding this comment

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

As mentioned on a different channel, the overall direction looks good. I left a few thoughts on state and component hierarchy below.

Render the flyout only in the setup and the results components,
controlling the visibility locally.
@sgrodzicki sgrodzicki added this to the Logs UI 7.9 milestone Jun 24, 2020
@afgomez afgomez marked this pull request as ready for review June 24, 2020 15:14
@afgomez afgomez requested a review from a team as a code owner June 24, 2020 15:14
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@afgomez afgomez added release_note:enhancement release_note:skip Skip the PR/issue when compiling release notes and removed release_note:enhancement labels Jun 24, 2020
@afgomez afgomez requested a review from weltenwort June 25, 2020 08:25
Copy link
Copy Markdown
Member

@weltenwort weltenwort left a comment

Choose a reason for hiding this comment

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

👀 Reviewing on behalf of @elastic/logs-metrics-ui...

Copy link
Copy Markdown
Member

@weltenwort weltenwort left a comment

Choose a reason for hiding this comment

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

This is pretty readable 👍 I left some comments about the text and the flyout visibility state below.

afgomez and others added 2 commits June 30, 2020 11:00
…ge_setup_content.tsx

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
@afgomez afgomez requested a review from weltenwort June 30, 2020 10:32
Copy link
Copy Markdown
Member

@weltenwort weltenwort left a comment

Choose a reason for hiding this comment

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

This seems to work pretty well now 👏

I noticed one difference between the log rate and categories tabs in that the flyout is not opened automatically in the log rate tab when the setup status indicates that the jobs are missing. Is that intentional?

I left a suggestion about improving the post-setup success state quirk in an earlier comment already.

Otherwise I think we're pretty close to done on this one after the tests pass and the text is smoothed out.

@afgomez afgomez requested a review from weltenwort July 2, 2020 15:32
@afgomez
Copy link
Copy Markdown
Contributor Author

afgomez commented Jul 3, 2020

@elasticmachine merge upstream

@afgomez
Copy link
Copy Markdown
Contributor Author

afgomez commented Jul 6, 2020

@elasticmachine merge upstream

Copy link
Copy Markdown
Member

@weltenwort weltenwort left a comment

Choose a reason for hiding this comment

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

The post-setup state makes sense now as well 👍

One thing I commented on earlier still occurs: The flyout is not opened automatically in the log rate tab when the setup status indicates that the jobs are missing. Is that an intentional difference between the log rate and categories tab?

@afgomez
Copy link
Copy Markdown
Contributor Author

afgomez commented Jul 6, 2020

The flyout is not opened automatically in the log rate tab

That's a mistake I missed. I'll fix it straight away

Copy link
Copy Markdown
Member

@weltenwort weltenwort left a comment

Choose a reason for hiding this comment

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

Thanks for polishing it so much and making it robust - good job 👏

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

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

@afgomez afgomez merged commit b172b5b into elastic:master Jul 6, 2020
@afgomez afgomez deleted the 64754-ml-setup-flyout branch July 6, 2020 15:04
afgomez pushed a commit to afgomez/kibana that referenced this pull request Jul 6, 2020
Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
afgomez pushed a commit that referenced this pull request Jul 7, 2020
Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Logs UI Logs UI feature release_note:skip Skip the PR/issue when compiling release notes Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.9.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Logs UI] Move ML job setup to flyout

6 participants