AoLiGei1221 commented on issue #35141: URL: https://github.com/apache/superset/issues/35141#issuecomment-3402835313
@rusackas Hey! I’m a student from the UTSC CSCD01 course, and our team is currently extending the “Export current view” feature. Approach A (Frontend-based): Implement Excel, JSON, CSV export directly on the frontend using the already filtered or searched data shown in the table. Approach B (Backend-based): Extend the /api/v1/chart/data endpoint to support exporting the current view by applying the same filters and sorting on the server side. This unifies all export types under one API but requires modifying backend logic and handling permissions and streaming. But we are not sure it is doable or not. Right now, we test the frondend-based method in the csv export(haven't implement the excel method and json method) and it works well in the example data. So I want to have some feedbacks about this. And some suggestions/thoughts in approach B. Thank you! -- 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]
