Gmc Viewer
repo: ~/Projects/gmc-viewer · 11 commits · 0 in last 24h, 1 in last 7d · █
Skills used
- /claude1
- /code1
- /command-center1
- /disapproved1
- /pending1
- /products1
- /ctrl-click1
- /country1
- /price1
Creative ideas + design notes
Commits with substantial prose (≥120 chars) — the rationale behind each move.
828b20f · 2026-09-24 · gmc-viewer: migrate refresh to Merchant API v1, fail-closed cache write (TK-12036)
Content API v2.1 410s mid-pagination (sunset); old pull() wrote the partial
result as the catalog then crashed on undefined summary. Now: merchantapi
products/v1, overwrite cache only after a complete error-free walk.
Verified: 61,659 offers refreshed.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014RPYSiFdzmd1W1zPngeHTy
9a84d83 · 2026-08-25 · creds-safe fetch guard: resolve relative fetch vs credential-free location (creds-in-URL trap)
Fleet inoculation — opening this basic-auth app with credentials in the URL
poisoned document.baseURI and made relative fetch('/api/…') throw. Guard resolves
non-absolute request URLs against location instead. Ref: creds-in-url-fetch-guard-fleet-pattern.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
8669671 · 2026-07-31 · gmc-viewer: href-drill — status badge is a filter-link + URL-addressable state
Each card's Merchant status badge (approved/disapproved/pending — the statuses the
/api/products filter supports) is now an <a href="?filter=<status>"> to its filtered
view (href-drill HARD rule); the chip filter + search are URL-addressable too. Click
filters in place + reflects into the URL, cmd/ctrl-click opens the shareable href,
back-button + deep-link restore via popstate/readURL. Brand/country left as text — the
API can't filter them, and gaming the detector without a real drill is not the fix.
Verified (Playwright + basic auth, live :9971): click an approved badge -> ?filter=approved
+ every card now approved; deep-link restores; back-button restores; canary FLAT->DONE;
0 pageerrors. href-drill backlog grid 5/92. TK-10089.
File tree
6 files tracked. Click any to browse the source at HEAD.
rendered in 1ms