mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
# Backport This will backport the following commits from `main` to `9.0`: - [[Maps][Choropleth Map] Mark fields as required (#213923)](https://github.com/elastic/kibana/pull/213923) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Marco Liberati","email":"dej611@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-12T09:36:05Z","message":"[Maps][Choropleth Map] Mark fields as required (#213923)\n\n## Summary\n\nFixes #197904\n\nConfigure both dimensions in the choropleth map as required.\n\n<img width=\"330\" alt=\"Screenshot 2025-03-11 at 14 51 46\"\nsrc=\"https://github.com/user-attachments/assets/65a7d3a4-2850-474c-a4e1-db0aca4307d3\"\n/>\n<img width=\"371\" alt=\"Screenshot 2025-03-11 at 14 51 28\"\nsrc=\"https://github.com/user-attachments/assets/ad6e3aea-6c94-4dec-bd76-d5cc75c07744\"\n/>","sha":"b0ef1e6365027a09e29e95b4fda9259a1ac4b1e8","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Region Map","Team:Presentation","Team:Visualizations","release_note:skip","Feature:Lens","Feature:Maps","backport:version","v9.1.0","v8.19.0","v8.18.1","v9.0.1"],"title":"[Maps][Choropleth Map] Mark fields as required","number":213923,"url":"https://github.com/elastic/kibana/pull/213923","mergeCommit":{"message":"[Maps][Choropleth Map] Mark fields as required (#213923)\n\n## Summary\n\nFixes #197904\n\nConfigure both dimensions in the choropleth map as required.\n\n<img width=\"330\" alt=\"Screenshot 2025-03-11 at 14 51 46\"\nsrc=\"https://github.com/user-attachments/assets/65a7d3a4-2850-474c-a4e1-db0aca4307d3\"\n/>\n<img width=\"371\" alt=\"Screenshot 2025-03-11 at 14 51 28\"\nsrc=\"https://github.com/user-attachments/assets/ad6e3aea-6c94-4dec-bd76-d5cc75c07744\"\n/>","sha":"b0ef1e6365027a09e29e95b4fda9259a1ac4b1e8"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.18","9.0"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213923","number":213923,"mergeCommit":{"message":"[Maps][Choropleth Map] Mark fields as required (#213923)\n\n## Summary\n\nFixes #197904\n\nConfigure both dimensions in the choropleth map as required.\n\n<img width=\"330\" alt=\"Screenshot 2025-03-11 at 14 51 46\"\nsrc=\"https://github.com/user-attachments/assets/65a7d3a4-2850-474c-a4e1-db0aca4307d3\"\n/>\n<img width=\"371\" alt=\"Screenshot 2025-03-11 at 14 51 28\"\nsrc=\"https://github.com/user-attachments/assets/ad6e3aea-6c94-4dec-bd76-d5cc75c07744\"\n/>","sha":"b0ef1e6365027a09e29e95b4fda9259a1ac4b1e8"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
This commit is contained in:
parent
9414a3fe72
commit
d05973112c
1 changed files with 3 additions and 2 deletions
|
@ -93,7 +93,7 @@ export const getVisualization = ({
|
|||
supportsMoreColumns: !state.regionAccessor,
|
||||
filterOperations: (op: OperationMetadata) => op.isBucketed && op.dataType === 'string',
|
||||
enableDimensionEditor: true,
|
||||
required: true,
|
||||
requiredMinDimensionCount: 1,
|
||||
dataTestSubj: 'lnsChoropleth_regionKeyDimensionPanel',
|
||||
},
|
||||
{
|
||||
|
@ -106,7 +106,8 @@ export const getVisualization = ({
|
|||
supportsMoreColumns: !state.valueAccessor,
|
||||
filterOperations: (op: OperationMetadata) => !op.isBucketed && op.dataType === 'number',
|
||||
enableDimensionEditor: true,
|
||||
required: true,
|
||||
isMetricDimension: true,
|
||||
requiredMinDimensionCount: 1,
|
||||
dataTestSubj: 'lnsChoropleth_valueDimensionPanel',
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue