dune-tools/character-builder/frontend
Vantz Stockwell 9f53a58701 Harden boot path + surface errors instead of blanking
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>
2026-05-23 08:30:14 -04:00
..
public/icons Skill tree: subtrees, loadout slots, label fix 2026-05-23 08:21:09 -04:00
src Harden boot path + surface errors instead of blanking 2026-05-23 08:30:14 -04:00
index.html Add Dune Awakening character builder + initial project scaffolding 2026-05-23 07:30:37 -04:00
package.json Add Dune Awakening character builder + initial project scaffolding 2026-05-23 07:30:37 -04:00
tsconfig.app.json Add Dune Awakening character builder + initial project scaffolding 2026-05-23 07:30:37 -04:00
tsconfig.json Add Dune Awakening character builder + initial project scaffolding 2026-05-23 07:30:37 -04:00
tsconfig.node.json Add Dune Awakening character builder + initial project scaffolding 2026-05-23 07:30:37 -04:00
vite.config.ts Add Dune Awakening character builder + initial project scaffolding 2026-05-23 07:30:37 -04:00