A friend on Chrome reported the page renders briefly then drops to the plain theme background (Brave/Chromium fine). Defensive changes so the next blank-page report comes with a visible cause: - main.ts installs Vue config.errorHandler, window.onerror, and window.unhandledrejection listeners. Any uncaught error pins a red banner to the top of the page with the error message, so the user sees what crashed instead of a blank background. - App.vue's onMounted now wraps each data fetch in a safeLoad helper. Promise.allSettled (vs allSettled used previously: was a plain Promise.all) means one failed file can't reject the whole batch. Errors log to the console and show as a non-fatal "Boot warning" toast in the share bar. This doesn't fix the root cause yet — needs Chrome devtools console output to pinpoint — but ensures the next person who hits it sees an actionable error. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public/icons | ||
| src | ||
| index.html | ||
| package.json | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||