Files
fusion/.changeset/FN-4951-copilot-copy-code-fix.md
gsxdsm 88459643ff feat(FN-4951): complete Step 7 — add changeset
Fusion-Task-Id: FN-4951
Fusion-Task-Lineage: 25de66db-c8cf-463b-86f2-efff1bc22683
2026-05-18 03:10:53 -07:00

456 B

@runfusion/fusion
@runfusion/fusion
patch

Fix "Copy code" button on the GitHub Copilot device-code panel (Settings and Onboarding) when the dashboard is served from a non-secure origin (e.g. LAN/HTTP fn serve). The button now falls back to a document.execCommand("copy") path when navigator.clipboard is unavailable and surfaces success/failure via a toast instead of silently no-opping. The auto-copy-on-first-show effect uses the same fallback silently.