Repository navigation
v1.8.0 — Buyer enquiry relay & GA4 analytics
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.googleAnalyticsIdfor 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.schedulingUrlshows 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, andexport-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 --daysandsemester-end's price prompt no longer silently treat blank input as0.