From 9aab761a082f66a4486a50b4c629c954d1979093 Mon Sep 17 00:00:00 2001 From: SkateSpots Date: Wed, 28 Oct 2026 18:22:47 +0700 Subject: [PATCH] docs: record 1.7.19 global palette and context --- AGENTS.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index f2b9483..c572bcb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -889,6 +889,14 @@ session with **no other memory of this project**. So: archive now hides an issue number that is also live, so backfilled issues don't duplicate. The draft event is public (it contains no private data); never put `SIGN_WITH` in it or in tracked files. +- **Global command palette (2026-10-28):** `components/GlobalSearch.tsx` + + `lib/globalSearch.ts`; opens on `Cmd/Ctrl+K` or the header search button. + `CommandDialog` (cmdk) searches static pages/nav plus spots/shops/crews/events/ + gear/skaters. All data hooks are **enabled only while open** (the map's + `useSkateSpots(2000)` key is reused); recent searches live in + `skatespots:global-search-recent`. It suppresses the desktop welcome modal on + open. Map Events/Crews layer choices use `useLocalStorage`; `ScrollToTop` now + restores scroll per history entry on POP and scrolls to top on PUSH. - **Nav parity (fixed 2026-09-27):** the desktop header is `max-w-[1700px]` (wider than the page `container`'s 1400px) and nav items are `px-3` + `whitespace-nowrap`; the nav keeps `min-w-0 overflow-x-auto scrollbar-hide`, so @@ -2488,6 +2496,12 @@ Rules: requests, and when to use a bunker/local key); service-worker and assetlinks cache headers tightened. APK sha256 `7a2a7cce…`, versionCode 10718. Web forced live at `0a13f21`. + - **1.7.19 (2026-10-28):** global command palette (`Cmd/Ctrl+K` or header + search) across spots, shops, crews, events, gear, skaters and pages; + recent searches are local; datasets are queried only while the palette is + open. Browser Back/Forward scroll restoration; Events/Crews map-layer + choices persist. APK sha256 `e8e38ba8…`, versionCode 10719. Web forced live + at `959999d`. ### Relay archive (dataset backup) - **Transfer content between keys (`scripts/transfer-content.mjs`, 2026-10-04):**