EMachad0 opened a new issue, #32793:
URL: https://github.com/apache/superset/issues/32793

   *Please make sure you are familiar with the SIP process documented*
   [here](https://github.com/apache/superset/issues/5602). The SIP will be 
numbered by a committer upon acceptance.
   
   ## [SIP] Proposal for Customizable Drill-to-Detail Chart
   
   ### Motivation
   
   Currently, the Drill-to-Detail chart in Superset displays the full dataset 
when a drilldown is performed. In my experience users have identified three key 
pain points while using superset:
   
   - **Selective Data Display**: As superset users, we use a single dataset for 
multiple charts, currently the entire dataset is displayed in the drilldown, we 
would like the ability to filter and display only the columns that are most 
relevant to each chart.
   
   - **Custom Labeling**: Custom labels can improve readability and contextual 
understanding, a feature that already exists in both the table chart and the 
per dataset but is missing here.
   
   - **CSV Export**: End users often need to export the exact view presented in 
the drilldown to CSV for further analysis or reporting.
   
   Enhancing the drill-to-detail functionality to mirror the customization 
available in the table chart will create a more consistent and user-friendly 
experience.
   
   ### Proposed Change
   
   I would be glad for sugestions here.
   
   - Leverage the existing custom labels defined at the dataset level for 
display in the Drill-to-Detail view.
   - Introduce a configuration option within the chart control panel allowing 
users to specify which dataset columns should appear in the Drill-to-Detail 
view.
   - Incorporate an optional export button within the Drill-to-Detail modal, 
enabling users to download the currently displayed data as a CSV file.
   
   These configurations could be integrated into a new "Drilldown Options" 
customize section within the chart control panel.​
   
   (Mockup of the desired Drill-to-Detail interface)
   
![Image](https://github.com/user-attachments/assets/a2ed01d7-c8b7-4082-a228-8b5abb5e6e07)
   
   ### New or Changed Public Interfaces
   
   As far as I know, no change is needed.
   
   ### New dependencies
   
   As these enhancements build upon existing functionality, no new dependencies 
are required.​
   
   ### Migration Plan and Compatibility
   
   Maintain backward compatibility with existing charts by ensuring that if the 
customization options are not configured, the drilldown behavior remains 
unchanged.
   
   ### Rejected Alternatives
   
   An alternative considered was the ability to embed any chart within the 
Drill-to-Detail view.
   However, this approach was deemed overly complex due to the unnecessary 
complexity related to embeeding charts.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to