p2plabsxyz / dscan

A decentralized storage and file-sharing tool that uploads content to IPFS and generates decentralized QR codes.
https://chromewebstore.google.com/detail/dscan-own-your-identity-o/idpfgkgogjjgklefnkjdpghkifbjenap
MIT License
35 stars 26 forks source link

refactor: split qrcode script in several files for maintainability #40

Closed akhileshthite closed 10 months ago

akhileshthite commented 10 months ago

Please break down the qrcode.js file into several files for better maintainability.

These files should be:

The file qrcode.js is already organized into these sections. However, please ensure you import and export all necessary functions and variables.

⚠️ Important: To avoid listeners being called multiple times, ensure they are set only once. You can wrap the listeners in a function and ensure that this function is called just once (or adopt any other solution you prefer).

Source: ./src/scripts/qrcode.js ./webpack.config.js

For development setup and contribution guide, check the main README.md.

Pinaka-Pani-18 commented 10 months ago

I would like to work on this issue. Could you please assign me this issue ?

akhileshthite commented 10 months ago

I would like to work on this issue. Could you please assign me this issue ?

Sure, go ahead :)

Pinaka-Pani-18 commented 10 months ago

While installing node modules I getting this following error, do you know how to fix it ?

Screenshot 2023-10-14 105051

akhileshthite commented 10 months ago

While installing node modules I getting this following error, do you know how to fix it ?

Screenshot 2023-10-14 105051

Please make sure you're using the latest stable versions of npm and Node.js.

AdityaNik commented 10 months ago

i want to work on these issue, can you please assign it to me