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
15 stars 5 forks source link

Very basic in-document search #559

Closed eyeseast closed 1 month ago

eyeseast commented 1 month ago

This is all in-browser, using a regular expression to match text. Trying to be as simple as possible, but no simpler.

Dependencies are also updated.

Screenshot 2024-06-03 at 5 26 29 PM

Screenshot 2024-06-03 at 5 26 18 PM

netlify[bot] commented 1 month ago

Deploy Preview for documentcloud-frontend ready!

Name Link
Latest commit 5509435b46e7ebdeb38cd7d68ee3c68e59f29396
Latest deploy log https://app.netlify.com/sites/documentcloud-frontend/deploys/665e395dc42ff600081c9110
Deploy Preview https://deploy-preview-559.muckcloud.com
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

github-actions[bot] commented 1 month ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 32.45% 3113 / 9592
🔵 Statements 32.45% 3113 / 9592
🔵 Functions 30.11% 53 / 176
🔵 Branches 55.67% 162 / 291
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/lib/components/documents/PDF.svelte 0% 0% 0% 0% 1-92
src/lib/components/documents/PDFPage.svelte 0% 0% 0% 0% 1-384
src/lib/components/documents/Text.svelte 0% 0% 0% 0% 1-60
src/lib/components/documents/TextPage.svelte 0% 0% 0% 0% 1-38
src/lib/utils/search.ts 96.36% 85.71% 83.33% 96.36% 13-14
src/routes/documents/[id]-[slug]/+page.svelte 0% 0% 0% 0% 1-306
src/routes/documents/[id]-[slug]/+page.ts 0% 0% 0% 0% 1-58
Generated in workflow #143