commit 2ee0e932dff1a389c6fb7a1a1dbbfc838d5b882b
parent e052cbe4a21d81145844b19b7f161f25b555e7b0
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 29 Sep 2026 23:20:59 -0400
editor: next.config's retired-satellite comment — the picker no longer reconciles a ?site= on a site's tab
/charts?site=a lands on /sites/a/charts?site=a; the tab ignores the query and
so does the picker, since on a site's own pages the path is the selection.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/editor/next.config.ts b/editor/next.config.ts
@@ -80,7 +80,8 @@ const nextConfig: NextConfig = {
// site's tab: the value regex is SITE_ID_RE, anchored by Next, so
// ?site=__all__ (underscores) misses it and lands on the family page. The
// matched query is NOT stripped — /charts?site=a lands on
- // /sites/a/charts?site=a — which the tab ignores and the picker reconciles.
+ // /sites/a/charts?site=a — which the tab ignores, and the picker too: on a
+ // site's own pages the path is the selection (app/lib/activeSite.ts).
// Order matters: first match wins, so each `has` rule precedes its bare one.
//
// TEMPORARY, not permanent: a 308 is cached by the browser forever, and this