-
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] Displays the suggestions on the dataview mode #172924
Conversation
/ci |
/ci |
/ci |
Pinging @elastic/kibana-visualizations (Team:Visualizations) |
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.
Data Discovery changes LGTM 👍
Did a quick test and it works well, although for some reason selecting the tag cloud suggestion crashed the page. Not sure if it's related to these changes though:
tag_cloud.mp4
Thanx @davismcphee, it is not but I will take a look. Update: Fixed |
/ci |
The bug that Davis describes is also in main and I want to backport it in 8.12 so I am solving these bugs in another PR #173490 |
/ci |
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Taking a look at this now! |
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.
Works beautifully!
it('should not display the suggestions if hidesSuggestions prop is true', async () => { | ||
renderConfigFlyout({ | ||
hidesSuggestions: true, | ||
}); | ||
expect(screen.queryByTestId('InlineEditingSuggestions')).toBeNull(); | ||
}); | ||
|
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.
Love it — so simple
Summary
Enables the suggestions for the dataview mode charts in the in-app flyout. It works exactly as in ES|QL mode. In Discover we still hide them from the flyout as they appear on the breakdown above the chart. We are going to add them in Discover too but in a follow up PR propably.
Checklist