Use navigator.clipboard.writeText with an explicit permissions prompt when supported.
When not secure or permission denied, show a "Download log" link that serves the log as a file instead of relying on document.execCommand (deprecated).
Keep the copy button but make the UX predictable across HTTP/HTTPS.
Acceptance
Copy works when permissions are granted; download always works as fallback.
No dependence on document.execCommand.
Proposal
- Use navigator.clipboard.writeText with an explicit permissions prompt when supported.
- When not secure or permission denied, show a "Download log" link that serves the log as a file instead of relying on document.execCommand (deprecated).
- Keep the copy button but make the UX predictable across HTTP/HTTPS.
Acceptance
- Copy works when permissions are granted; download always works as fallback.
- No dependence on document.execCommand.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Proposal
Acceptance