Skip to content

[Lens as code] Ensure unassigned_color transformation#259688

Closed
walterra wants to merge 2 commits into
elastic:mainfrom
walterra:20260325-as-code-color-mapping
Closed

[Lens as code] Ensure unassigned_color transformation#259688
walterra wants to merge 2 commits into
elastic:mainfrom
walterra:20260325-as-code-color-mapping

Conversation

@walterra
Copy link
Copy Markdown
Contributor

@walterra walterra commented Mar 26, 2026

Summary

Part of #257034.

Updates API payload properties unassigned_color to follow the snake_case convention.

This jq command is able to identify camelCase properties in the OAS docs:

jq -r '.. | objects | select(has("properties")) | .properties | to_entries[] | select(.key | test("[a-z][A-Z]")) | .key' oas_docs/bundle.json | sort -u

It identifies unassignedColor without this PR. No other camelCase properties are left with this PR.

Checklist

  • Unit or functional tests were updated or added to match the most common scenarios
  • This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The release_note:breaking label should be applied in these situations.
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
  • Review the backport guidelines and apply applicable backport:* labels.

Identify risks

Low risk, API has not been released.

@walterra walterra self-assigned this Mar 26, 2026
@walterra walterra added Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// release_note:skip Skip the PR/issue when compiling release notes Feature:Lens backport:skip This PR does not require backporting v9.4.0 labels Mar 26, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Mar 26, 2026

🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!
  • Click to trigger kibana-deploy-cloud-from-pr for this PR!
  • Click to trigger kibana-entity-store-performance-from-pr for this PR!
  • Click to trigger kibana-storybooks-from-pr for this PR!

@walterra walterra force-pushed the 20260325-as-code-color-mapping branch from 8fc276f to 9f2e4ab Compare March 26, 2026 07:31
@walterra
Copy link
Copy Markdown
Contributor Author

closing in favour of #259636

@walterra walterra closed this Mar 26, 2026
@elasticmachine
Copy link
Copy Markdown
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
agentBuilder 660.3KB 660.3KB +3.0B
cases 2.0MB 2.0MB +3.0B
dashboard 842.2KB 842.2KB +3.0B
dashboardAgent 178.5KB 178.5KB +3.0B
discover 1.6MB 1.6MB +3.0B
infra 1.3MB 1.3MB +3.0B
lens 2.0MB 2.0MB +5.0B
observability 2.0MB 2.0MB +3.0B
observabilityAIAssistantApp 326.4KB 326.4KB +3.0B
securitySolution 11.4MB 11.4MB +1.0B
unifiedDocViewer 420.9KB 420.9KB +3.0B
total +33.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
securitySolution 174.1KB 174.1KB +6.0B

History

cc @walterra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting Feature:Lens release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants