Skip to content

v1.8.0 — Buyer enquiry relay & GA4 analytics

Choose a tag to compare

@WillWYQ WillWYQ released this 08 Sep 01:24
· 42 commits to release since this release

What's new

Buyer enquiry relay
Item detail pages now have a Contact/Enquiry form (EnquiryForm) — buyers can send their name, contact info, and a message (optionally with an offer amount) straight from the site. A new Cloudflare Worker (workers/contact-form-proxy/, mirroring the shipping-rate-proxy's stateless design) relays it to the seller via Discord, Telegram, or email, so no contact details ever need to be published on the page. Opt-in and disabled by default — set up with /setup-contact-form.

Also in this release

  • Google Analytics (GA4) — paste a Measurement ID into siteConfig.analytics.googleAnalyticsId for full analytics on GitHub Pages, no Vercel hosting required; format-validated inline in Seller Studio.
  • Tag & course filtering — multi-select tag chips plus a static /tags/{tag} route across categories; single-select course-code chips on textbook listings.
  • Pickup scheduling link — an optional siteConfig.contact.schedulingUrl shows a "Schedule Viewing" button linking to Calendly/Cal.com/etc.
  • Installable PWA manifest, and a flyer-photo CORS readiness check in Seller Studio's setup checklist that catches a missing R2 CORS rule before flyers silently ship without photos.
  • New seller CLI toolkit — pnpm mark-available, duplicate, inventory, stale-check, audit-listings, and export-csv.
  • Security & reliability fixes — the contact-form Worker now enforces its allowed origin server-side (previously only echoed into response headers); tag links no longer 404 on rare slug collisions; 13 missing UI-string keys are now backfilled by pnpm migrate-config; Worker notifications use each item's real currency instead of a hardcoded $; stale-check --days and semester-end's price prompt no longer silently treat blank input as 0.