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

[Backport 2.x] [VisLib] Replace legend color palette with OUI color palette #4586

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 78ffbf5 from #4365.

* [VisLib] Replace legend color palette with OUI color palette

Replace hard-coded palette (of 8 colors with 7 variations each) with rotations from euiPaletteColorBlind
(of 10 colors with 7 variations each)

Fixes #4321

Signed-off-by: Josh Romero <[email protected]>

* update changelog

Signed-off-by: Josh Romero <[email protected]>

* Update legend unit test

Signed-off-by: Josh Romero <[email protected]>

* Update hard-coded legend color values in functional tests

Signed-off-by: Josh Romero <[email protected]>

---------

Signed-off-by: Josh Romero <[email protected]>
(cherry picked from commit 78ffbf5)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
@codecov
Copy link

codecov bot commented Jul 18, 2023

Codecov Report

Merging #4586 (7249b82) into 2.x (5b8b23a) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##              2.x    #4586   +/-   ##
=======================================
  Coverage   66.17%   66.17%           
=======================================
  Files        3315     3315           
  Lines       63890    63890           
  Branches     9961     9961           
=======================================
  Hits        42277    42277           
- Misses      19171    19245   +74     
+ Partials     2442     2368   -74     
Flag Coverage Δ
Linux_1 34.75% <100.00%> (ø)
Linux_2 55.06% <ø> (ø)
Linux_3 43.23% <ø> (ø)
Linux_4 35.08% <ø> (ø)
Windows_1 34.76% <100.00%> (ø)
Windows_2 55.03% <ø> (ø)
Windows_3 43.23% <ø> (ø)
Windows_4 35.08% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...e_vislib/public/vislib/components/legend/models.ts 100.00% <ø> (ø)
...ib/public/vislib/components/legend/legend_item.tsx 78.94% <100.00%> (+1.16%) ⬆️

... and 19 files with indirect coverage changes

@joshuarrrr joshuarrrr merged commit fb4198a into 2.x Jul 21, 2023
@joshuarrrr joshuarrrr deleted the backport/backport-4365-to-2.x branch July 21, 2023 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports distinguished-contributor v2.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants