-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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][Visualize] Adds option to disable cursor sync on dashboards #143355
Conversation
Documentation preview: |
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
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.
limits.yml
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.
VisEditors changes LGTM, everything works as expected
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 + code owners review - everything worked great! 🎉
Left one tiny design nit.
<EuiFormRow> | ||
<EuiSwitch | ||
label={i18n.translate('dashboard.topNav.options.syncTooltipsBetweenPanelsSwitchLabel', { | ||
defaultMessage: 'Sync tooltips across panels', | ||
})} | ||
checked={this.state.syncTooltips} | ||
disabled={!Boolean(this.state.syncCursor)} |
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.
Nice touch! If your cursor isn't synced, doesn't make sense that the tooltip is synced 👍
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
History
To update your PR or re-run it, just comment with: |
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.
syncCursor addition in embeddable lgtm (looks like follows existing syncColors and syncTooltips code)
Summary
Closes #130636
It adds an extra switch to the dashboard options panel "Sync cursor across panels". For bwc this is by default on, but the user can now switch it off and disable the cursor synchronization across panels. In that case, the sync tooltips options is also disabled.
This can be a useful setting especially for dashboards with performance issues.
Checklist