From fe77c6d459c52a8bc00334a646c08309beffe495 Mon Sep 17 00:00:00 2001
From: Matt
Date: Mon, 27 Apr 2026 03:51:34 +0000
Subject: [PATCH] fix: route polyline visibility + login URL
B1: Add ResizeObserver to MapView.jsx to handle layout settling.
The map canvas had 0 height at init because layout hadnt settled
when the useEffect fired. ResizeObserver calls map.resize() on
any container size change.
B11: Use native outpost start URL for login initiation:
/outpost.goauthentik.io/start?rd=%2F
This properly triggers auth flow and redirects to / after login.
Removed the Caddy /login handler that wasnt redirecting correctly.
---
src/components/ContactList.jsx | 2 +-
src/components/MapView.jsx | 7 +++++++
src/components/Panel.jsx | 2 +-
src/components/PlaceCard.jsx | 2 +-
src/components/PlaceDetail.jsx | 2 +-
5 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/components/ContactList.jsx b/src/components/ContactList.jsx
index 53e934c..432b33b 100644
--- a/src/components/ContactList.jsx
+++ b/src/components/ContactList.jsx
@@ -36,7 +36,7 @@ export default function ContactList() {
Sign in to save and sync your contacts