Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix copying preview content and file paths over HTTP - #160

Open
dbotwinick wants to merge 1 commit into
powerfooI:mainfrom
dbotwinick:fix/preview-clipboard-http
Open

Fix copying preview content and file paths over HTTP#160
dbotwinick wants to merge 1 commit into
powerfooI:mainfrom
dbotwinick:fix/preview-clipboard-http

Conversation

@dbotwinick

Copy link
Copy Markdown
Contributor

Copying preview text or an absolute explorer path fails when navigator.clipboard is unavailable, such as on a non-local HTTP origin. Use the existing user-gesture clipboard helper for both actions, including its document-copy fallback and existing error reporting.

Checked both actions in an isolated browser with navigator.clipboard unavailable; both completed successfully. Existing clipboard helper regressions are included in the full suite.

Validation: formatting, lint, type checks, production build/asset budgets, and the full Bun suite (1509 passed, one live-SSH test skipped). Browser regressions ran in isolated Chromium via a Playwright launcher. The existing process-stop test exceeds the default 5-second timeout on this host; the full suite passes with bun test --timeout 15000.

@github-actions github-actions Bot added the bug Something isn't working label Sep 13, 2026
@dbotwinick
dbotwinick marked this pull request as ready for review September 13, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant