Closed eyeseast closed 2 weeks ago
Name | Link |
---|---|
Latest commit | 46ad5aa597e568f4eec2856109febe08f27d6199 |
Latest deploy log | https://app.netlify.com/sites/documentcloud-frontend/deploys/672a8b386632eb0008a77860 |
Deploy Preview | https://deploy-preview-814.muckcloud.com |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
Lighthouse |
1 paths audited Performance: 44 Accessibility: 85 Best Practices: 92 SEO: 83 PWA: - View the detailed breakdown and full score reports |
To edit notification comments on pull requests, go to your Netlify site configuration.
Status | Category | Percentage | Covered / Total |
---|---|---|---|
🔵 | Lines | 24.22% | 8151 / 33646 |
🔵 | Statements | 24.22% | 8151 / 33646 |
🔵 | Functions | 43.23% | 195 / 451 |
🔵 | Branches | 61.95% | 513 / 828 |
File | Stmts | Branches | Functions | Lines | Uncovered Lines |
---|---|---|---|---|---|
Changed Files | |||||
src/lib/components/navigation/LanguageMenu.svelte | 0% | 0% | 0% | 0% | 1-74 |
src/lib/components/viewer/ViewerContext.svelte | 0% | 0% | 0% | 0% | 1-217 |
src/routes/+layout.ts | 0% | 0% | 0% | 0% | 1 |
Name | Link |
---|---|
Latest commit | a845ace94fc88202729ce6a3568eb30545c727ac |
Latest deploy log | https://app.netlify.com/sites/documentcloud-frontend/deploys/672a8bbc4f623d0008fddcc7 |
Deploy Preview | https://deploy-preview-814.muckcloud.com |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
Lighthouse |
1 paths audited Performance: 44 Accessibility: 85 Best Practices: 92 SEO: 83 PWA: - View the detailed breakdown and full score reports |
To edit notification comments on pull requests, go to your Netlify site configuration.
I'm going to merge this and then might try setting a cookie. Language preference might also be something we should store in the API, on the user object.
Closes #784
This sets the
$locale
store in the top layout usinglocalStorage
, if we've set it.I'd like to figure out a way to set it even earlier, because in this version, we're loading the English JSON file and then the other language, but this is a good-enough fix for now.