fix(web): the label route was written outside the routes tree, and the PWA promised icons that do not exist
Release / Build and publish image (push) Failing after 13m28s
Release / Build and publish image (push) Failing after 13m28s
Every label link in the sidebar was dead. The route file landed in web/web/src/routes/ because the shell that created it was already inside web/ — SvelteKit never saw it, so /etiket/<name> fell through to the app shell and rendered nothing. The manifest also listed icon-192.png and icon-512.png, and app.html an apple-touch-icon, none of which were ever generated. A manifest pointing at missing icons is worse than one listing only what exists, so the dead references are gone and the SVG — which Chrome and Firefox install from happily — is what remains. docs: hand over the project HANDOFF.md covers what cannot be read out of the code: why the name is not skuld, the decisions that look strange until you know the reason, what is tested against a real service and what is only tested against its specification, the gaps in the order I would take them, and the traps that cost the most time to find. Co-Authored-By: Claude Opus 5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5
parent
a8e523b377
commit
2a3367bfe0
@@ -7,7 +7,6 @@
|
||||
<meta name="description" content="verdande — opgaver og projekter, delt." />
|
||||
<link rel="manifest" href="/manifest.webmanifest" />
|
||||
<link rel="icon" href="/icon.svg" type="image/svg+xml" />
|
||||
<link rel="apple-touch-icon" href="/icon-180.png" />
|
||||
<title>verdande</title>
|
||||
<script>
|
||||
// Applied before first paint, so a dark-theme user never sees a white
|
||||
|
||||
@@ -8,8 +8,11 @@
|
||||
"theme_color": "#111312",
|
||||
"lang": "da",
|
||||
"icons": [
|
||||
{ "src": "/icon.svg", "sizes": "any", "type": "image/svg+xml", "purpose": "any" },
|
||||
{ "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
|
||||
{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" }
|
||||
{
|
||||
"src": "/icon.svg",
|
||||
"sizes": "any",
|
||||
"type": "image/svg+xml",
|
||||
"purpose": "any maskable"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user