Commit graph

4 commits

Author SHA1 Message Date
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
3d75509a6e feat(index): language, colors 2026-11-07 10:21:47 +01:00
41698e338c initial commit 2026-11-07 10:05:19 +01:00