MuckRock / documentcloud-frontend

DocumentCloud's front end source code - Please report bugs, issues and feature requests to info@documentcloud.org
https://www.documentcloud.org
GNU Affero General Public License v3.0
18 stars 5 forks source link

Use getApiResponse on infinite scrolls, too #880

Closed eyeseast closed 4 days ago

eyeseast commented 4 days ago

Closes #829

This aligns our infinite scroll handling with other places we hit the API and lets us show an error message when something fails.

github-actions[bot] commented 4 days ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 30.81% 6738 / 21866
🔵 Statements 30.81% 6738 / 21866
🔵 Functions 49.72% 274 / 551
🔵 Branches 75.52% 1012 / 1340
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/lib/components/addons/History.svelte 0% 0% 0% 0% 1-78
src/lib/components/addons/Scheduled.svelte 0% 0% 0% 0% 1-81
src/lib/components/documents/ResultsList.svelte 100% 28.57% 100% 100%
Generated in workflow #779 for commit 31f55fb by the Vitest Coverage Report Action
netlify[bot] commented 4 days ago

Deploy Preview for documentcloud-frontend ready!

Name Link
Latest commit 31f55fb89529779dab074d5e4f3a0fa084021300
Latest deploy log https://app.netlify.com/sites/documentcloud-frontend/deploys/674491de56bf1800080bfefa
Deploy Preview https://deploy-preview-880.muckcloud.com
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 49
Accessibility: 85
Best Practices: 92
SEO: 91
PWA: -
View the detailed breakdown and full score reports

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