-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Lens] Use suggestion system in chart switcher for subtypes #60669
Conversation
Pinging @elastic/kibana-app (Team:KibanaApp) |
@elasticmachine merge upstream |
@@ -94,7 +97,7 @@ export const metricVisualization: Visualization<State, PersistableState> = { | |||
groupLabel: i18n.translate('xpack.lens.metric.label', { defaultMessage: 'Metric' }), | |||
layerId: props.state.layerId, | |||
accessors: props.state.accessor ? [props.state.accessor] : [], | |||
supportsMoreColumns: false, | |||
supportsMoreColumns: !props.state.accessor, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you shortly explain how this is related to that change and what it does?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually a separate issue. Need to fix separately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally on Chrome, code LGTM.
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Closing this as this was mostly for use in the pie chart/treemap, and this isn't strictly needed. |
Summary
This PR has no user-facing changes yet, but it will be used by Pie charts and Treemaps. The reason this change is necessary is the following scenario:
Checklist