yaoss-collection / qrcodegenerator-frontend-nextjs

Next.js web app to generater QR Codes
https://qrcode.yaoss-collection.com
MIT License
9 stars 3 forks source link

Add WiFi QR code generator input for SSID, password, and encryption type #28

Open Zharkan opened 1 year ago

Zharkan commented 1 year ago

Description:

Currently, our QR code generator only supports generating codes for text input and emails. It would be useful to add a feature that generates QR codes for WiFi network information, such as SSID, password, and encryption type. The inputs required would be:

SSID: Input type text with a checkbox to indicate if it's hidden
Encryption type: Input type checkbox (options for WPA, WEP, etc.)
Password: Input type password

This feature would be useful for quickly sharing WiFi network information with friends, family, and colleagues. It would also make it easier for people to connect to WiFi networks without manually entering the SSID and password. This would be a good first issue for contributors to work on, and we welcome any pull requests to implement this feature.

shivamganwani commented 1 year ago

@Zharkan need help!, got this error while making a minor commit

$ git commit -m "add wifi qr code generator"

> frontend-template-nextjs@0.1.0 style:lint
> eslint '**/*.{js,jsx,ts,tsx}'

Oops! Something went wrong! :(

ESLint: 8.39.0

No files matching the pattern "'**/*.{js,jsx,ts,tsx}'" were found.
Please check for typing mistakes in the pattern.

husky - pre-commit hook exited with code 2 (error)
raphaelsanchez commented 1 year ago

Hi @shivamganwani,

This means that the linter has detected a formatting problem. You have to use Prettier to format your code, according the coding standard, before you can make a commit.

shivamganwani commented 1 year ago

@raphaelsanchez can you please tell me the steps to run lint on the files

raphaelsanchez commented 1 year ago

Yep sur @shivamganwani. If you are using vscode, install Prettier plugin. Then, in vscode settings activate the "format on save" option.

shivamganwani commented 1 year ago

Instaling the plugin from vscode has lead to updation of ESLint from 8.39.0 to 8.40.0, is that okay? @raphaelsanchez

raphaelsanchez commented 1 year ago

@shivamganwani This will update your eslint plugin, but in any case, it will be the Eslint config file that will prevail. @Zharkan you're agree with that ?

Zharkan commented 1 year ago

Sorry for the late reply, it doesn't really matter if you upgrade the npm dependency, no worries.