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>
Split the excluded set into banned and taken_by_ally, add
ChampSelect::unavailability (banned, taken_by_ally, not_offered; never for
the player's own pick) and make the anvil list an Option so an unreadable
list is not read as an empty one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The app opens on « Défi »: the Season of the Challenge, a one-line
counter with a thin progress line, and the champion table filtered by
Tous / Restants / Validés and a search of its own. A navigation of two
keyboard-focusable buttons leads to « Statistiques », which keeps the
analysis, with the charts now ordered curve, Placements, Attempts.
The home follows the Season chosen on Statistiques (the current one for
all Seasons) and ignores the Format. Its statistics come from the same
worker job as the Statistics tab's, and are only computed apart when the
two scopes differ. The home renders no chart and the hidden tab's table
is not rebuilt.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move only, no behaviour change: the tiles, the charts row and the table
section leave the page, which keeps the shared state, the header row, the
banners and the champ select view.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The tracker asks Riot for each Account's champion mastery (platform host) right
after a successful sync, and after a Match fetched by id is added, so no new
polling. Lists are stored per Account in one transaction and read back with
Tracker::mastery (None = never fetched). A failed fetch keeps the last values
and records no problem. Preferences gain champion_sort (mastery or name).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add ChampionSource::card_portrait (Data Dragon loading art) and
Tracker::refresh_card_portraits, which downloads the missing ones, crops them
to the card's 0.68 aspect at the mockup's 24 % focus, shrinks them to
308 x 453 px and saves them as JPEG in portraits/cards via a .part file.
ChampionRow gains card_portrait.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add ChampionChallenge (Matches, Wins, best Placement, date of the first
top 1) and Marks (Played, Won, Completed) on ChampionRow::challenge. They
cover one Account and one Season across all Formats, so the Format filter
never changes them. Computed in the existing chronological pass.
The first top 1 date (#73) comes from the first top 1 by start time, with
the same day convention as the progress curve, so a later or out-of-order
import never changes it.
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>
- Reopen the window even when the relaunch's ack event is gone.
- Exit quietly instead of panicking on timeout or Win32 error; bound the startup gate wait.
- Fail softly in accept_relaunches; name the locks (Primary, HeldMutex).
- Share window_hwnd, derive REOPEN from TRAY_MESSAGE, name the marker.
- Test a crashed primary and a relaunch that finds no window.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Elect one process per Windows session before starting GPUI or opening the database. Let the existing window handle reopen requests and preserve its current state.
Event frames are [8, topic, {data, eventType, uri}]; decode_event returned the
whole envelope, so the cached session had no localPlayerCellId and the
pickable/disabled/anvil lists ignored the update until a fresh GET. It now
returns the envelope's data (null on Delete, which the cache already ignores).
The tests use enveloped frames, including one from raw text to the cached state.
transport_error mapped every non-TLS error to Absent, so one request timing out
while the client loads the draft sent the page back to statistics. A timeout or
an I/O error other than connection refused is now Other, which champ_select_with
treats as transient. Other readers of ClientError only use .ok(), so nothing
else changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- redraw the page on hover and lock-in changes, and reset the settings form
when champ select takes the window away
- keep the current pick when a client read fails; only a real answer that
the draft is over ends it
- read the client once per wake and share it between the follower and the
live selection, reuse session event payloads, and touch only the cached
champion list an event concerns
- replay the captured raw client responses in the fake and cover the list
cache, event updates and the anvil-champion read
- name the five champions anvil champions and the set pickable, document
them, and prepare redraw strings ahead of render
- Set Inter only when DirectWrite resolves its family, so a name
mismatch keeps the system font instead of a fallback on every run.
- Rename init to init_theme and share the family name as a constant.
- Make the test prove a semibold face: its glyphs are wider.
- Ship the license from the same Inter release as the font.
- Shorten the search placeholder so it fits at the minimum width.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Drop the out-of-scope responsive stats page and scrolling settings
form; keep the minimum window size.
- A refresh keeps the following mode: a followed Account stays followed,
a pinned one stays pinned.
- Flat 32 px title bar with full-height buttons, so Fermer is reachable
in the screen corner when maximized; Windows close colours on hover.
- Read the maximized state directly instead of caching it; split the
crash arms; share the window-button styling.
- Keep close to tray on by default.
- Notify once, the first time closing hides the app in the notification
area; recorded as tray_notice_shown in config.toml.
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>
A search field above the table filters the rows as the user types, with the
state filter and the sort kept. A row matches when the normalized query (case,
accents, spaces and punctuation ignored) is part of its name or Data Dragon id,
or equals one of its aliases exactly. The aliases come from the U.GG and
Liquipedia inventory researched for the ticket and are stored locally by
Data Dragon id.
Not measured yet against the rule #1 budgets (release build, reference machine).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The icons were invisible because no asset source was registered; main now
registers gpui-kit's default assets (#19). Guard the three header icons.
Co-Authored-By: Claude Sonnet 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>
scripts/hover-probe.ps1 posts synthetic mouse moves across the champion
table rows, 240 per second, without moving the real cursor, and reports
the UI thread's CPU and input latency against an idle phase, with the
machine and build like the move probe.
A `profile` Cargo feature, off by default, enables GPUI's profiler: with
ARENA_TRACKER_PROFILE the app appends each frame's phases, presentation
and views' own time to a CSV, and ARENA_TRACKER_HIDE removes parts of
the page so that each part's cost is measured by removal. Normal builds
compile none of it. Both are documented in docs/performance.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reloads triggered by the workers no longer wait for the window to be
shown: the statistics and Match count are computed on a spawn_guarded
thread (below normal priority) and applied as soon as they arrive,
visible or not, so a restored window is up to date at once and the UI
thread computes nothing during an import. The Accounts are still read
on the UI thread; the old statistics stay shown until the new ones land.
One job runs at a time (RefreshGate); a generation number, bumped when
statistics are computed or the viewed Account changes, drops results
overtaken by a newer request or a user's selection. The job reports its
own panic as an error result, so another worker's crash never discards
it. User selections still recompute synchronously.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A follower round that changes nothing shown no longer rebuilds the page.
With the game client closed one arrives every 5 s, and each redrew the
whole page, also while the window was covered by another window.
Worker-driven reloads wait while GPUI reports the window hidden
(minimised or not shown) and run as soon as it is shown again, so a
restored window shows the Matches imported meanwhile at once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>