Commit Graph

11 Commits

Author SHA1 Message Date
Oliver e0b66ae824 fix: unwrap [{data:[...]}] wrapper in server webhook response parsing
The new webhook wraps data in an outer array: [{data: [...]}].
The old parsing only handled {data: [...]} directly, so .data was
undefined and the server list ended up empty — causing the location
to fall through to the slugified default.
2026-06-15 12:17:40 -03:00
Oliver 4fe11e124a fix: use server code from webhook response for location select value
The stats webhook now returns a 'code' field (e.g. 'fr', 'usa')
alongside the display 'server' name. The option value now uses
s.code and falls back to slugified server name for backward compat.
2026-06-15 12:08:56 -03:00
Oliver 8fea7037e7 remove seat counts from option labels, locations show name only (except sold out) 2026-06-14 19:38:20 -03:00
Oliver eab62121c3 remove low-seat coloring on select and options (normal appearance), keep sold-out red/disabled only 2026-06-14 19:35:02 -03:00
Oliver da598a8ead fix: determine select border class by lowest seats across all servers, bump cache buster 2026-06-14 19:31:20 -03:00
Oliver 3b3cf8a17c fix: handle {data: [...]} API response format in server availability, bump cache buster to v3 2026-06-14 19:25:49 -03:00
Oliver 25e20ac75c fix: move SERVER_WEBHOOK const before initServerLocations() call 2026-06-14 17:06:02 -03:00
Oliver a886c650c7 fix: move SERVER_WEBHOOK const before initServerLocations() call to avoid temporal dead zone 2026-06-14 17:01:46 -03:00
Oliver 19183b42a8 live seat availability: fetch from server webhook, orange/red styling when <10/0 seats, disable sold-out locations 2026-06-14 16:54:13 -03:00
Oliver d6688c82a9 add video chip to Odoo speed-run blog card on homepage + JS/CSS for video chips 2026-06-14 08:39:26 -03:00
oliver afbc9462f0 split + record 2026-06-12 14:23:16 -03:00