Add WiFi QR code mode to the QR code generator#281
Conversation
Introduces a mode toggle ("URL / text" vs "WiFi") in the input card. The
WiFi panel collects SSID, password, security type, and a hidden-network
flag, formats them into the standard WIFI:T:...;S:...;P:...;H:...;; payload
with the required backslash-escaping of \ ; , " : characters, and feeds it
into the existing QR rendering pipeline.
Security defaults to "WPA / WPA2 / WPA3" with a hint that this covers
almost every home network, so users who don't know which encryption their
network uses can leave it alone.
|
Claude finished @simonw's task —— View job PR Review: WiFi QR Code ModeTodo List:
Review Feedback✅ Strengths
|
The form card had two pre-existing bugs that became more visible with the WiFi panel added: - Two ``` fences were left in the markup and rendered as visible backticks above and below the Style/Size/Color block. - The input[type="text"] CSS selectors used curly Unicode quotes (“ ”) instead of straight quotes, so the rule never matched and text inputs fell back to browser defaults with inconsistent sizing and a sub-16px font (which triggers iOS auto-zoom on focus). Removes the fences, fixes the selectors, and extends the rule to cover input[type="password"] so the new WiFi password field matches the rest.
Deploying tools with
|
| Latest commit: |
6d07529
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://847b623b.tools-b1q.pages.dev |
| Branch Preview URL: | https://claude-add-wifi-qr-codes-e1s.tools-b1q.pages.dev |
|
Claude finished @simonw's task —— View job PR Review: WiFi QR Code ModeTodo List:
Review Feedback✅ Strengths
|

Introduces a mode toggle ("URL / text" vs "WiFi") in the input card. The
WiFi panel collects SSID, password, security type, and a hidden-network
flag, formats them into the standard WIFI:T:...;S:...;P:...;H:...;; payload
with the required backslash-escaping of \ ; , " : characters, and feeds it
into the existing QR rendering pipeline.
Security defaults to "WPA / WPA2 / WPA3" with a hint that this covers
almost every home network, so users who don't know which encryption their
network uses can leave it alone.
https://claude.ai/code/session_016QfJJcUjgtZX82yYA4qgiG