Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guard against failures to access clipboard #940

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Conversation

allanlasser
Copy link
Member

Fixes #937

  • Refactors clipboard access into tested utility function

@allanlasser allanlasser requested a review from eyeseast December 4, 2024 17:11
Copy link

netlify bot commented Dec 4, 2024

Deploy Preview for documentcloud-frontend-next ready!

Name Link
🔨 Latest commit 8000f99
🔍 Latest deploy log https://app.netlify.com/sites/documentcloud-frontend-next/deploys/67508d4ee58329000839a56a
😎 Deploy Preview https://deploy-preview-940.muckcloud.com
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 24 (🔴 down 32 from production)
Accessibility: 86 (🟢 up 1 from production)
Best Practices: 83 (🔴 down 9 from production)
SEO: 82 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Dec 4, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 30.89% 6776 / 21933
🔵 Statements 30.89% 6776 / 21933
🔵 Functions 49.11% 276 / 562
🔵 Branches 75.01% 1021 / 1361
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/lib/components/documents/Share.svelte 100% 62.96% 57.14% 100%
src/lib/components/projects/ProjectShare.svelte 0% 0% 0% 0% 1-101
src/lib/utils/copy.ts 100% 100% 100% 100%
src/lib/utils/tests/copy.test.ts 100% 100% 100% 100%
Generated in workflow #440 for commit 8000f99 by the Vitest Coverage Report Action

@allanlasser allanlasser merged commit 2eb23b2 into main Dec 4, 2024
10 of 11 checks passed
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.

Guard against failures to access clipboard API
2 participants