WIP: Add QR code type "WiFi", changed frontend to reflect changes #27
No reviewers
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: miraty/libreqr#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "denisebitca/libreqr:wifi_as_qr_code_type_pr"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
QR codes types can now be chosen between text mode and WiFi mode.
In the backend, nothing major changes: this is frontend sugar for
creating a QR code of the WiFi MECARD-like scheme*, with some extra
backend validation + escaping to make sure the QR code is well
formatted and can be used. This scheme is particularly hard to
explain to endusers and isn't as easy to use as a URI scheme like
mailto or geo.
for more information about the WiFi MECARD-like scheme.
Frontend pictures
Ideas for requirements on this PR:
As we discussed off-the-record, the wifi configuration now also writes its output to the main textarea, to make the process more transparent to users.
The encryption settings can be simplified by not explicitly asking the user for the encryption method and default to none if the password field is empty and to WPA* otherwise.
Doing so would help with:
We may add a checkbox after the password field to change WPA* to WEP, although that's very rare nowadays.
input type="text"
7f1cdc8895I did some usability testing on other people and found out that having 2 forms on the same page as I did in
eef15b5fe2
is very confusing.Instead, I'll try to make another page dedicated to the wifi workflow, with a tab-like navbar to switch between wifi and plaintext pages. This will require way more changes in the code, but I feel like it's actually required to limit users confusion.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.