-
Notifications
You must be signed in to change notification settings - Fork 16.5k
feat(explore): add CSV/XLS download to drill-to-detail modal #37109
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
base: master
Are you sure you want to change the base?
Conversation
- Add download button with CSV/XLS options to drill detail modal - Reuse existing chart export infrastructure - Maintain query context and filters in downloads - Support both CSV and XLSX formats Closes apache#27607
|
CodeAnt AI is reviewing your PR. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
Code Review Agent Run #4e45c3Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
superset-frontend/src/components/Chart/DrillDetail/DrillDetailModal.tsx
Outdated
Show resolved
Hide resolved
|
CodeAnt AI finished reviewing your PR. |
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
- Updated DrillDetailModal.tsx:83-89 to use single menu.onClick handler that dispatches based on the item's key
- Added closeModal={onHideModal} to the ModalFooter component at line 239.
Code Review Agent Run #90b8b6Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Closes #27607
SUMMARY
Adds CSV and XLSX download functionality to the "Drill to Detail" modal, addressing feature request #27607.
Users can now export drill-down data directly from the detail modal, matching the download capability already available at the chart level. This enhancement uses the existing export infrastructure, maintaining consistency with current download patterns.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
No download option in drill detail modal
After:

Added download button with CSV and XLSX export options:
Download menu with format options:

Successfully exported data:

TEST PLAN
Manual Testing Completed:
Automated Testing:
npm run build)Browser Testing:
Edge Cases Verified:
ADDITIONAL INFORMATION
Implementation Details:
[timestamp].[csv|xlsx]Code Changes:
superset-frontend/src/components/Chart/DrillDetail/DrillDetailModal.tsxDesign Decisions:
Icons.DownOutlinedand Ant Design Dropdown for familiar UXTechnical Notes:
Future Enhancements (Out of Scope):
Related Issues:
Closes #27607
CONTRIBUTING.md Checklist:
Attribution: claude-code utilised to draft this code and PR.