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

Refactor common UI components #776

Closed allanlasser closed 1 month ago

allanlasser commented 1 month ago

Ahead of #775, I am trying to clean up and consolidate any common UI components used in src/lib but still living in src/common.

netlify[bot] commented 1 month ago

Deploy Preview for documentcloud-frontend ready!

Name Link
Latest commit 694358255d0087b0f0fb0936ba7463a3d0341993
Latest deploy log https://app.netlify.com/sites/documentcloud-frontend/deploys/670842880cd3ba000804d179
Deploy Preview https://deploy-preview-776.muckcloud.com
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

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 22.37% 7022 / 31386
🔵 Statements 22.37% 7022 / 31386
🔵 Functions 39.94% 145 / 363
🔵 Branches 57.82% 373 / 645
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/lib/components/accounts/UserMenu.svelte 100% 75% 0% 100%
src/lib/components/common/Dropdown.svelte 100% 40% 100% 100%
src/lib/components/forms/BulkActions.svelte 0% 0% 0% 0% 1-126
src/lib/components/layouts/DocumentBrowser.svelte 0% 0% 0% 0% 1-2232
src/lib/components/layouts/Navigation.svelte 0% 0% 0% 0% 1-1853
src/lib/components/navigation/HelpMenu.svelte 0% 0% 0% 0% 1-96
src/lib/components/navigation/LanguageMenu.svelte 0% 0% 0% 0% 1-73
src/lib/components/navigation/OrgMenu.svelte 0% 0% 0% 0% 1-296
src/lib/components/viewer/PDFPage.svelte 0% 0% 0% 0% 1-540
src/lib/components/viewer/toolbars/PaginationToolbar.svelte 0% 0% 0% 0% 1-1831
src/lib/components/viewer/toolbars/ReadingToolbar.svelte 0% 0% 0% 0% 1-152
Generated in workflow #577 for commit 6943582 by the Vitest Coverage Report Action