- 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>
- « 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>
- 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>
- With « Ouvrir le récapitulatif en fin de Partie » off, or a game ended
without its block, the end decides like a phase: an Account picked in the
top bar gives way to the active one, whose Challenge shows.
- Rewrap the « Parties » module comment.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>
- 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>
- 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>
- « 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>
- 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
- 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
- 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
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.
- 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>
- 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
« 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>
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>
« 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>
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>
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>
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>
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>
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>
Entering an Arena champ select adds the tab and shows it from anywhere; the
Challenge and Statistics stay reachable during it, and coming back shows the
hand at rest. Its end removes the tab and shows the Challenge, the hand
leaving first when « Sélection » was in front.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A « Statistiques › » link under the counter opens it with the usual veil;
« ‹ Défi » and the « Défi » tab bring the Challenge back, by mouse or keyboard.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A window already shown was left alone, so one open behind Chrome stayed
hidden at the start of a champ select. Every window state now gets the same
raise, still without activation and once per entry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Out of the foreground, SetWindowPos(HWND_TOP) left the restored window where
it was: under a maximized Chrome on its screen. A topmost round trip puts it
above every normal window, League included, still without activation.
A window hidden in the notification area is now shown by ShowWindow
(SW_SHOWNA): SWP_SHOWWINDOW sent GPUI no WM_SHOWWINDOW, so it never saw the
window as visible and the entry animation could not play.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The client lists the Anvil champions alphabetically: the row now keeps the
statistics' own order whatever sort was chosen. The selector, which only
applies to the other cards, sits beside the search of Autres champions.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The champion table drew its 128 px portraits through GPUI's app-wide
image cache, which keeps every image it ever loaded: once « Statistiques »
had been scrolled through, all 173 stayed decoded and in the atlas, about
25 MB on the reference laptop (budget 4). The table now reads them
through its own CardImages, as the card grids do: only the rows it paints
keep theirs, and it gives them back when « Défi » or « Paramètres » is
shown.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3DgZBggc9wJG9c1nqA
GPUI's vsync thread invalidates the window at every vsync, minimised too,
and each WM_PAINT went through GPUI, which has no frame to draw then, and
DefWindowProc: the UI thread spent more minimised than visible (budget 3).
A subclass validates the paint while the window is iconic. On the manual
checks machine (240 Hz), minimised: 3.03 % of one core before, 0.22 %
after; the window draws again on restore.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3DgZBggc9wJG9c1nqA
Velopack 1.2.161 logs « Access is denied » when it waits for the app at
each apply, although the process can be waited on with SYNCHRONIZE, and
goes straight to force-stopping what runs from the installation. The app
has quit by then, and a forced stop loses no data: config.toml is written
aside then renamed, and Matches are in SQLite transactions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3DgZBggc9wJG9c1nqA
The check ran only at launch and on a channel change, so an app left
open never saw a release published since. « Rechercher une mise à jour »
runs the same check on demand, through the same gate, and the settings
now say how the last check ended: running, up to date, or why it failed.
A failed check leaves a ready update ready.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Draw the section's grid again once the draw that moved it is over: a notify
inside a draw dirties nothing for the next one, so its rows stayed those of
the former place.
- Keep the first row of a grid wholly below the window built, so that Tab from
the search enters it, and scroll the page to any card the keyboard focuses.
- Leave the scrollbar its own lane in the Anvil and « Autres champions »
sections, so it no longer covers the sort selector, and make it a view of
its own so that its fade does not draw the whole page.
- Store the page's Paging once; correct the performance notes on scrolling.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The banner, the Anvil champions and « Autres champions » now move together
on one wheel and one scrollbar. The section's grid holds no scrolling of its
own: it is as tall as all its rows and builds only those the page has in view,
read at its own render, so portraits stay in proportion to what is shown.
Its keyboard code moves to card_grid/focus.rs to keep card_grid.rs under 500
lines.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Rename CardPosition/CardPositions/positions() to DrawnCard/DrawnCards/
drawn_cards(): "position" is a word CONTEXT.md avoids for Placement.
- Move the Account and status queries from page/statistics/scope.rs to
page/displayed.rs, since the whole page uses them.
- Move the home's own statistics state (settle_home_scope, set_home_result,
forget_home, home_is_current) to page/home/data.rs, leaving home.rs to
queries and rendering.
- Move the profiling flag shown() from display.rs to page/profiling.rs.
- Narrow Page::new to pub(crate), and restore the domain phrase in the
same_riot_id doc comment and the page.rs module doc.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review of PR #100:
- an exit during the deal takes the moving cards down from where they are;
- an ally's confirmation lowers and greys a card lifted under the pointer too;
- the pointer moving forgets the card the keyboard waited for;
- the band of light crosses the whole window, title bar included, over the
hand's moving cards;
- no sort, copy of a card or search of the hand per frame;
- one helper prepaints a card for both overlays.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The entry plays once the window shows the champ select (not behind
« Paramètres »): a band of gold light sweeps the page in 900 ms, the
title comes in rising 8 px, and the Anvil champions come up from the
bottom of the window, the first at 380 ms then one every 110 ms. A card
still dealt is lifted once in its place; reasons arriving meanwhile show
on their card without dealing again, and cards arriving late with the
statistics are dealt from then.
An ally's confirmation lowers its card of the hand 8 px as it greys,
where it then rests. At the end, the hand leaves from the last card,
then the veil of the tabs covers the champ select and the end is applied
under it, the home coming back as #74 leaves it.
The moving cards are drawn by the page over the cached hand, from where
the grid placed them (`stage.rs`, as `card_lift`): the grid is never
drawn again for them, no statistics are computed, and no frame is asked
at rest. The Windows setting off, a hidden window or a covered page show
the end state at once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
From the review of PR #99:
- Of several followed Matches waiting, the strongest plays on its own
champion (tick, card and splash), the most recent among equals. The
comet no longer flies to one champion's tick with another's splash.
- A game the client gave no id for, or seen before any Match gave the
platform, is reported when the sync stores it: the client's id when
it has one, else the newest Match newer than every one stored. A
first import without that id stays history.
- What a Match brought comes from the Challenge's own Marks, with and
without it, instead of a second set of rules in SQL; `fetch_and_store`
is back to fetching and storing. `MatchEnd::Completed` takes the
glossary's word, and its variants are documented again.
- Only the count of the banner's title rolls in, from 10 px below, as
in the prototype; the « Dernière Partie » line still fades in.
- The Windows setting is checked where a Match is queued, and the tests
now go through the follower round and the statistics; a test checks
that the end state is what a reload shows.
- The Match's state is one `MatchPlayback`, ended in one place; the
durations are named; `MarkFill`, `Changing` and `RevealFrame` replace
bare tuples; a splash that cannot be read ends its reveal.
- `follow_client_with` takes the report itself, without a forwarding
function. docs/performance.md describes the Match animation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Windows alone holds the choice: the Run entry, unless the Task Manager
disabled it under StartupApproved\Run. The settings read both when they
open; switching on writes the entry and approves it again.
Started with --logon, the app opens hidden in the notification area, or
minimized when there is no tray icon, and paints no page in the first
frame, so no portrait is decoded before the window is shown. An update
ready at logon is applied silently and reopens hidden. Installing or
uninstalling removes the entry; updates keep it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>