-
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
[Discover][Meta] Issues with Discover <> UnifiedHistogram sync affecting the chart, total hits and extra fetches #201129
Comments
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
Just leaving a couple of notes with some thoughts:
That said, in general Unified Histogram can and should be simplified since it's become hard to manage with all the feature additions (plus we don't have a plan to make it a shared component anymore, so we don't really need to structure it as such). |
During implementation also this bug was surfacing: #184600 I think we should generalize this issue, which for now is a collection of work around the Histogram which should lead to refactoring, iterate in a doc to flesh out what we gonna do. |
If we have to spend hours debugging Discover <> UnifiedHistogram <> Lens communication, then to me it looks like a sign that there is a problem in the current approach. It increases the risk of bugs and slows feature development in that area.
|
@kertal Thanks for confirming, that one definitely does sound like a syncing issue between Discover <> Unified Histogram then if the wrong props were being passed to Lens. I also agree with generalizing the issue and thinking broadly about what we can do to make it easier to use Unified Histogram and the Lens embeddable in Discover.
100% agree with this and your bullet points, so I think we're on the same page about needing to refactor. Mainly I'm just trying to highlight that I think the issues run deeper than Discover <> Unified Histogram syncing, and the Lens embeddable is a key component here that should be looked at too. If we can try to address the issues at each layer, I feel we'll have the best chance of simplifying all the interactions here. |
Previously addressed:
Caused challenges when adding more features:
Upcoming work:
The text was updated successfully, but these errors were encountered: