Skip to content

Add Firefox Snap serial troubleshooting hint - #600

Merged
makermelissa merged 1 commit into
circuitpython:mainfrom
makermelissa-ai-assistant:fix/issue-525-firefox-snap-hint
Nov 30, 2026
Merged

makermelissa merged 1 commit into
circuitpython:mainfrom
makermelissa-ai-assistant:fix/issue-525-firefox-snap-hint

Conversation

@makermelissa-ai-assistant

Copy link
Copy Markdown
Contributor

Refs #525.

Summary

  • Add a conditional workaround link to the USB connection dialog when Linux Firefox reports that no port was selected.
  • Use the Web Serial error name so the hint also works when the browser uses different error wording. Phrase the hint around an empty picker because cancelling the chooser returns the same error.

The hint changes only the connection feedback. Once an upstream update lets the Firefox Snap expose serial ports, the existing connection flow can use them immediately. Mozilla's upstream issue

Validation

  • Simulated a Linux Firefox no-selection error and verified that the connection dialog shows the conditional guidance.
  • Retried with the same browser identity and a successful port selection. The dialog cleared the hint and advanced to the next connection step.
  • Checked Firefox on macOS, Firefox on Android, Chromium on Linux, and a Linux Firefox permission error in the same dialog test.
  • Production build passed on macOS, and git diff --check passed.

AI assistance

Codex investigated the upstream behavior, implemented the hint, and ran the local checks.

@makermelissa
makermelissa merged commit 3793c2f into circuitpython:main Nov 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants