Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
# Backport This will backport the following commits from `main` to `9.0`: - [[Lens] Fix `activeData` in multi-layer config (#208571)](#208571) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nick Partridge","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-02-10T17:37:47Z","message":"[Lens] Fix `activeData` in multi-layer config (#208571)\n\n## Summary\r\n\r\nFixes an issue in the lens inline editor that was assigning the first\r\ndatatable to all layers in the `activeData`.\r\n\r\nFixes #205754\r\n\r\n## Details\r\n\r\nUpdates the `activeData` logic in the `lens_configuration_flyout.tsx` to\r\nmatch `workspace_panel.tsx`.\r\n\r\n\r\nhttps://github.com/elastic/kibana/blob/82d94f17c91f8dcd93563dbbb47fba9f13c56d3a/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx#L283-L295\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n\r\n## Release note\r\n\r\nFixes issue assigning color mappings when multiple layers are defined.","sha":"dd2b833acb4a99cf06b5e4fed6d35be75a293b3a","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Visualizations","Feature:Lens","backport:current-major","v9.1.0"],"title":"[Lens] Fix `activeData` in multi-layer config","number":208571,"url":"https://github.com/elastic/kibana/pull/208571","mergeCommit":{"message":"[Lens] Fix `activeData` in multi-layer config (#208571)\n\n## Summary\r\n\r\nFixes an issue in the lens inline editor that was assigning the first\r\ndatatable to all layers in the `activeData`.\r\n\r\nFixes #205754\r\n\r\n## Details\r\n\r\nUpdates the `activeData` logic in the `lens_configuration_flyout.tsx` to\r\nmatch `workspace_panel.tsx`.\r\n\r\n\r\nhttps://github.com/elastic/kibana/blob/82d94f17c91f8dcd93563dbbb47fba9f13c56d3a/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx#L283-L295\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n\r\n## Release note\r\n\r\nFixes issue assigning color mappings when multiple layers are defined.","sha":"dd2b833acb4a99cf06b5e4fed6d35be75a293b3a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208571","number":208571,"mergeCommit":{"message":"[Lens] Fix `activeData` in multi-layer config (#208571)\n\n## Summary\r\n\r\nFixes an issue in the lens inline editor that was assigning the first\r\ndatatable to all layers in the `activeData`.\r\n\r\nFixes #205754\r\n\r\n## Details\r\n\r\nUpdates the `activeData` logic in the `lens_configuration_flyout.tsx` to\r\nmatch `workspace_panel.tsx`.\r\n\r\n\r\nhttps://github.com/elastic/kibana/blob/82d94f17c91f8dcd93563dbbb47fba9f13c56d3a/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx#L283-L295\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n\r\n## Release note\r\n\r\nFixes issue assigning color mappings when multiple layers are defined.","sha":"dd2b833acb4a99cf06b5e4fed6d35be75a293b3a"}}]}] BACKPORT--> Co-authored-by: Nick Partridge <[email protected]>
- Loading branch information