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

Search highlights #517

Closed eyeseast closed 5 months ago

eyeseast commented 5 months ago

This adds two components -- SearchHighlights.svelte and NoteHighlights.svelte -- that wrap respective highlights in a details/summary block for collapsing.

This very much needs a style pass.

netlify[bot] commented 5 months ago

Deploy Preview for documentcloud-frontend ready!

Name Link
Latest commit c03a6ca90288ce6458a7d257eded3b2d7fddeea1
Latest deploy log https://app.netlify.com/sites/documentcloud-frontend/deploys/6626b959bdae75000967e995
Deploy Preview https://deploy-preview-517.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 5 months ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 36.26% 2351 / 6482
🔵 Statements 36.26% 2351 / 6482
🔵 Functions 23.18% 32 / 138
🔵 Branches 42.01% 71 / 169
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/lib/api/types.d.ts 0% 0% 0% 0% 1-207
src/lib/components/documents/DocumentListItem.svelte 100% 50% 100% 100%
src/lib/components/documents/NoteHighlights.svelte 100% 100% 100% 100%
src/lib/components/documents/ResultsList.svelte 100% 22.22% 50% 100%
src/lib/components/documents/SearchHighlights.svelte 100% 100% 100% 100%
Generated in workflow #47