Commit graph

3 commits

Author SHA1 Message Date
51d9985743 fix(build): standard Vite layout so Railpack finds dist/
Railpack resolved outDir '../dist' (with root 'src') to /dist and the
deploy failed at "copy /dist". index.html now lives at the repo root and
the build writes to the default ./dist.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 13:09:25 +01:00
5a3ee9ab86 refactor: render the UI with Preact and signals
- Sidebar, legend, status, info panel and tooltip are Preact components (src/components)
- App state that the UI or map depends on is held in @preact/signals; the map redraws
  through a signal effect, pan/zoom still redraw directly
- Classification is a computed signal (buildings) instead of manual classifyAll calls
- index.html is just a mount point; CSS is imported from main.tsx

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 11:41:17 +01:00
4f9c11039b refactor: split into TypeScript modules built with Vite
- Move the single-file app into src/ as typed ES modules
- Vite for dev server and minified production build (bun run dev / build)
- oxfmt/oxlint config; rename useName -> ruianUseName (hooks lint false positive)
- Fix horizontal overflow in the sidebar (range input default margin)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 11:32:26 +01:00