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>
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>
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>
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>
Ticket #16. The logo is a gold ring around a crown: the Arena seen from
above and a top 1, without text. The Windows icon derived from it is
embedded in the executable as icon resource 1 by a build script, which
is the resource GPUI loads for the window: File Explorer, the window and
the taskbar show it with no loose file next to the executable.
embed-resource was already in Cargo.lock as a build dependency of GPUI.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Core half of tickets #4 to #12, behind one public interface tested with
fake sources and a real SQLite database:
- import of Arena Match history from the Riot API, idempotent and
resumable, with a sync mark written only when a sync completes
- Season table, champion catalog, Challenge summary, champion rows,
chart series, Season and Format scopes
- game client port and adapter: signed-in Account, end of an Arena
game fetched by its id, Official Progress cross-check
- update problems reported for banners while stored data stays readable
The app crate is adapted in the next commit.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Two crates: a UI-free core tested natively in WSL, and a thin GPUI app
that opens the "Arena Tracker" window showing a text supplied by the core.
scripts/win builds and runs the app with the Windows toolchain from WSL
(ADR-0003), with the build directory on the Windows drive.
Closes#3
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>