config/projects/snapapi/memory/bugs.md

42 lines
2.3 KiB
Markdown

# SnapAPI Bug Tracker
## Fixed
### BUG-001: Key cache not shared across pods (HIGH) — FIXED v0.1.1
- **Found:** Session 2
- **Impact:** ~50% of screenshot requests fail with 403 after signup when 2+ replicas
- **Fix:** Cache-aside pattern — check DB when key not in memory cache
- **Verified:** 6/6 requests succeed after signup on 2-replica prod deployment
### BUG-004: CSP blocks all inline event handlers (CRITICAL) — FIXED v0.2.3
- **Found:** Session 4 (investor-reported)
- **Impact:** ALL interactive functionality broken — signup modal, playground, mobile nav, FAQ toggles
- **Root cause:** Helmet's default CSP includes `script-src-attr 'none'` which blocks onclick/onsubmit handlers
- **Fix:** Added `scriptSrcAttr: ["'unsafe-inline'"]` to helmet CSP config
- **Verified:** Signup modal opens, API key generated, playground takes screenshots, mobile nav works
### BUG-005: Mobile nav has no CSS for .show class (HIGH) — FIXED v0.2.3
- **Found:** Session 4 (investor-reported)
- **Impact:** Hamburger menu toggle did nothing — nav links invisible on mobile
- **Root cause:** CSS had `display:none` for `.nav-links` on mobile but no rule for `.nav-links.show`
- **Fix:** Added `.nav-links.show{display:flex; flex-direction:column; ...}` with absolute positioning
- **Verified:** Hamburger opens/closes menu, links visible and clickable
### BUG-006: Signup buttons use href="#" causing scroll (MEDIUM) — FIXED v0.2.3
- **Found:** Session 4 (investor-reported)
- **Impact:** Clicking "Get Free API Key" scrolled to top instead of opening signup modal
- **Root cause:** `href="#"` navigated before onclick could fire (CSP was the bigger issue, but this was also broken)
- **Fix:** Changed all signup links to `href="javascript:void(0)"`
- **Verified:** All 4 signup CTAs correctly open the modal
### BUG-002: No email verification on signup (MEDIUM) — CLOSED v0.3.0
- **Impact:** Anyone can create unlimited keys with fake emails
- **Resolution:** Free signup removed entirely. Playground is the free demo (no keys needed). Paid signup will go through Stripe.
### BUG-003: No API key recovery (MEDIUM) — CLOSED v0.3.0
- **Impact:** Lost API key = create new account
- **Resolution:** Free tier removed. Paid tier key recovery will be handled via Stripe customer portal.
## Open
No open bugs.