The block is kept as soon as its event arrives and stored as a Match flagged
provisional under the Account that played; it counts at once (ADR 0006) and
Riot's published Match replaces it silently, looked up until it appears.
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>
Teams by Placement, the Account flagged, every participant's values as the
source gives them: absent stays None, an explicit 0 stays 0.
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>
A lifted card was cut where its grid cuts it unless the grid showed it
whole, tested as `visible.intersect(&bounds) == bounds`. With columns of
a fractional width, the intersection rebuilds the size by subtraction
and misses the card's own by a rounding error: the first row's lifted
card was cut at the list's top edge. The test now allows a pixel of
slack on each side.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
From the review of PR #97:
- A grid no longer shown, a card filtered out, or a wheel at either end
of the list puts the grid's cards down at once (`PutDown`): no frame
is asked for a card no longer drawn, and a wheel always puts it down
while its tick stays lit under the pointer.
- The lifts hold card ids only. The grid records each placed card's
index while it builds its rows, and the layer draws the grid's card as
it is now: no search or copy per hover, and a lifted card shows a new
top 1 or reason at once.
- A card the keyboard lifted goes down as soon as the pointer moves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
The card under the pointer or the keyboard rises over its grid in about
0.35 s: 10 px with a gold glow, 4 px without for a greyed card, the
illustration zooming to 107 % inside it while the caption fades and the
sheet slides up over the lower half. Leaving it mid-way starts from where
it is; a wheel drops it at once; in the hand a veil lays on the other
cards. With Windows animations off the sheet shows without sliding and
the card stays put.
The grids never change on hover or focus any more: they record where
they placed their visible cards, and the page draws the lifted cards in
a deferred layer over them, asking for frames only while one moves.
Structural tests check that a hover, through its animation, draws no
grid, builds no card and computes no statistics.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
From the review of PR #96: the champion table becomes a cached view, so
the veil's frames no longer draw it; the screen arriving is prepared
only once shown, so a switch undone under the veil prepares nothing;
turning the Windows setting off drops the animation waiting as soon as
Windows says so; the Season and Format selectors move to the title row
of « Statistiques », under the veil, so the header keeps its height.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
From the review: the Windows setting turned off during a transition
ends it and drops the animation waiting; the errors and the official
count follow the screen drawn rather than the tab chosen; clearer names
for the veil's phases and the frames it asks for.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
Follow the Windows « Show animations » setting at start and on its
change, keep the strongest animation asked for while « Défi » is not
visible until it shows again, and switch tabs under a veil of the
page's background instead of fading or sliding the screen, which would
draw the cached views again at every frame.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
A champ select whose Anvil list the client did not send no longer dims every
tick of the ring. k takes the singular at 0 and 1, and the line uses the same
apostrophe as the row and its fallback message. Both banners write a default
split Season as « SAISON 2 · 2026 ».
The replay test now checks the capture's own hand (k stays at 1 across the
ally's confirmation), the default and hovered illustrations, the cards'
places and the ring's Anvil list. A unit test checks which ticks stay bright.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the second review of PR #94:
- The ring's fixed shapes are made at the origin and moved where it is
painted: a scroll that moves the ring tessellates nothing.
- The banner's splash is neither decoded nor held while the banner is
scrolled out of view, and is given back, from the atlas too.
- The tick follows the grid that lit it: another grid saying none of its
cards is under the pointer, or « Autres champions » folding, leaves it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
From the review of PR #94:
- The ring tessellates its fixed shapes once per set of ticks and size;
a hover tessellates only the lit tick.
- The banner decodes its splash itself, one at a time, on GPUI's
low-priority queue at below-normal thread priority: a splash asked
for while another decodes waits, so two at most are ever held.
- Opening « Paramètres » gives back the splash and the grids' portraits.
- The grid has one hover transition: a card that leaves the grid puts
its tick out, and a wheel that moves no card keeps it.
- The home column scrolls in a low window, so the grid stays reachable.
- Entering or leaving a champ select clears the banner until the new
scope's statistics arrive.
- Tests: drawing the ring alone draws no grid and builds no card.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
The banner shows the ring, a cached view with one tick per champion of
the Challenge in a fixed order, the Season, the « N / total champions
validés » title, the last Completed champion and the last Match, over
the splash of the last Completed champion, faded into the band. In a
narrow window the ring goes above the text and the splash covers the
banner. Hovering a card lights its tick.
The banner reads its splash through its own cache: two at most, the
one replaced given back from the GPU atlas too, none while
« Statistiques » is shown or without an illustration.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
The Challenge's chronological pass that counts the Attempts now also
records the Completed champions in the order of their first top 1, and
what the Season's latest Match, all Formats, did to its champion: an
Attempt, the completing Match, or one played after completion.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
Without statistics the home said « Aucun champion trouvé » under a count of
0; it now shows the same notice as the champ select (loading, no Account),
from a small StatsNotice enum instead of compared strings.
Also from the review: a structural test that hovering or scrolling
« Autres champions » recomputes no statistics, as docs/performance.md says;
English comments; one card aspect (core's CARD_ASPECT) and one cards_dir;
one builder for the champ select cards, one count badge, one test temp dir;
clearer names (with_cards_behaviour, home_has_own_scope).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- "Autres champions" grid is never shorter than one card row.
- A Format change keeps the home's statistics (#71); the home cards
are built when "Defi" is shown again; hidden grids give back their
decoded portraits; the card holds its portrait as Arc<Path>.
- Unavailability becomes Unpickable (glossary), "selection" becomes
"champ select" in comments (#74); the statistics error is shown by
the banner only during a champ select.
- Column breakpoints follow the mockup's max-width rules, the home
tools row is search, filters, sort; stale comments fixed.
- Tests: whole row, hidden grids, stats scopes, error shown once, and
the capture's reasons end to end in the open section.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The statistics list the portraits folder and its cards subfolder once
instead of checking about 340 files. The tall-portrait pass is skipped
when the catalog refresh failed and stops at the first network error;
the core tells after each attempt whether a portrait was saved, so the
worker's throttle can tell the page after any attempt, not only saves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With the statistics missing, the Anvil area no longer repeats « Aucune Saison
en cours » when the header already says it, and « Autres champions » is not
offered since there is nothing to browse.
Test tidy-ups: the saved-portraits assertion message says what is checked,
main.rs tests use card_images' TestDir instead of their own TempDir, and the
test-only accessors of Page move after the last method so choose_sort reads
with its doc comment.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>