Closed eyeseast closed 20 hours ago
Status | Category | Percentage | Covered / Total |
---|---|---|---|
🔵 | Lines | 30.81% | 6699 / 21738 |
🔵 | Statements | 30.81% | 6699 / 21738 |
🔵 | Functions | 49.63% | 273 / 550 |
🔵 | Branches | 75.56% | 1008 / 1334 |
File | Stmts | Branches | Functions | Lines | Uncovered Lines |
---|---|---|---|---|---|
Changed Files | |||||
src/lib/components/forms/Search.svelte | 0% | 0% | 0% | 0% | 1-74 |
src/lib/components/viewer/PDFPage.svelte | 0% | 0% | 0% | 0% | 1-253 |
src/lib/components/viewer/ReadingToolbar.svelte | 0% | 0% | 0% | 0% | 1-140 |
src/lib/components/viewer/Text.svelte | 0% | 0% | 0% | 0% | 1-40 |
src/lib/components/viewer/ViewerContext.svelte | 0% | 0% | 0% | 0% | 1-193 |
src/lib/utils/search.ts | 82.92% | 75% | 75% | 82.92% | 14-15, 76-80 |
src/routes/(app)/documents/[id]-[slug]/+page.svelte | 0% | 0% | 0% | 0% | 1-66 |
src/routes/(app)/projects/+page.svelte | 0% | 0% | 0% | 0% | 1-118 |
src/routes/embed/documents/[id]-[slug]/+page.ts | 0% | 0% | 0% | 0% | 1 |
Name | Link |
---|---|
Latest commit | 014fa7912aa2c325eb27977ac0364cccb0cb0199 |
Latest deploy log | https://app.netlify.com/sites/documentcloud-frontend/deploys/673f5cf4c77dfe000834e885 |
Deploy Preview | https://deploy-preview-862.muckcloud.com |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
Lighthouse |
1 paths audited Performance: 57 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.
Do we still need
query
andgetQuery
inViewerContext
? Right now they're only used byText
andReaderToolbar
and seem like they could be replaced by the utility.
We probably don't. I'll take them out.
Closes #846 and consolidates routing logic around search.
For PDF pages, we're now getting the search query directly from the URL, instead of props, and reacting to URL changes.