Skip to content

[7.x] [ML] Transforms: Fix tab ids for expanded row. (#80666)#80934

Merged
walterra merged 1 commit intoelastic:7.xfrom
walterra:backport/7.x/pr-80666
Oct 17, 2020
Merged

[7.x] [ML] Transforms: Fix tab ids for expanded row. (#80666)#80934
walterra merged 1 commit intoelastic:7.xfrom
walterra:backport/7.x/pr-80666

Conversation

@walterra
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

We based the IDs to identify expanded row tabs on the transform ID. This could break the page because the transform ID could include characters (e.g. dots) not supported by EUI's tabbed content component. This fixes the issue by using the stringHash() utility to create the IDs.
@walterra walterra added the backport This PR is a backport of another PR label Oct 17, 2020
@walterra walterra self-assigned this Oct 17, 2020
@walterra walterra added the :ml label Oct 17, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

async chunks size

id before after diff
transform 1.2MB 1.2MB +208.0B

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

@walterra walterra merged commit 59348cc into elastic:7.x Oct 17, 2020
@walterra walterra deleted the backport/7.x/pr-80666 branch October 17, 2020 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR :ml

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants