Skip to content

feat: display toast message when copying is unavailable#282

Merged
kentcdodds merged 2 commits into
mainfrom
seer/feat/clipboard-toast
Jul 16, 2025
Merged

feat: display toast message when copying is unavailable#282
kentcdodds merged 2 commits into
mainfrom
seer/feat/clipboard-toast

Conversation

@seer-by-sentry

Copy link
Copy Markdown
Contributor

Fixes EPICSHOP-M. The issue was that: Clipboard API access failed; navigator.clipboard was undefined due to insecure HTTP context.

  • Display a toast message when copying to clipboard is unavailable due to insecure context (non-HTTPS or localhost).
  • Update the copy button to only attempt to copy if navigator.clipboard is available.

This fix was generated by Seer in Sentry, triggered by Kent C. Dodds. 👁️ Run ID: 356785

Not quite right? Click here to continue debugging with Seer.

@kentcdodds kentcdodds marked this pull request as ready for review July 15, 2025 13:03
@nx-cloud

nx-cloud Bot commented Jul 15, 2025

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit c094037

Command Status Duration Result
nx run-many --target build ✅ Succeeded 1s View ↗
nx typecheck ✅ Succeeded <1s View ↗
nx lint ✅ Succeeded 20s View ↗

☁️ Nx Cloud last updated this comment at 2025-07-15 13:57:41 UTC

cursor[bot]

This comment was marked as outdated.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
@kentcdodds kentcdodds merged commit 64dc08e into main Jul 16, 2025
9 checks passed
@kentcdodds kentcdodds deleted the seer/feat/clipboard-toast branch July 16, 2025 22:15
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.

1 participant