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

[DRAFT] Color calculation testing branch #190593

Conversation

mgadewoll
Copy link
Contributor

@mgadewoll mgadewoll commented Aug 15, 2024

Important

This is only a testing branch and should not be merged.
This Draft PR is based of a non-merged EUI update PR to ensure parity. (Hence additional changes)

@mgadewoll mgadewoll added ci:cloud-deploy Create or update a Cloud deployment ci:cloud-persist-deployment Persist cloud deployment indefinitely labels Aug 15, 2024
@mgadewoll mgadewoll changed the title [DRAFT] Color calculation testin branch [DRAFT] Color calculation testing branch Aug 15, 2024
@mgadewoll mgadewoll force-pushed the visual-refresh/color-matrix-calculations-spike branch from 60856ac to 6de9f69 Compare August 15, 2024 12:50
@mgadewoll
Copy link
Contributor Author

buildkite test this

cee-chen and others added 23 commits August 23, 2024 15:28
- caused by additional Emotion wrapper that matches the same selector
…ration

- default props are no longer read/rendered by enzyme's snapshotter
…to `useGeneratedHtmlId`

- requires updating mocks
- checkbox and radio inputs should now be directly clickable, and have a different DOM wrapper
- use EuiTitle size and font weight instead
- `.spcShareToSpaceIncludeRelated` isn't actually used anywhere in Kibana
- EuiCheckbox DOM has changed since, color: inherit should work for both disabled and non-disabled checkboxes
…ons with components instead

