[Lens as code] Add list layout to the new API#259967
Merged
maryam-saeidi merged 17 commits intoelastic:mainfrom Mar 31, 2026
Merged
[Lens as code] Add list layout to the new API#259967maryam-saeidi merged 17 commits intoelastic:mainfrom
maryam-saeidi merged 17 commits intoelastic:mainfrom
Conversation
markov00
approved these changes
Mar 27, 2026
Contributor
markov00
left a comment
There was a problem hiding this comment.
Overall looks good, if we can strength a bit more the types would be great
...form/packages/shared/kbn-lens-embeddable-utils/config_builder/transforms/charts/xy/legend.ts
Show resolved
Hide resolved
nickofthyme
reviewed
Mar 30, 2026
src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/tests/xy/xy.test.ts
Show resolved
Hide resolved
...form/packages/shared/kbn-lens-embeddable-utils/config_builder/transforms/charts/xy/legend.ts
Outdated
Show resolved
Hide resolved
...form/packages/shared/kbn-lens-embeddable-utils/config_builder/transforms/charts/xy/legend.ts
Show resolved
Hide resolved
...form/packages/shared/kbn-lens-embeddable-utils/config_builder/transforms/charts/xy/legend.ts
Outdated
Show resolved
Hide resolved
...form/packages/shared/kbn-lens-embeddable-utils/config_builder/transforms/charts/xy/legend.ts
Outdated
Show resolved
Hide resolved
...form/packages/shared/kbn-lens-embeddable-utils/config_builder/transforms/charts/xy/legend.ts
Outdated
Show resolved
Hide resolved
Contributor
💔 Build Failed
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History
|
nickofthyme
approved these changes
Mar 31, 2026
Contributor
nickofthyme
left a comment
There was a problem hiding this comment.
Amazing! Thanks for the changes!
mbondyra
added a commit
to mbondyra/kibana
that referenced
this pull request
Mar 31, 2026
…e_for_children6 * commit '3402744f63ca1196e97b11ffac4e7f7efab240df': (80 commits) [PerUserAuth] Add EARS auth type for Connectors V2 (elastic#253695) Fix `@elastic/eui/require-aria-label-for-modals` lint violations across `@elastic/kibana-core` files (elastic#259757) [Entity Analytics][Leads generation][4] Add API routes, LeadDataClient, and async generation (elastic#257046) [Agent Builder] Agent-centric UX redesign (elastic#258005) fix query streams failing test (elastic#260277) [Lens as code] Add list layout to the new API (elastic#259967) [FTR] Add warning comments to deployment-agnostic FTR base configs (elastic#260018) [Discover][Logs profile] Fix missing search highlights (elastic#260056) Plugin system: safe deletion (elastic#259038) [Infra] Fix Hosts filter options to match selected schema (elastic#259825) Manual Entity Resolution and flyout representation (elastic#260162) [Cascade] Handle grouping on fields with unset values (elastic#260033) [Fleet] generate OTel config for integration packages with otelcol inputs (elastic#259968) [Search] Switch over to V2 index management details (elastic#259866) [inference] increase timeout for ES inference calls (elastic#260382) [ES|QL] Enable subqueries (elastic#257455) [ES|QL] Change Point order free options (elastic#260282) [Auth] Added authentication strategy for UIAM OAuth (elastic#256182) [Security Solution] Add "alerts_candidate_count" rule execution metric (elastic#259917) [api-docs] 2026-03-31 Daily api_docs build (elastic#260380) ...
jeramysoucy
pushed a commit
to jeramysoucy/kibana
that referenced
this pull request
Apr 1, 2026
Closes elastic#258022 ## Summary This PR adds list legend property to the new API: ``` // Grid Layout { "visibility": "visible", "position": "right", "layout": { "type": "grid", "truncate": { "max_lines": 2 } } } // List Layout { "visibility": "auto", "position": "bottom", "layout": { "type": "list", "truncate": { "max_pixels": 240 } } } ```
paulinashakirova
pushed a commit
to paulinashakirova/kibana
that referenced
this pull request
Apr 2, 2026
Closes elastic#258022 ## Summary This PR adds list legend property to the new API: ``` // Grid Layout { "visibility": "visible", "position": "right", "layout": { "type": "grid", "truncate": { "max_lines": 2 } } } // List Layout { "visibility": "auto", "position": "bottom", "layout": { "type": "list", "truncate": { "max_pixels": 240 } } } ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #258022
Summary
This PR adds list legend property to the new API: