Bhanu-code / db-drawer

database schema visualization cli tool on localhost for node.js environment
https://www.npmjs.com/package/db-drawer
MIT License
9 stars 18 forks source link

Implement Export to PDF/PNG Feature #75

Closed sanskriti-lal closed 5 months ago

sanskriti-lal commented 5 months ago

Description

This feature adds an option in the db-drawer tool that allows users to export the visualized database schema as a PDF or PNG file. This enhancement will enable users to create static, shareable representations of their database structure.

Suggested Solution

The proposed solution involves adding "Export as PDF" and "Export as PNG" buttons to the db-drawer interface, allowing users to easily export the visualized database schema. The tool will then automatically prompt the user to download the generated file, named appropriately. This feature will enhance the usability of db-drawer by enabling users to create and share static representations of their database structures for documentation and presentations.

Alternatives

No response

Additional Context

I'm a GSSoC'24 contributor with a strong background in web development and experience working with libraries such as html2canvas and jsPDF and I want to work on this feature addition. So can you please assign this work to me @Bhanu-code

github-actions[bot] commented 5 months ago

Congratulations, @sanskriti-lal! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!

We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

Bhanu-code commented 5 months ago

@sanskriti-lal cool!, sounds great. I am assigning you the issue. make sure to go through CODE_OF_CONDUCT and README.md. For any issue, ask on the gssoc discord server.

sanskriti-lal commented 5 months ago

Thank you @Bhanu-code for assigning me this work. I'll start working on it. Also one little request, can you please give it a level2 tag.

Bhanu-code commented 5 months ago

@sanskriti-lal we have our guideliness by GSSoC for labeling. So, we have to label accordingly.

sanskriti-lal commented 5 months ago

ok cool! Also I've made a PR can you please look into it @Bhanu-code

github-actions[bot] commented 5 months ago

Hello @sanskriti-lal! Your issue #75 has been closed. Thank you for your contribution!