- 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>
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>
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
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 spec gains « Indisponible », agreed for a champion the client does not
offer, and records what #74 and #76 established about the Anvil champions
list and the Mastery Points, with what is left to the Windows check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The champions thread downloads the card portraits after the square ones
and tells the page at most once a second while they arrive, plus once at
the end, so each shows without a restart. A card shows its tall portrait,
the square icon while it is missing, else its plain background.
Each card grid reads its portraits through its own image cache: only the
cards it paints are loaded, and what its previous render did not paint is
dropped at its next render, from the GPU atlas too, and all of it with the
grid.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Folded at each new selection, it lists the champions without an anvil (all of
them, as « Tous les champions », when the client gave no Anvil list) with the
anvil row's cards, order and greyed reasons. Its own search filters only this
section. Its cards are built only while it is open, in a cached virtualized
grid. The `others` profiling part is documented.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The home takes the selection: the Challenge of the signed-in Account for the
current Season, then a row of the Anvil champions in the home grid's order with
the reasons Validé, Banni, Pris par un allié and Indisponible. The old text view
is removed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the champion card (portrait, name, "Joué" and "Victoire" marks, greyed with
"Validé" once completed) and a cached, virtualised card grid that replaces the
home's table. Columns follow the window width as in the mockup. Cards are built
once per statistics change; hovering or scrolling only redraws the grid.
Profiling part `home-list` becomes `cards`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a private test repository, a stable whose tag only existed locally
stopped before publishing: Gitea 28.1 lists unrelated files in its reply
to the draft creation when it does not have the tag yet, and the command
tried to remove them (HTTP 404, nothing published). A new draft has no
files, so only a draft found by its tag is emptied. Record the stable
run: refusals, an older main commit, a local-only tag, reruns, the next
beta and the channel queries.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scripts/publish-beta becomes scripts/publish with a channel argument.
`scripts/publish stable [commit]` publishes the Cargo.toml version of a
commit on main whose CI checks passed: it builds with scripts/package,
checks the signed files against the tag and commit before creating
anything, tags vX.Y.Z on that commit, then publishes a complete draft as
a normal Release. A stable tag never moves; reruns reuse, complete or
refuse as for betas. Releases now name their target commit, so a tag
that only exists locally is never created on the default branch.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A runner on the build PC would run pull request code without isolation
next to the signing key, and only that PC has the Windows toolchain.
scripts/publish-beta now runs there: it fetches develop and the beta
tags, refuses a commit absent from develop on Gitea or whose CI checks
did not pass, and keeps the numbering, draft-then-publish and reruns.
The key stays in its file; the beta job and its secret are gone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A private test repository went through a main push, develop creation, a
two-commit push, two close pushes, a failing check, reruns of a complete
and of an interrupted publication, and a job cancelled mid-build; the five
betas verify with their own executables, and a pull request token is
refused write access.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The beta job runs after the core checks on a host-mode WSL runner with the
Windows toolchain, builds the push's commit with scripts/package and
publishes it as a prerelease: tag, draft, the four files, then publish.
The cycle target is the workspace version (1.0.0); beta tags are the
counter, created atomically after the build. A rerun reuses or completes
its own publication; a single runner serializes the jobs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The settings show « Redémarrer » next to « Mise à jour prête ». It
verifies the kept package of the chosen channel again, hands exactly
that file to Velopack with `Update.exe apply --waitPid <pid> --package
<file>`, then quits as « Quitter » does (WM_QUIT, never hidden in the
notification area). Velopack 1.2.161 reads the file in place, waits for
the app to exit, replaces current\ and opens the new version once, or
the old one again after a failure.
After « Quitter », the next launch does the same before loading the
app, offline too, but only in the single instance: a shortcut launched
while the app runs still just brings its window back (#50).
An attempt record, <channel>-<version>.attempt next to the package
folder, holds the installer's process id. A launch that finds it never
retries on its own: it waits for a running installer (a close second
launch, or the old version reopened after a failure), then either
leaves the app to the new version or opens the current one with a
one-time notice. « Redémarrer » retries; a newer release starts fresh.
The record survives a new download of the same version, since Velopack
deletes a package it cannot open.
Velopack's swap has no rollback between its two renames; this residual
risk is recorded in ADR-0005 and docs/paquets-windows.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The settings offer Stable or Bêta. The choice is saved only once made;
until then the installed version's channel applies, so the beta
installer follows Bêta. Updates never change a saved choice.
Each launch, and each channel change, runs one check on a below-normal
thread. It lists the channel's Releases through the public Gitea API
(betas are pre-releases) and takes the highest version above the
installed one. The package is downloaded into
%LOCALAPPDATA%\arena-tracker\updates\partial, verified with
verify_release, then kept as <channel>-<version>; another channel's
package is removed before any network access. Only then does a green
title-bar button show « Mise à jour prête » and open the settings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A minimized window, or one hidden in the notification area, comes back above
the other windows while League keeps the keyboard. An already visible window is
left alone, and the window stays open after the champ select.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ADR-0005: Velopack packer only, our own Ed25519 manifest, full packages,
accepted root-launcher path (same-user write), static C runtime.
The guide records the 1.0.0 run: non-elevated silent install, Start Menu
shortcut opening the installed exe with existing data, uninstall and
reinstall keeping config, Seasons and Parties, tampered package refused.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The installed app then depends only on Windows libraries, whatever Visual
Studio redistributable the build machine has.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Address the code review of the carried-over work:
- scripts/package extracts the snapshot with fresh mtimes, so the shared
target never reuses a workspace crate built from other sources.
- core::verify_release owns the release-folder contract (file names, size
limits, signature, identity, digest) and returns Error::InvalidUpdate; it is
tested natively with real folders, oversized manifests and missing files.
- The app's --verify-release only adds the build identity and commit check.
- French script messages, clearer path helpers, accurate Velopack stub facts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Work in progress carried over from the main checkout: scripts/package builds
one version from one commit, packs it with vpk 1.2.161 (full packages only),
signs a manifest with Ed25519 and checks the result with the built executable.
The core verifies the signed manifest and package digest before any unpacking.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every change is still written to be light (rule #1), but agents no longer
run the probes per change: a full benchmark on the reference machine checks
the budgets before each major release, and a release over budget does not
ship. AGENTS.md links to CLAUDE.md so other agents read the same rules.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#31 measured that an uncached child view renders again with its parent
and saves nothing, and that caching the charts saved about 0.1 ms per
hovered frame and nothing on window moves. A part gets a view when it
owns state that changes on its own, or as a measured, tested cache;
other parts render as functions in their parent's render.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The champion table is now the app's own view, a uniform_list with one
plain element per cell, instead of gpui-component's DataTable, which
gave each row a horizontal virtual list and each cell its own layout,
id and accessibility node. A full frame of the statistics page costs a
third less: on the manual checks machine, drawing it went from 2.37 to
1.57 ms at the median and from 3.72 to 2.50 ms at the 99th percentile.
Sorting by header click, scrolling, click-to-select (now following the
champion through sorts and reloads), stripes and hover stay; dragging
column edges, arrow-key selection and screen-reader table roles go.
Columns shrink with a narrow window, clipped, with room left for the
scrollbar; an ellipsis cost 0.2 ms per frame.
The charts row is a cached view of fixed height, so hovering a row no
longer paints the charts again (about 0.1 ms at the median, 0.2 ms at
the 99th percentile). A structural test guards it, with GPUI's own test
support as a dev-dependency.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>