From e8c2a4cda1094efcd181665e9c147cd3a8a7e29b Mon Sep 17 00:00:00 2001 From: SocioWire Date: Sat, 10 Jan 2026 07:32:28 +0000 Subject: [PATCH] feat: add weather markers on map with special blue pill styling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Weather posts display as compact blue pills with emoji + temperature - Weather posts forced to 'simple' type (never full card) to avoid duplicates - Parse temperature from title when not available in data - Z-index set to 10 (just above regular posts, below UI elements) - Add fetchWeatherPosts and fetchMapPins API functions - Add Weather modal components (WeatherModal, HourlyForecast, DailyForecast) - Add DayNightTerminator component for map 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/App.jsx | 3 +- src/api/client.js | 29 ++ src/components/Map/DayNightTerminator.jsx | 343 ++++++++++++++++++++++ src/components/Map/MapView.jsx | 48 +++ src/components/Map/markerManager.js | 197 ++++++++++++- src/components/Map/useMapCore.js | 2 + src/components/Map/usePostsEngine.js | 6 + src/components/Weather/WeatherModal.css | 296 +++++++++++++++++++ src/components/Weather/WeatherModal.jsx | 195 ++++++++++++ src/components/Weather/index.js | 1 + src/styles/mapMarkers.css | 68 +++++ 11 files changed, 1174 insertions(+), 14 deletions(-) create mode 100644 src/components/Map/DayNightTerminator.jsx create mode 100644 src/components/Weather/WeatherModal.css create mode 100644 src/components/Weather/WeatherModal.jsx create mode 100644 src/components/Weather/index.js diff --git a/src/App.jsx b/src/App.jsx index 8d512f3..628397a 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -209,7 +209,8 @@ export default function App() {