fix: Use labels in Drill to Detail#34620
Conversation
There was a problem hiding this comment.
I've completed my review and didn't find any issues.
Files scanned
| File Path | Reviewed |
|---|---|
| superset-frontend/src/hooks/apiResources/datasets.ts | ✅ |
| superset-frontend/src/components/Chart/DrillDetail/DrillDetailPane.tsx | ✅ |
| superset-frontend/src/components/Chart/ChartContextMenu/ChartContextMenu.tsx | ✅ |
| superset-frontend/src/dashboard/components/SliceHeaderControls/index.tsx | ✅ |
Explore our documentation to understand the languages and file types we support and the files we ignore.
Check out our docs on how you can make Korbit work best for you and your team.
| const dataset = | ||
| datasetResource.status === ResourceStatus.Complete | ||
| ? datasetResource.result | ||
| : undefined; |
There was a problem hiding this comment.
Is this defaulting to undefined correct here? I don't think it makes sense to do this if we are going to assert types below.
There was a problem hiding this comment.
great catch! I improved this flow in my last commit @msyavuz -- could you please review it again?
|
Hey @michael-s-molina would you be able to quickly test both #34319 and also this one? I'm asking it because I don't have any custom extension for |
SUMMARY
This PR improves the Drill to Detail / Drill to Detail By flows to use the column labels.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before
After
TESTING INSTRUCTIONS
Fixes Show dataset column labels in drilling menus #34402
ADDITIONAL INFORMATION