Skip to content

Show Download as File in WebUSB failed connection dialog#11325

Draft
Copilot wants to merge 3 commits into
masterfrom
copilot/fix-download-button-visibility
Draft

Show Download as File in WebUSB failed connection dialog#11325
Copilot wants to merge 3 commits into
masterfrom
copilot/fix-download-button-visibility

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 21, 2026

The WebUSB “Failed to connect” dialog referenced the Download as File action even when that button was not rendered. This made the recovery instructions point users to an unavailable option.

  • Dialog fallback action
    • Always shows the Download as File button on the failed connection dialog.
    • Keeps the existing drag-and-drop flashing instruction aligned with the available dialog actions.
    • Allows users to fall back to file download directly from the failed WebUSB connection flow.

Agent-Logs-Url: https://github.com/microsoft/pxt/sessions/f97a1d0c-1927-4157-8ca3-40172ae860bd

Co-authored-by: jwunderl <5615930+jwunderl@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix missing download as file button in failed to connect dialogue Fix WebUSB failed connection dialog fallback copy May 21, 2026
Copilot AI requested a review from jwunderl May 21, 2026 15:18
@jwunderl
Copy link
Copy Markdown
Member

@copilot instead we could just add the download as file button there

Agent-Logs-Url: https://github.com/microsoft/pxt/sessions/26d61643-6384-4e8f-8ce4-069f9bf11e0d

Co-authored-by: jwunderl <5615930+jwunderl@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 21, 2026

@copilot instead we could just add the download as file button there

Implemented in c411c12 by always showing the Download as File fallback on the failed connection dialog, so the existing instructions now match the available actions. Screenshot captured: /tmp/playwright-logs/webusb-failed-connect-with-download-button.png.

Copilot AI changed the title Fix WebUSB failed connection dialog fallback copy Show Download as File in WebUSB failed connection dialog May 21, 2026
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.

Download as File button missing in Failed to connect dialogue

2 participants