Commit Graph

7 Commits

Author SHA1 Message Date
Reese Norris
e8c6965fe0 airport-editor: fix selection clearing on feature click (Leaflet _stopped)
Root cause: clicking a taxiway selected it (blue highlight) then the same
DOM click re-fired on the map and cleared selection, so handles never stayed
visible and vertex drag could not run.

Leaflet only stops map re-fire when originalEvent._stopped is set; native
stopPropagation alone does not set that flag. Set _stopped, disable path
bubblingMouseEvents, and gate map clicks after feature clicks. Disable boxZoom
(blue rectangle). Cache-bust static module URLs (assets are go:embed).
2026-07-27 15:22:44 -04:00
Reese Norris
287100acf8 fix(web): airport editor map size + drop no-JS text fallback
Pin the enhanced map host to a definite viewport height and invalidate
Leaflet size on layout changes so OSM tiles fill the pane. Remove the
bottom apt/air text backup forms to reclaim console space.
2026-07-23 21:17:32 -04:00
Reese Norris
6f80c534d9 web: airport-editor validation UX and docs polish
Live client + server confirm validation panel, empty states, sweatbox
handoff copy, and residual docs.
2026-07-23 20:37:49 -04:00
Reese Norris
ed32e93220 web: airport-editor draw/edit modes and Blob download
Full edit loop: draw park/taxi/rwy/hold/aircraft, vertex edit, Blob
download, dirty hash + Mark clean, Raw preview+Apply.
2026-07-23 20:16:51 -04:00
Reese Norris
660c135757 fix: address review feedback for airport-editor map layers
Tooltip XSS: bind textContent Element tooltips; escapeHtml unit-tested.
Toolbar-only basemap; list Enter/Space; dead branch; document blank-tile hook.
2026-07-23 20:00:15 -04:00
Reese Norris
dd04b4c004 web: airport-editor map layers and surface/aircraft lists (read-only)
Load APT/AIR, render OSM map layers, select for inspector view, fit bounds.
Hard scope: no draw tools or Blob download yet.
2026-07-23 19:52:28 -04:00
Reese Norris
34480db437 web: add /airport-editor shell with echo-download
Admin-only MPA shell with dual textareas and CSRF echo-download.
No server persistence; pure body echo. Map region inert without JS.
2026-07-23 19:00:42 -04:00