- in the cast of the `prepend` prop, `<EuiFormLabel>` is already automatically used if the prepend type is a string
- EuiFormControlLayout should automatically handle styling, and prepend/append nodes shouldn't be used outside of form layouts
…Group`s

- EuiDescribedFormGroups already automatically accounts for form rows without labels, so the `hasEmptyLabelSpace` prop is now unnecessary and adds extra unwanted spacing
- contains all the backports + several requested new features from Kibana consumers
- remove now-unnecessary unsets or importants

- tweak heights/vertical centering etc

- [feat] rewrite range slider CSS in Emotion vs Sass + with new CSS variables etc
- doesn't apply and isn't necessary, removing it gets the button group back to the previous prod rendering
@mgadewoll
Copy link
Contributor Author

buildkite test this

@kibana-ci
Copy link
Collaborator

kibana-ci commented Aug 30, 2024

⏳ Build in-progress, with failures

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #8 / App renders properly
  • [job] [logs] Jest Tests #14 / Color Palette colorTransformer() should just work
  • [job] [logs] Jest Tests #14 / Color Palette colorTransformer() should just work
  • [job] [logs] Jest Tests #17 / Core web vital config test should return expected json
  • [job] [logs] Jest Tests #17 / Core web vital config test should return expected json
  • [job] [logs] Jest Tests #4 / createLayerDescriptor apm data stream
  • [job] [logs] Jest Tests #4 / createLayerDescriptor apm index
  • [job] [logs] Jest Tests #4 / createLayerDescriptor non-apm index
  • [job] [logs] Jest Tests #14 / createTSVBLink() should change series to area
  • [job] [logs] Jest Tests #14 / createTSVBLink() should change series to area
  • [job] [logs] Jest Tests #14 / createTSVBLink() should change series to area and stacked
  • [job] [logs] Jest Tests #14 / createTSVBLink() should change series to area and stacked
  • [job] [logs] Jest Tests #14 / createTSVBLink() should just work
  • [job] [logs] Jest Tests #14 / createTSVBLink() should just work
  • [job] [logs] Jest Tests #14 / createTSVBLink() should remove axis_min from link
  • [job] [logs] Jest Tests #14 / createTSVBLink() should remove axis_min from link
  • [job] [logs] Jest Tests #14 / createTSVBLink() should use the workaround index pattern when there are multiple listed in the source
  • [job] [logs] Jest Tests #14 / createTSVBLink() should use the workaround index pattern when there are multiple listed in the source
  • [job] [logs] Jest Tests #14 / createTSVBLink() should work with filterQuery
  • [job] [logs] Jest Tests #14 / createTSVBLink() should work with filterQuery
  • [job] [logs] Jest Tests #14 / createTSVBLink() should work with rates
  • [job] [logs] Jest Tests #14 / createTSVBLink() should work with rates
  • [job] [logs] Jest Tests #14 / createTSVBLink() should work with time range
  • [job] [logs] Jest Tests #14 / createTSVBLink() should work with time range
  • [job] [logs] FTR Configs #60 / dashboard app - group 3 dashboard state Overriding colors on an area chart is preserved
  • [job] [logs] FTR Configs #80 / dashboard app - group 6 dashboard snapshots compare controls snapshot in light mode
  • [job] [logs] FTR Configs #44 / dashboard Reporting Dashboard Reporting Screenshots Sample data from Kibana 7.6 PNG file matches the baseline image
  • [job] [logs] FTR Configs #44 / dashboard Reporting Dashboard Reporting Screenshots Sample data from Kibana 7.6 PNG file matches the baseline image
  • [job] [logs] Jest Tests #11 / deserialize should deserialize fields
  • [job] [logs] Jest Tests #11 / deserialize should deserialize fields
  • [job] [logs] FTR Configs #23 / discover/context_awareness extension getRowIndicatorProvider should render log.level row indicators
  • [job] [logs] FTR Configs #79 / discover/context_awareness extension getRowIndicatorProvider should render log.level row indicators
  • [job] [logs] FTR Configs #92 / discover/context_awareness extension getRowIndicatorProvider should render log.level row indicators
  • [job] [logs] FTR Configs #95 / discover/context_awareness extension getRowIndicatorProvider should render log.level row indicators
  • [job] [logs] FTR Configs #95 / discover/context_awareness extension getRowIndicatorProvider should render log.level row indicators
  • [job] [logs] FTR Configs #23 / discover/context_awareness extension getRowIndicatorProvider should render log.level row indicators
  • [job] [logs] FTR Configs #92 / discover/context_awareness extension getRowIndicatorProvider should render log.level row indicators
  • [job] [logs] FTR Configs #79 / discover/context_awareness extension getRowIndicatorProvider should render log.level row indicators
  • [job] [logs] Jest Tests #4 / dynamic ordinal predefined color ramp Should return center color from color ramp
  • [job] [logs] Jest Tests #4 / get mapbox color expression (via internal _getMbColor) categorical color palette pre-defined color palette should return mapbox expression for color palette
  • [job] [logs] Jest Tests #4 / get mapbox color expression (via internal _getMbColor) ordinal color ramp interpolate color ramp should return mapbox expression for color ramp
  • [job] [logs] Jest Tests #4 / getColorPalette Should create RGB color ramp
  • [job] [logs] Jest Tests #4 / getColorRampCenterColor Should get center color from color ramp
  • [job] [logs] Jest Tests #4 / getDescriptorWithUpdatedStyleProps When styles should revert to static styling Should convert dynamic styles to static styles when there are no next fields
  • [job] [logs] Jest Tests #8 / getFillColor when using an EUI palette returns the expected fill color
  • [job] [logs] Jest Tests #8 / getFillColor when using an EUI palette returns the expected fill color when risk score is 100
  • [job] [logs] Jest Tests #8 / getFillColor when using an EUI palette returns the expected fill color when risk score is greater than 100
  • [job] [logs] Jest Tests #8 / getFillColor when using an EUI palette returns the expected fill color when risk score is less than zero
  • [job] [logs] Jest Tests #8 / getFillColor when using an EUI palette returns the expected fill color when risk score is zero
  • [job] [logs] Jest Tests #4 / getLayerIcon Layers with non-elasticsearch sources should display icon
  • [job] [logs] Jest Tests #16 / getLogLevelColor should work correctly
  • [job] [logs] Jest Tests #16 / getLogLevelColor should work correctly
  • [job] [logs] Jest Tests #4 / getOrdinalMbColorRampStops Should create color stops
  • [job] [logs] Jest Tests #4 / getOrdinalMbColorRampStops Should create inverted color stops
  • [job] [logs] Jest Tests #4 / getOrdinalMbColorRampStops Should snap to end of color stops for identical range
  • [job] [logs] Jest Tests #4 / getPercentilesMbColorRampStops Should create color stops
  • [job] [logs] Jest Tests #5 / getSeriesAndDomain formats series timings
  • [job] [logs] Jest Tests #15 / getSeriesAndDomain formats series timings
  • [job] [logs] Jest Tests #15 / getSeriesAndDomain formats series timings
  • [job] [logs] Jest Tests #5 / getSeriesAndDomain formats series timings
  • [job] [logs] Jest Tests #5 / getSeriesAndDomain handles series formatting when only total timing values are available
  • [job] [logs] Jest Tests #15 / getSeriesAndDomain handles series formatting when only total timing values are available
  • [job] [logs] Jest Tests #15 / getSeriesAndDomain handles series formatting when only total timing values are available
  • [job] [logs] Jest Tests #5 / getSeriesAndDomain handles series formatting when only total timing values are available
  • [job] [logs] FTR Configs #55 / InfraOps App Metrics UI Home page with metrics present sort nodes by descending value
  • [job] [logs] FTR Configs #65 / InfraOps App Metrics UI Home page with metrics present sort nodes by descending value
  • [job] [logs] FTR Configs #55 / InfraOps App Metrics UI Home page with metrics present sort nodes by descending value
  • [job] [logs] FTR Configs #65 / InfraOps App Metrics UI Home page with metrics present sort nodes by descending value
  • [job] [logs] FTR Configs #33 / lens app - group 2 lens datatable should show dynamic coloring feature for numeric columns
  • [job] [logs] FTR Configs #41 / lens app - group 4 lens chart data should render heatmap chart
  • [job] [logs] FTR Configs #41 / lens app - group 4 lens chart data should render heatmap chart
  • [job] [logs] FTR Configs #31 / lens app - group 5 lens heatmap should render heatmap chart with the temperature palette
  • [job] [logs] FTR Configs #11 / lens app - group 6 lens metric applies dynamic color
  • [job] [logs] FTR Configs #11 / lens app - group 6 lens metric applies dynamic color
  • [job] [logs] Jest Tests #16 / LogLevelBadge renders badge with color based on provided logLevel
  • [job] [logs] Jest Tests #16 / LogLevelBadge renders badge with color based on provided logLevel
  • [job] [logs] Jest Tests #10 / logsDataSourceProfileProvider getRowIndicator should return the correct color for a given log level
  • [job] [logs] FTR Configs #40 / machine learning - data frame analytics outlier detection creation iowa house prices edits the analytics job and displays it correctly in the job list
  • [job] [logs] FTR Configs #40 / machine learning - data frame analytics outlier detection creation iowa house prices edits the analytics job and displays it correctly in the job list
  • [job] [logs] Jest Tests #9 / ManageSpacePage allows a space to be created
  • [job] [logs] Jest Tests #9 / ManageSpacePage sets calculated fields for existing spaces
  • [job] [logs] Jest Tests #9 / ManageSpacePage validates the form (name, initials, solution view...)
  • [job] [logs] Jest Tests #8 / map_config #getDestinationLayer it returns a destination layer
  • [job] [logs] Jest Tests #8 / map_config #getDestinationLayer it returns a destination layer for custom layer mapping
  • [job] [logs] Jest Tests #8 / map_config #getLayerList it returns the complete layerList for multiple indices
  • [job] [logs] Jest Tests #8 / map_config #getLayerList it returns the complete layerList for multiple indices with custom layer mapping
  • [job] [logs] Jest Tests #8 / map_config #getLayerList it returns the complete layerList with a source, destination, and line layer
  • [job] [logs] Jest Tests #8 / map_config #getLineLayer it returns a line layer
  • [job] [logs] Jest Tests #8 / map_config #getLineLayer it returns a line layer for custom layer mapping
  • [job] [logs] Jest Tests #8 / map_config #getSourceLayer it returns a source layer
  • [job] [logs] Jest Tests #8 / map_config #getSourceLayer it returns a source layer for custom layer mapping
  • [job] [logs] FTR Configs #21 / maps app dashboard reporting: creates a map report PNG file matches the baseline image, using sample geo data
  • [job] [logs] FTR Configs #21 / maps app dashboard reporting: creates a map report PNG file matches the baseline image, using sample geo data
  • [job] [logs] FTR Configs #63 / maps app mapbox styles should style circle layer as expected
  • [job] [logs] FTR Configs #63 / maps app mapbox styles should style circle layer as expected
  • [job] [logs] Jest Tests #5 / Palettes A colour palette comprising timing and mime type colours is correctly generated
  • [job] [logs] Jest Tests #15 / Palettes A colour palette comprising timing and mime type colours is correctly generated
  • [job] [logs] Jest Tests #15 / Palettes A colour palette comprising timing and mime type colours is correctly generated
  • [job] [logs] Jest Tests #5 / Palettes A colour palette comprising timing and mime type colours is correctly generated
  • [job] [logs] Jest Tests #5 / PromptPage renders as expected with additional scripts
  • [job] [logs] Jest Tests #5 / PromptPage renders as expected with additional scripts
  • [job] [logs] Jest Tests #5 / PromptPage renders as expected without additional scripts
  • [job] [logs] Jest Tests #5 / PromptPage renders as expected without additional scripts
  • [job] [logs] Jest Tests #9 / removes aria-label when instructed not to announce the space name
  • [job] [logs] Jest Tests #4 / renderLegendDetailRow categorical Should render categorical legend with breaks from color ramp
  • [job] [logs] Jest Tests #4 / renderLegendDetailRow ordinal Should render interpolate bands
  • [job] [logs] Jest Tests #4 / renderLegendDetailRow ordinal Should render percentile bands
  • [job] [logs] Jest Tests #4 / renderLegendDetailRow ordinal Should render single band when interpolate range is 0
  • [job] [logs] Jest Tests #9 / renders with a space name entirely made of whitespace
  • [job] [logs] Jest Tests #9 / renders without crashing
  • [job] [logs] Jest Tests #5 / ResetSessionPage renders as expected
  • [job] [logs] Jest Tests #5 / ResetSessionPage renders as expected
  • [job] [logs] Jest Tests #5 / ResetSessionPage renders as expected with custom page title
  • [job] [logs] Jest Tests #5 / ResetSessionPage renders as expected with custom page title
  • [job] [logs] FTR Configs #33 / security app - login selector reset session page compare screenshot
  • [job] [logs] Jest Tests #4 / should render
  • [job] [logs] Jest Tests #4 / should render with no style fields
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category [metrics]>worke
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category [metrics]>worke
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category auditbeat
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category auditbeat
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category C2 CompilerThre
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category C2 CompilerThre
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category containerd
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category containerd
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category dockerd
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category dockerd
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category elasticsearch
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category elasticsearch
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category filebeat
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category filebeat
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category metricbeat
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category metricbeat
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category node
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category node
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category Other
  • [job] [logs] Jest Tests #16 / topn getCategoryColor returns correct color for category Other
  • [job] [logs] FTR Configs #20 / transform - creation - index pattern creation_index_pattern batch transform with terms+date_histogram groups and avg agg navigates through the wizard and sets all needed fields
  • [job] [logs] FTR Configs #20 / transform - creation - index pattern creation_index_pattern batch transform with terms+date_histogram groups and avg agg navigates through the wizard and sets all needed fields
  • [job] [logs] FTR Configs #81 / transform - creation - runtime mappings & saved search creation with runtime mappings batch transform with pivot configurations and runtime mappings navigates through the wizard and sets all needed fields
  • [job] [logs] FTR Configs #81 / transform - creation - runtime mappings & saved search creation with runtime mappings batch transform with pivot configurations and runtime mappings navigates through the wizard and sets all needed fields
  • [job] [logs] FTR Configs #6 / transform basic license transform - creation - index pattern creation_index_pattern batch transform with terms+date_histogram groups and avg agg navigates through the wizard and sets all needed fields
  • [job] [logs] FTR Configs #6 / transform basic license transform - creation - index pattern creation_index_pattern batch transform with terms+date_histogram groups and avg agg navigates through the wizard and sets all needed fields
  • [job] [logs] FTR Configs #102 / transform basic license transform - creation - runtime mappings & saved search creation with runtime mappings batch transform with pivot configurations and runtime mappings navigates through the wizard and sets all needed fields
  • [job] [logs] FTR Configs #102 / transform basic license transform - creation - runtime mappings & saved search creation with runtime mappings batch transform with pivot configurations and runtime mappings navigates through the wizard and sets all needed fields
  • [job] [logs] Jest Tests #5 / UnauthenticatedPage renders as expected
  • [job] [logs] Jest Tests #5 / UnauthenticatedPage renders as expected
  • [job] [logs] Jest Tests #5 / UnauthenticatedPage renders as expected with custom title
  • [job] [logs] Jest Tests #5 / UnauthenticatedPage renders as expected with custom title
  • [job] [logs] Jest Tests #9 / updates identifier, initials and color when name is changed
  • [job] [logs] Jest Tests #14 / UserAvatar should render EuiAvatar correctly without avatar data
  • [job] [logs] Jest Tests #14 / UserAvatar should render EuiAvatar correctly without avatar data
  • [job] [logs] Jest Tests #5 / useUserProfileForm should initialise form with values from user profile
  • [job] [logs] Jest Tests #5 / useUserProfileForm should initialise form with values from user profile
  • [job] [logs] Jest Tests #14 / VegaParser._setDefaultColors vega
  • [job] [logs] Jest Tests #14 / VegaParser._setDefaultColors vega
  • [job] [logs] Jest Tests #14 / VegaParser._setDefaultColors vegalite
  • [job] [logs] Jest Tests #14 / VegaParser._setDefaultColors vegalite
  • [job] [logs] Jest Tests #14 / VegaVisualizations VegaVisualization - basics should show vega graph (may fail in dev env)
  • [job] [logs] Jest Tests #14 / VegaVisualizations VegaVisualization - basics should show vega graph (may fail in dev env)
  • [job] [logs] Jest Tests #14 / VegaVisualizations VegaVisualization - basics should show vegalite graph and update on resize (may fail in dev env)
  • [job] [logs] Jest Tests #14 / VegaVisualizations VegaVisualization - basics should show vegalite graph and update on resize (may fail in dev env)
  • [job] [logs] FTR Configs #56 / visualize app visual builder Time Series Elastic charts should display correct chart data, label names and area colors for sum aggregation when split by terms
  • [job] [logs] FTR Configs #56 / visualize app visual builder Time Series Elastic charts should display correct chart data, label names and area colors for sum aggregation when split by terms

History

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

@mgadewoll mgadewoll closed this Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:cloud-deploy Create or update a Cloud deployment ci:cloud-persist-deployment Persist cloud deployment indefinitely
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants