Show live Arena champion picks and anvil champions #51

Merged
nessar merged 6 commits from feat/13-champ-select-view into main 2026-11-19 22:17:17 +01:00
6 Commits
Author SHA1 Message Date
nessar 304d958c72 Fix the final champ select review findings (#13)
CI / core (pull_request) Successful in 51s
CI / core (push) Successful in 49s
2026-11-19 22:17:14 +01:00
nessarandClaude Opus 5.5 cf15eeeb8f Decode client events from their data and keep the draft on a timeout (#13)
Event frames are [8, topic, {data, eventType, uri}]; decode_event returned the
whole envelope, so the cached session had no localPlayerCellId and the
pickable/disabled/anvil lists ignored the update until a fresh GET. It now
returns the envelope's data (null on Delete, which the cache already ignores).
The tests use enveloped frames, including one from raw text to the cached state.

transport_error mapped every non-TLS error to Absent, so one request timing out
while the client loads the draft sent the page back to statistics. A timeout or
an I/O error other than connection refused is now Other, which champ_select_with
treats as transient. Other readers of ClientError only use .ok(), so nothing
else changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:17:14 +01:00
nessar 5ba3251875 Fix champ select review findings (#13)
- redraw the page on hover and lock-in changes, and reset the settings form
  when champ select takes the window away
- keep the current pick when a client read fails; only a real answer that
  the draft is over ends it
- read the client once per wake and share it between the follower and the
  live selection, reuse session event payloads, and touch only the cached
  champion list an event concerns
- replay the captured raw client responses in the fake and cover the list
  cache, event updates and the anvil-champion read
- name the five champions anvil champions and the set pickable, document
  them, and prepare redraw strings ahead of render
2026-11-19 22:17:14 +01:00
nessar f4a9e5e7a8 Show live Arena champion picks and crowd favorites (#13) 2026-11-19 22:17:14 +01:00
nessar fabaa8a60f Record the five anvil champions from the same Arena session 2026-11-19 22:17:14 +01:00
nessar 9d9b67666b Capture Arena 3x6 bans, hovers and lock-in for #13 2026-11-19 22:17:14 +01:00