Public: anyone can read this; the crew can change it.
forked from trevato/cs
The board can be asked for one map: `/?board=<map>` renders that map's standings and says so #415
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
forked from trevato/cs
The second slice of #242: the page uses the per-map standings.
?map=already means play this map on/, so the board gets its own parameter and never reuses that one.Done looks like
/?board=de_forgeand/?board=gen_…render that map's standings, server-side, on first paint. The value is validated at the boundary insrc/server.tswithsrc/mapname.ts. An unknown or malformed value falls back to the whole board. It never errors.?board=with two maps renders two different tables. A junk?board=renders the whole board with a 200 status. The sentence names the map.?map=still starts a round on that map and does not filter the board.Files I expect to change
src/server.ts,src/pages/game.ts,src/server.test.ts,src/pages/game.test.ts.Risks
Suggested: Torque.