todos-contra-el-fuego-web/imports/ui/pages
vjrj bc778bfd97 deps: react-leaflet 1.8 -> 4.2 (+ leaflet 1.9) — the last legacy react-* lib
Ground-up hooks rewrite of the app's core map. Removes the final batch of
React-19-blocking warnings (legacy context on Map/LayersControl/TileLayer/
Marker/CircleMarker/Circle/Tooltip + ReactDOM.render from the old controls).

Core: <Map> -> <MapContainer>; .leafletElement refs (6 files) -> the map/
layer instances directly, via a <MapReady> child (useMap) + plain refs on
Marker/Circle/GeoJSON; controlled viewport (onViewportChanged + state.center/
zoom) -> <MapEvents> (useMapEvents moveend/zoomend) + imperative setView;
onClick -> eventHandlers={{click}}; Path styling -> pathOptions/style;
subsUnion takes the L.Map directly.

The 4 v1-only plugins reimplemented (new in-repo helpers under Maps/):
- react-leaflet-control -> MapControl (L.Control + createPortal)
- react-leaflet-google  -> GoogleMutantLayer (createLayerComponent +
  leaflet.gridlayer.googlemutant; Google Maps API already loaded by Gkeys)
- react-leaflet-fullscreen -> createControlComponent + leaflet.fullscreen
- leaflet-sleep / leaflet-graphicscale kept as vanilla (work on leaflet 1.9)

Browser-verified: /fires (tiles, OSM+Google layer switch, custom control,
fullscreen, graphic scale, pan/zoom -> re-fetch, no NaN), fire detail
(GeoJSON rect + fitBounds), home (3 maps coexist; SelectionMap draggable
marker -> updatePosition + distance circle). Console now shows 0 React
warnings on home/fires. REST smoke byte-identical.
2026-07-21 18:45:15 +02:00
..
About deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
Auth deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
Credits deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
Documents deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
EditDocument cleanup: defaultProps -> JS default params on our function components 2026-07-21 13:54:02 +02:00
EditSubscription cleanup: defaultProps -> JS default params on our function components 2026-07-21 13:54:02 +02:00
Fires deps: react-leaflet 1.8 -> 4.2 (+ leaflet 1.9) — the last legacy react-* lib 2026-07-21 18:45:15 +02:00
FiresMap deps: react-leaflet 1.8 -> 4.2 (+ leaflet 1.9) — the last legacy react-* lib 2026-07-21 18:45:15 +02:00
FireSubscription deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
Index deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
License deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
Login deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
Logout deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
NewDocument wip wiring up account forms 2017-05-25 16:31:01 -05:00
NewSubscription deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
NotFound deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
Page cleanup: defaultProps -> JS default params on our function components 2026-07-21 13:54:02 +02:00
Privacy deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
Profile deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
RecoverPassword deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
ResetPassword deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
Sandbox deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
Signup deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
Status deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
Subscriptions deps: react-leaflet 1.8 -> 4.2 (+ leaflet 1.9) — the last legacy react-* lib 2026-07-21 18:45:15 +02:00
Terms deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
TestError Simplify Test page 2018-03-03 08:41:53 +01:00
VerifyEmail deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
ViewDocument deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
ViewSubscription deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
ZonesMap ZonesMap refactor 2018-03-03 11:41:12 +01:00