-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
fix(drillby): Enable DrillBy in charts w/o filters (dimensions) #27941
Conversation
Thanks @sowo this looks promising! Curious what you see left to do here, but we look forward to reviewing it when it's ready. So far, the code looks good to me! |
Hi,
Thanks for the response.
I found an issue when clicking on the breadcrumbs. Some index misalignment
after filtering out the empty initial filter. Should be fixed soon.
Best,
Wolfgang
…On Mon, Apr 8, 2024 at 6:37 PM Evan Rusackas ***@***.***> wrote:
Thanks @sowo <https://github.com/sowo> this looks promising! Curious what
you see left to do here, but we look forward to reviewing it when it's
ready. So far, the code looks good to me!
—
Reply to this email directly, view it on GitHub
<#27941 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVDI5JQDA7KHY2TYGGOGYDY4LBWLAVCNFSM6AAAAABF4YSE7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTGIYDCMZSHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
/testenv up |
Seems the breadcrumbs and drillByConfigs need to be in sync to make breadcrumb navigation work. So rather than filtering out the first breadcrumb item when it is empty (for charts without dimensions), I decided to just hide the first breadcrumb. This is somewhat ugly as it leaves the separator (/) visible. Let me know if anyone has a better idea on how to non-intrusively fix this. |
/testenv up |
@kgabryje Ephemeral environment spinning up at http://35.89.213.150:8080. Credentials are |
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.
Thanks for the contribution @sowo! The code looks good to me. Feature wise, I think it would be great if we could have a drill filter based on X axis group, but that needs to be thought through first, so I'm fine with going with your change for now 🙂
Hmm... closing/reopening to see if that kicks CI into gear. |
Ephemeral environment shutdown and build artifacts deleted. |
@kgabryje initially, I used the X axis value plus the selected dimension for the drill by chart. But this created a time series chart with just one bar broken down by the selected dimension. For this to really be useful, the chart type would need to be changed - e.g. pie chart. Is there any plan to make the chart type selectable as one drills down? Thanks |
(cherry picked from commit 35c8b7a)
(cherry picked from commit 35c8b7a)
(cherry picked from commit 35c8b7a)
SUMMARY
This fix resolves #27940 by enabling "Drll by" for Timeseries and Mixed Timeseries charts that do not have dimensions configured.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
![Screenshot from 2024-04-08 15-30-47](https://private-user-images.githubusercontent.com/2765941/320505122-9bf0ed0b-1f98-4ab4-8ace-68c80330e932.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MTUwNTAsIm5iZiI6MTczOTUxNDc1MCwicGF0aCI6Ii8yNzY1OTQxLzMyMDUwNTEyMi05YmYwZWQwYi0xZjk4LTRhYjQtOGFjZS02OGM4MDMzMGU5MzIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMDYzMjMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDlmZGQ3MDZlZWQzMWYxZDIyMWU4NTY2YTUwMDJiODU1NzIyZmQ4YzNhZjBlZTRlYjg4N2Q4YTUzMzM4MGIzZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.iSb2XoFwUyyta1ThKS_FMk2pL-470vVd2jyI3kz0M3Q)
After
TESTING INSTRUCTIONS
Open any dashboard that includes either Timeseries or Mixed Timeseries charts without dimensions and right-click on any data point in those charts. The "Drill by" should be available and open the modal for the selected dimension.
ADDITIONAL INFORMATION