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

[ML] Hide Data Grid column options when histogram charts are enabled. #79459

Merged
merged 3 commits into from
Oct 6, 2020

Conversation

walterra
Copy link
Contributor

@walterra walterra commented Oct 5, 2020

Summary

Quick fix for #79066.

EUI v29.3.0 introduces new column actions for EuiDataGrid.

The default layout with the vertical alignment of the action icon doesn't play well with the custom histogram charts we added to the Data Frame Analytics and Transform Wizard data grids.

The PR is a quick fix to disable and hide the columns actions when the histogram charts are enabled. We can think of a better design in a followup.

datagrid-header-3

Checklist

For maintainers

@walterra walterra added bug Fixes for quality problems that affect the customer experience regression :ml v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Feature:Transforms ML transforms Feature:Data Frame Analytics ML data frame analytics features v7.10.0 labels Oct 5, 2020
@walterra walterra requested a review from peteharverson October 5, 2020 13:35
@walterra walterra self-assigned this Oct 5, 2020
@walterra
Copy link
Contributor Author

walterra commented Oct 5, 2020

@chandlerprall would be great if you can ping @peteharverson once EUI v29.3.0 is in master so we can follow up with this one (I'll be out rest of the week).

@chandlerprall
Copy link
Contributor

@peteharverson the EUI v29.3.0 PR has merged into master. I'm setting up a 7.x backport now.

@peteharverson
Copy link
Contributor

@elasticmachine merge upstream

@peteharverson peteharverson marked this pull request as ready for review October 6, 2020 08:09
@peteharverson peteharverson requested a review from a team as a code owner October 6, 2020 08:09
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

Tested and LGTM

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

async chunks size

id before after diff
ml 10.6MB 10.6MB +520.0B

History

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

@peteharverson peteharverson merged commit 045e7d9 into elastic:master Oct 6, 2020
peteharverson pushed a commit to peteharverson/kibana that referenced this pull request Oct 6, 2020
…elastic#79459)

* [ML] Fix data grid actions.

* [ML] fix columnsWithChartsActionized

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
peteharverson added a commit that referenced this pull request Oct 6, 2020
…#79459) (#79640)

* [ML] Fix data grid actions.

* [ML] fix columnsWithChartsActionized

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>

Co-authored-by: Walter Rafelsberger <walter@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
gmmorris added a commit that referenced this pull request Oct 8, 2020
…into feature/task_manager_429

* 'feature/task_manager_429' of github.com:elastic/kibana: (158 commits)
  Add license check to direct package upload handler. (#79653)
  [Ingest Manager] Rename API /api/ingest_manager => /api/fleet (#79193)
  [Security Solution][Resolver] Simplify CopyableField styling and add comments (#79594)
  Fine-tunes ML related text on Metrics UI (#79425)
  [ML] DF Analytics creation wizard: ensure job creation possible when model memory lower than estimate (#79229)
  Add new "Add Data" tutorials (#77237)
  Update APM telemetry docs (#79583)
  Revert "Add support for runtime field types to mappings editor. (#77420)" (#79611)
  Kibana request headers (#79218)
  ensure missing indexPattern error is bubbled up to error callout (#79378)
  Missing space fix (#79585)
  remove duplicate tab states (#79501)
  [data.ui] Lazy load UI components in data plugin. (#78889)
  Add generic type params to search dependency. (#79608)
  [Ingest Manager] Internal action for policy reassign (#78493)
  [ILM] Add index_codec to forcemerge action in hot and warm phases (#78175)
  [Ingest Manager] Update open API spec and add condition to agent upgrade endpoint (#79579)
  [ML] Hide Data Grid column options when histogram charts are enabled. (#79459)
  [Telemetry] Synchronous `setup` and `start` methods (#79457)
  [Observability] Persist time range across apps (#79258)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Data Frame Analytics ML data frame analytics features Feature:Transforms ML transforms :ml regression release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants