121 Commits
Author SHA1 Message Date
nessarandClaude Opus 5.5 a23e7ffbac Bring the window forward at the end of a game, as at a champ select
CI / relay (pull_request) Successful in 30s
CI / core (pull_request) Successful in 2m1s
CI / relay (push) Successful in 38s
CI / core (push) Successful in 56s
Every end of a game the page decides on (recap opened, Challenge with the
preference off, or a game left without its block) emits MatchEndShown,
formerly RecapOpened: « Paramètres » gives way and the window is raised
above the others without taking the focus, through tray::reveal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 21:17:36 +01:00
nessarandClaude Fable 5.2 88acc1b0df Prove a changed PUUID by champion and Placement, and fix the review findings (#150, #140)
CI / relay (pull_request) Successful in 41s
CI / core (pull_request) Successful in 58s
CI / relay (push) Successful in 42s
CI / core (push) Successful in 2m13s
A champion is unique only within a team of an Arena Match, so the proof
of a changed PUUID now requires the same champion and Placement in the
shared Match. A Friend's Riot ID resolution waits for the follower
again before each retry. The page resolves the signed-in Account once
per change instead of at each progress message, the arc's circle is
kept across counts, and the ring's paint no longer returns a value only
a test reads. Tests: a real import of twelve Matches drives the arc,
the structural test hovers a card and scrolls the grid, and Death
Recaps, blocks and Provisional Matches are read after a rekey.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 20:06:41 +01:00
nessarandClaude Fable 5.2 7b0b9863e0 Fix the verification findings of the rekey and the import arc (#150, #140)
The proof of a changed PUUID also requires the same champion in the
shared Match: anyone who played in it passed before, so a Friend whose
stale Riot ID was taken by a co-player could be merged into them. A
quota wait on a Friend's Riot ID resolution is told. The arc's paths
are built once per size and progress instead of at each paint of the
ring, and a signed-in Account the page has not read yet shows no arc.
Tests now cover the session state and the sync mark of a rekey.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 19:51:52 +01:00
nessarandClaude Fable 5.2 5343e49996 Show the import on the ring and the Riot quota wait (#140)
An import of 10 Matches or more of the Account shown draws a thin arc
around the ring's ticks, filled from noon as Matches arrive and gone
when the import ends. The ring stays a cached view, told at most once a
second. While the import waits for a 429's Retry-After, the progress
carries the wait and the status line counts it down each second
(« Quota Riot atteint : reprise dans 12 s »), on a timer that only
exists during the wait.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 19:32:12 +01:00
nessarandClaude Fable 5.2 6140bc34fb Follow an Account to its new PUUID on proof of identity (#150)
A PUUID depends on the Riot application of the API key, so the relay's
production key gives every stored Account another one. Before a request
that carries a stored PUUID (a sync, a Friend's import), the Riot ID is
resolved; when its PUUID differs and a stored published Match is among
the new PUUID's, the Account, its Matches (stored Riot responses
included), Mastery, sync mark, platform, last active mark and Friend
status move to it in one transaction. A new PUUID already stored is
merged, the published Match winning. Without proof nothing changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 19:21:52 +01:00
nessarandClaude Opus 5.5 1eebb86902 Call Riot through the relay, without a key (#149)
Every Riot call goes to {relay}/{routing value}{Riot path} and sends no
key. The relay's address is built in (arena-tracker.nessar.fr);
relay_url in config.toml replaces it for development. A riot_api_key
left by an older version is never read, and is written back on save.

The personal keys' local pacing is gone. An import waits out each
Retry-After as often as it comes (at least a second each time), and so
do Mastery requests. A 5xx is the service unavailable, with its own
banner; a 401/403 is a refusal, which for a timeline the Match itself
confirms before it is stored, so a key failing on the relay's side
stores no refused Death Recap.

The first-launch key prompt, the key field in « Paramètres » and the
Friend refusal's « Paramètres » button are removed; the follower starts
with the app. KeyForm, KeyStore and KeyEvent become SettingsForm,
SettingsStore and SettingsEvent. README, user guide and interface spec
no longer ask for a key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 13:44:58 +01:00
nessarandClaude Opus 5.5 b50f429f2a Document the relay as deployed: Komodo, NPM behind Cloudflare, public (#151)
CI / relay (pull_request) Successful in 27s
CI / core (pull_request) Successful in 1m40s
CI / relay (push) Successful in 40s
CI / core (push) Successful in 57s
The stack passes its variables through environment: (Komodo's .env only
fills the placeholders), the key is a Komodo Secret, and the personal key's
limits apply until #152. NPM takes the player's address from
CF-Connecting-IP and keeps no access log. Cloudflare must not challenge or
cache the subdomain. The service is public by choice, with the location
block that would restrict it. Updates and key changes go through Redeploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:48:43 +01:00
nessarandClaude Opus 5.5 86b149135c Count the Riot request's description as sent (#147)
CI / relay (pull_request) Successful in 53s
CI / core (pull_request) Successful in 1m12s
CI / relay (push) Successful in 27s
CI / core (push) Successful in 1m47s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:39:46 +01:00
nessar 324a092c47 Update docs/demande-cle-production.md
CI / relay (pull_request) Successful in 25s
CI / core (pull_request) Successful in 1m47s
2026-11-27 18:38:19 +01:00
nessarandClaude Opus 5.5 c9cb0f4ed7 Fit the Riot request's description in the form's 1,500 characters (#147)
CI / relay (pull_request) Successful in 31s
CI / core (pull_request) Successful in 1m50s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:36:28 +01:00
nessarandClaude Opus 5.5 1a9dea471d Name the real subdomain, arena-tracker.nessar.fr, in the Riot request (#147)
CI / relay (pull_request) Successful in 40s
CI / core (pull_request) Successful in 57s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:34:17 +01:00
nessarandClaude Opus 5.5 e7103ae0bd Record the production key request as Riot's form takes it (#147)
CI / relay (pull_request) Successful in 34s
CI / core (pull_request) Successful in 1m40s
The description is one plain-text field: the text is now the exact block
pasted, with the other fields in a table, and what must stay true of it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:34:01 +01:00
nessarandClaude Opus 5.5 003ba4872c License under the AGPL 3.0 or later, and draft the production key request (#147)
CI / relay (pull_request) Successful in 42s
CI / core (pull_request) Successful in 1m0s
LICENSE holds the FSF's AGPL 3.0 text; the three crates declare
AGPL-3.0-or-later. The README says what stays under its own license: the
Inter and Unbounded fonts (OFL) and Riot Games' images, data and
certificate. Every dependency's license is compatible.

docs/demande-cle-production.md is the text for Riot's developer portal:
the app, the six Riot calls and when each is made, the relay and its
limits, the friend lookup by Riot ID, no item or augment statistics, and
that today's app still uses each player's personal key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:32:11 +01:00
nessarandClaude Opus 5.5 24691306fb Fill the site's placeholders, name Cloudflare, add screenshots (#145)
CI / relay (pull_request) Successful in 30s
CI / core (pull_request) Successful in 2m1s
CI / relay (push) Successful in 43s
CI / core (push) Successful in 1m3s
Operator Nessar, contact arena@nessar.fr, effective 27 November 2026,
14 days for gitea.nessar.fr access logs. The privacy policy now says
requests pass through Cloudflare, which sees them in transit.

Three screenshots of the app on the home page (Challenge, Matches,
Statistics), WebP at 1280 px, other players' Riot IDs blurred. The relay
serves them like the pages; its test now walks all of site/, so a file
left out of src/site.rs fails CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:24:48 +01:00
nessarandClaude Opus 5.5 c7d0395502 Package the relay as a container image, published by a local script (#151)
CI / relay (pull_request) Successful in 36s
CI / core (pull_request) Successful in 52s
CI / relay (push) Successful in 27s
CI / core (push) Successful in 2m5s
A static musl binary on an empty image, run as nobody, listening on 8080.
scripts/publish-relay builds it from a clean, pushed commit of develop or
main and pushes it to Gitea's registry, tagged with the commit and latest.
The build context is an allowlist: never .env nor target/.

RELAY_TRUSTED_PROXY also takes a network: Nginx Proxy Manager's address on
the Docker network changes when it restarts.

docs/service-relais.md gives the compose service, the env file, the NPM
proxy host (no access log, Access List until #152), and how to update,
change the key and check the restart and the per-address limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:42:56 +01:00
nessarandClaude Opus 5.5 fe36a431dc Relay the app's Riot calls with the key and the quota, and serve the site (#148, #145)
CI / relay (pull_request) Successful in 37s
CI / core (pull_request) Successful in 52s
CI / relay (push) Successful in 40s
CI / core (push) Successful in 1m6s
New workspace member arena-tracker-relay: it holds the Riot key from the
environment and serves the app's six Riot calls as /{routing value}{Riot path}.
Any other route, method, routing value, queue or count above 100 gets 404
without calling Riot. Fixed-window limits per routing value (production
limits) and per client address answer 429 with Retry-After at once; a Riot
429 is passed with its delay and suspends its routing value. Riot's 401/403
become 503 (except a timeline's 403), an unreachable Riot 502. The log holds
the call type, status and duration only; nothing is written to disk.

The same binary serves the site pages of site/ (#145), built in, unlogged.

Tested over HTTP against a local fake Riot. A separate `relay` CI job, now
required on develop and main. ADR-0008 replaces ADR-0001's personal key;
docs/service-relais.md says how to run it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:20:34 +01:00
nessarandClaude Opus 5.5 3d4c8bbc83 Address review: Journal private, client found/gone, sync redaction test (#142)
CI / core (pull_request) Failing after 1m45s
- Rule #3: Journal and its open/launch are private again; the writer's
  tests move to src/journal/tests.rs, only the launch test stays an
  integration test. The « Ouvrir le dossier des journaux » selector sits
  on the button itself, not on a div drawn for the test.
- The log notes the League client found and gone (its event stream
  connects or drops), and a client without anyone signed in reads
  "nobody signed in" instead of "absent".
- Other libraries (GPUI…) reach the log only with errors: their info and
  warnings may come per frame. The HTTP client stays out entirely.
- The log opens after the single-instance check: a relayed launch no
  longer writes to, nor rotates, the running instance's log.
- A whole sync through the Riot adapter is tested to log neither the key
  nor a full PUUID. The URL comment follows the spec: Riot IDs may be
  logged, a full PUUID may not.
- --verify-release keeps its eprintln: the publishing script reads it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:52:48 +01:00
nessar 556e95eadc Merge #142: keep an application log, open its folder from « Paramètres » 2026-11-27 16:22:11 +01:00
nessar 04b1204432 Merge #141: open « Statistiques » from a chart icon in the banner's corner 2026-11-27 16:22:11 +01:00
nessarandClaude Opus 5.5 4ac19df72b Address review: release version, rotation failure, low priority (#142)
The launch line carries the release version (`-dev` suffix on a dev build). A failed
rotation keeps writing to the current file and retries after another MB. The writer thread
runs an `on_start` hook, which the app uses to lower its priority. Tests for the rotation
failure and the `ureq`/debug exclusion. The profile CSV errors go to the log. Opening the
logs folder only clears its own error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:22:04 +01:00
nessarandClaude Opus 5.5 be2eee469e Address review: ring structural test, doc fixes, kit icon_assets! macro (#141)
Hovering the icon leaves the cached ring unrendered (asserted in the grid
test). performance.md opens « Statistiques » by the chart icon, and
interface.md no longer claims the icon leaves the text untouched in a
narrow window. The chart icon comes from gpui_kit::assets::icon_assets!, so
the vendored SVG and Lucide license are removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:22:04 +01:00
nessarandClaude Opus 5.5 200a1f380c Keep an application log in a rotating file, and open its folder from « Paramètres » (#142)
Lines are queued to one writer thread, idle at rest, that flushes once the
queue is drained and on quit. Riot calls are logged by type, never by URL;
PUUIDs are cut to 8 characters and the key never appears.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:22:04 +01:00
nessarandClaude Opus 5.5 771f6f3d31 Put « Statistiques » on a chart icon in the banner's bottom-right corner (#141)
The text link at the end of the Season line is gone. The one Lucide icon the
kit's default bundle lacks is served by the app's own asset source.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:22:04 +01:00
nessarandClaude Opus 5.5 bb6ab65559 Address review: prove the Riot notice is reachable, fix the top being cut off, move docs (#146)
The test now scrolls the settings down and checks the notice ends inside the
window and the title starts inside it. Doing so showed the my_auto centring
pushed the overflowing column's top out of the scroll range; a min-height
wrapper centres it instead. The notice sentence moves to its own doc section
and mentions the first-launch key screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:22:04 +01:00
nessarandClaude Opus 5.5 dd8af3f9e7 Show Riot's legal notice at the bottom of « Paramètres » (#146)
The settings now scroll, so the notice stays reachable at the window's
minimum size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:22:04 +01:00
nessar d2f5a6b96d Protect account deletion and address the account and match UI review (#139)
CI / core (pull_request) Successful in 1m44s
2026-11-25 22:39:53 +01:00
nessarandClaude Sonnet 5.5 0f13ecbc80 Add Friends by their Riot ID from the Account selector (#116)
CI / core (pull_request) Successful in 1m42s
- The selector lists « Vos Comptes », « Amis » (when there are some) and a last entry
  « Ajouter un ami… » that opens a Pseudo#TAG field validated by Entrée; refusals are
  shown with the field, the missing key with a way to « Paramètres ».
- A Friend's history is imported on its own below-normal thread, one import at a time
  (the latest asked for wins), when it is added, chosen in the selector and on
  « Actualiser » while it is shown; never at launch or on a timer.
- The Défi reloads as Matches arrive (at most once a second) and the header says
  « Import de Pseudo : n / N Parties »; a failure shows as one alert line, an import of
  a deleted Friend ends silently.
- Tests with a simulated Riot source, docs/interface.md and the user guide updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 20:08:27 +01:00
nessarandClaude Opus 5.5 d601d30605 Delete an Account or a Friend from « Paramètres » (#117)
- New « Comptes » section in the settings (settings/accounts.rs): your Accounts then your
  Friends, each with « Supprimer », an inline confirmation with the count of stored Matches and
  the client-only sentence, « Annuler », and a greyed button for the Account signed in to the
  client. The summary and the deletion run on a low-priority thread; the lists are read when
  « Paramètres » opens and after a deletion, the signed-in state when the section renders.
- KeyForm takes the tracker and emits KeyEvent::AccountDeleted; Page::account_deleted reads the
  Accounts again and shows the active Account when the deleted one was pinned.
- Tests, guide d'utilisation and interface spec.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 20:08:27 +01:00
nessarandClaude Sonnet 5.5 97cd91e9b9 Put the Défi's banner on « Parties » and play the end of a Match there (#110)
- « Parties » draws the Défi's banner (Season, counter, ring) on the splash of the Match
  chosen, whose tick is lit; none chosen, nothing shown nor lit. The dressing moves to
  home/dress.rs (banner.rs would pass 500 lines).
- The playback knows its screen: the end of a Match that opens its recap plays on « Parties »
  once the new Match is chosen, else on « Défi ». `challenge_visible` becomes
  `playback_visible`; the list read plays what waits.
- « Défi » shows the final state afterwards, without a second play.
- « Parties » lays the banner over a column that scrolls in a low window; tests that read a
  whole recap use a taller window.
- Interface spec and user guide updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 20:08:27 +01:00
nessarandClaude Sonnet 5.5 c9d53055d9 Light the ring's tick under the pointer and present its champion (#112)
- Hovering the crown aims at the nearest tick by angle (`ring/aim.rs`, a band a little wider
  than the ticks); the tick lights and the banner fades to that champion's splash.
- The banner's first line becomes the champion's (validé le … · N Tentatives / N Parties ·
  meilleur Placement / jamais joué); the second is hidden but keeps its height.
- The hover is a layer over `dress_banner`'s rest state (`page/ring_hover.rs`): leaving the crown
  clears it. Listeners sit on a non-cached slot around the ring; nothing happens until the aimed
  tick changes, and it is ignored while the end of a Match plays.
- Page tests for the aim, the three lines, rest on « Défi » and « En partie », no new render
  without a change of tick, the two-splash sweep and the no-fade setting; docs updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 20:08:03 +01:00
nessarandClaude Opus 5.5 644a47743d Choose the Account of Défi, Statistiques and Parties in the top bar (#115)
- The top-bar selector lists the active Account first and now also drives
  « Parties » (enabled there, grayed only during a phase); the "never the
  pinned Account" rule and history_account are gone.
- Choosing another Account resets both « Tous » filters and recomputes its
  statistics once on the background worker (show_account -> rescope).
- Entering or leaving a phase, and opening the recap of the active
  Account's Match, bring the active Account back; follow_match_end matches
  Matches against the active Account.
- The banner overline of another Account starts with « Défi de Pseudo · ».
- Tests in account_selector.rs, two old tests rewritten; interface spec and
  user guide updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 20:07:48 +01:00
nessarandClaude Opus 5.5 d21d4a90dd Show the last played champion on the Défi's banner (#111)
- The home banner's illustration is the splash of the champion of the Season's last Match
  (the « Dernière Partie » line's, all Formats), none without a Match, instead of the last
  champion validé's.
- The comet reveals the new splash when its Match is the last Match; a Match that arrived
  late just sets the banner's splash, as before.
- interface.md says it; tests cover the choice and the reveal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 20:04:32 +01:00
nessarandClaude Haiku 5.5 e81611371f Reopen the window on a double-click of the tray icon (#113)
- A double-click (WM_LBUTTONDBLCLK) or Enter/Space (NIN_KEYSELECT) opens the
  window; a single click does nothing, so its first click no longer reopens it
- The right-click menu is unchanged
- The notice and the user guide say to double-click

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-25 20:04:32 +01:00
nessarandClaude Opus 5.5 497c6861a2 Fix what the review of f257c57 found in « En partie » (#109)
CI / core (pull_request) Successful in 1m53s
CI / core (push) Successful in 1m48s
- « En partie » is prepared only while it shows: a statistics change on another tab no longer
  rebuilds it nor reads its 5 Matches, and a tab switch prepares it only when it arrives. The
  banner is dressed once per change.
- A game session that names no champion takes the one its champ select picked, until the
  session says it (the recorded capture has no champion field).
- The 5 Matches are read again whenever the stored Matches change, a Provisional Match
  published included, not only when their count does.
- Clearing the screen keeps the count of its requests: a late answer from a previous game is
  dropped.
- A game the client closed and reconnected to decides its end again at its lobby.
- One rule for « a game's end without a block shows « Défi » once », shared with #129.
- Tab::is_phase and Tab::home_scoped replace the repeated tab lists; match_over and
  leave_live_match hold the LiveMatch instead of Option<Option<u64>>; the 5 Matches' request
  is one RecentQuery; live_match_tab is has_in_game_tab.
- Tests: one fake game client for the page tests; the end-of-game tests read Alice's client;
  the app started during a game; the champ select's pick standing in; the reconnected game;
  « Paramètres » closing without activating the window.
- docs/performance.md lists the `in-game-details` part; docs/interface.md says when the
  screen is prepared, the pick standing in, and the reconnected game.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 18:26:03 +01:00
nessarandClaude Opus 5.5 f257c57b27 Show the Live Match in a tab of its own, « En partie » (#109)
CI / core (pull_request) Successful in 1m50s
- The core reads the champion played in the client's gameflow session
  (champion selections, else the teams, by the summoner's client PUUID) and
  follows the Live Match from one read to the next: it starts with an Arena
  game in progress and lasts through that game's end-of-game screen.
- The follower tells the page the Live Match on each change, before the champ
  select's end, so the end of a champ select that launched a game shows
  « En partie » instead of « Défi », without computing the statistics again.
- « En partie »: the banner with the champion's splash, the Season and the
  count, its tick of the ring lit and the stake (« Un top 1 validerait X :
  88 / 172 », or the day it was validated); « Champion en cours
  d’identification » until the client says it. Under it, the card's sheet and
  the champion's 5 latest Matches of the Season, read at low priority.
- A Live Match is a phase like the champ select: the signed-in Account and the
  current Season, the Account selector greyed, « Paramètres » closed, and a
  minimised or hidden window shown again without the focus, never raised.
- Its end-of-game block ends it and #129 decides the screen; without a block,
  the lobby shows « Défi ». A screen gone with its tab falls back to « Défi ».
- Tests with the simulated client: launch from the champ select, a client met
  in a game, the champion identified late, the end with and without a block,
  a game outside Arena. docs/interface.md and the guide are updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3BEKJ9v922udzup4Qn
2026-11-25 17:58:01 +01:00
nessarandClaude Opus 5.5 dcb7ac303c Show augments as item-like slots with the game's coloured icons (#135)
CI / core (pull_request) Successful in 1m57s
CI / core (push) Successful in 1m49s
- The recap draws six augment slots per player, like the seven item slots:
  the augments taken, then empty slots, so the lines read in columns; the
  name moves to the bubble.
- The catalog takes CommunityDragon's large augment icon (coloured by rarity)
  instead of the small white glyph, shrunk to 64 px at download.
- catalog.json gets a format number: a cache from before is read again from
  the sources at the same patch and its augment icons downloaded again.
- A first download tells the page every 100 icons, so icons show as they come
  instead of after the whole pass.
- The icon download tests move to tests/game_data/icons.rs (Rule #2).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3BEKJ9v922udzup4Qn
2026-11-25 13:45:00 +01:00
nessarandClaude Opus 5.5 bf9ea585d2 Restore the missing slot bubble and drop test-only code from the recap (#135)
CI / core (pull_request) Successful in 1m43s
- A slot the source does not give keeps its one-word bubble (« Indisponible »,
  « En attente » in a Provisional Match), registered only while visible.
- bubble::Visible takes a Bubble (described or a word); the tests' selectors are
  set by the recap with item_selector / augment_selector, no #[cfg(test)] code.
- Name, description and icon travel as one Described in slots, chips and the
  damage seen lines; the old per-field catalog accessors are gone.
- A catalog list needs 9 entries in 10 named to replace the cache.
- An unknown {{…}} reference in an augment summary becomes « ? ».
- A panic of the catalog worker is reported as Crashed; spawn_game_catalog
  moves to the test fake.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3BEKJ9v922udzup4Qn
2026-11-25 10:41:31 +01:00
nessar a4a2a51670 Keep incomplete catalogs and offscreen tooltips out of the recap (#135)
CI / core (pull_request) Successful in 1m39s
Reject patch lists without any names before writing the cache and retry unusable caches at the same version. Scope visible tooltips to their player so inactive item slots need no tooltip state.
2026-11-25 09:13:08 +01:00
nessar 9daea4f4ef v1 2026-11-25 09:00:37 +01:00
nessarandClaude Opus 5.5 d2ff74a383 Draw the recap's statistics as bars, colour the list's Placements
CI / core (pull_request) Successful in 1m51s
CI / core (push) Successful in 1m46s
- A player's details draw bars: the two damage rows as one bar split by type (physical, magic,
  true), the total beside it and each type in a legend under it; Protection, Or and Contrôle
  as one bar per measure, full for the best player of the Match. One absent type leaves the
  split bar empty. The fills are written with the recap, never computed on screen.
- Each folded player line draws its damage to champions as a bar as long as its share of the
  Match's best total, split by type; in one neutral colour while the types are not given
  (a Provisional Match).
- The list of « Parties » colours each Placement: gold for a top 1, the palette's success ink
  for another Win, its danger ink otherwise.
- The details' rendering moves to details_view.rs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:27:40 +01:00
nessarandClaude Opus 5.5 af873288e2 Record the French game catalog decision, name Items and Augments (#131)
ADR-0007 (proposed until #131 ships): the names, icons and descriptions of Items and Augments
will come in French from Data Dragon and CommunityDragon, not from the client, which serves
its own locale and gives no Augment description. The glossary names Item (Objet) and Augment
(Amélioration).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:27:40 +01:00
nessarandClaude Opus 5.5 78ed351601 Fix what the review of 1192c13 found in « Parties » (#123, #124, #127, #129)
- A block is written as its event arrives, from the wait for client events, with the Riot ID
  and client PUUID signed in at that moment: it builds the Match of that Account whoever signs
  in before a round gets to it.
- A block whose mode nothing tells waits instead of losing its text; only a game known to be
  of another mode is dropped.
- The follower remembers only the game in progress a Provisional Match stands for, and looks
  at it only when that game has just ended (follow/game_end.rs).
- A Match no Season holds is still reported: its block opens its recap.
- The client leaving an Arena game is told to the page once: without a block, or with the
  preference off, it shows the Challenge; a block decided on is not undone.
- « Parties » lists the Account signed in to the client, never the pinned one.
- Widening the Season for a new Match recomputes the statistics on the worker, to the Match's
  own Season.
- A corrected Placement follows the unfolded player, or folds the details.
- One Death Recap read at a time; only the latest waits, and leaving the screen drops it.
- A narrow window builds its closed list no more and gives its portraits back.
- The game data cache is keyed by the client's locale too, and an icon whose route changed is
  downloaded again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3AqGyEbouXkQJJdnQT
2026-11-24 09:27:38 +01:00
nessarandClaude Opus 5.5 1192c13830 Name things as the glossary does, reuse the core's Season periods
CI / core (pull_request) Successful in 1m46s
« En attente » is AWAITED, the block's PUUID is the client's; the filters
of « Parties » use the core's period of a Season instead of a copy; the
list view joins the cached views in docs/performance.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 05:19:27 +01:00
nessarandClaude Opus 5.5 d4cdfd9670 Fix what the final review found in « Parties » (#124, #125, #127, #128, #129)
One timeline download per Match even when the queue and an opened recap
ask together; a Death Recap matched with an outdated catalog is matched
again; end-of-game blocks keep their text only while their Match may still
need it; block platforms are upper case; unbuilt blocks are retried during
their window, then only after a sync; the queue thread no longer wakes each
minute; auto-open widens Season and Format when they hide the new Match;
clearer mitigation and control-score labels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 05:14:55 +01:00
nessarandClaude Opus 5.5 7396e87291 Open the new Match's recap when its end-of-game block arrives (#129)
« Parties » shows the Provisional Match from any tab and « Paramètres »
closes, without restoring, raising or focusing the window. A setting,
on by default, keeps the Challenge instead. Root tests no longer start the
game catalog thread, which made a settings test flaky.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 05:00:05 +01:00
nessarandClaude Opus 5.5 7f56f090aa Show the damage seen in Death Recaps in a player's details (#128)
By item and augment, then « Autres effets »; « En attente » for a
Provisional Match, « Indisponible » when Riot refuses, « Réessayer » after
a passing failure. A followed Match's timeline is fetched by a background
queue, an older one's on its first opening.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 04:45:58 +01:00
nessarandClaude Opus 5.5 7575ab0165 Show item and augment names and icons in the recap (#124, #127)
The catalog is loaded from its disk cache at launch and refreshed in the
background when the client appears; unknown ids keep the neutral look.
Provisional Matches get tests for « Provisoire », « En attente » and their
silent publication. Reopening « Parties » no longer re-reads an unchanged
list, and a failed recap is decoded again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 04:25:22 +01:00
nessarandClaude Opus 5.5 4c68fd2814 Filter « Parties » by Season, Format, Placement and champion (#126)
Season and Format are the Statistics page's own selectors; Placement offers
« Tous · Top 1 · Victoires » and the search is the home's, aliases included.
Filtering works on the rows already loaded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 00:37:42 +01:00
nessarandClaude Opus 5.5 a4f2069f87 Unfold a player's details in the Match Recap (#125)
Damage dealt and taken by type, mitigation, heals and shields on allies,
gold and crowd control, as the source gives them, built once per recap and
only drawn for the player unfolded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 00:28:08 +01:00
nessarandClaude Opus 5.5 beb5e5037b Add the « Parties » tab: the Account's Matches and their recap (#123)
Newest first, the most recent chosen at each opening; teams by Placement
with the Account highlighted, and « Indisponible » where the source says
nothing. The list is its own virtualized view; below 900 px it goes behind
a button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 00:20:35 +01:00