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

[8.x] [Lens] Fix partition theme after ech upgrade (#195269) #195474

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

## Summary

When I've updated elastic-charts with the last new version, the
`point.fill` parameter of lineSeriesStyle has changed in value. This
created an unwanted change also in the partition chart that was using
that style to color the partition sector borders.

I've removed the useless color override of `sectorLineStroke` in the
overwrite partition theme, leaving the control to use the chart theme.

I've also removed the possibility of unwanted changes for other
properties like `fontFamily` and in the `linkedText.textColor`.

In the same PR I've removed duplicated tests that where testing exactly
the same code/arguments/data, the only difference was the test name.

I've also refactored a bit the code, cleaning up the typings and
consolidating a bit the theme override logic

(cherry picked from commit 653073f)
@elasticmachine
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
expressionPartitionVis 35.9KB 35.5KB -398.0B

cc @markov00

@kibanamachine kibanamachine merged commit 0fba836 into elastic:8.x Oct 8, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants