Commit Graph
44 Commits
Author SHA1 Message Date
nessarandClaude Opus 5.5 611a19ce28 Link the C runtime statically instead of shipping vcruntime140.dll (#57)
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>
2026-11-20 10:47:54 +01:00
nessarandClaude Opus 5.5 18e9db54fc Verify the whole release folder in core and rebuild packaged sources (#57)
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>
2026-11-20 10:43:02 +01:00
nessarandClaude Opus 5.5 f90ae109b9 Package a per-user Windows installer and signed full update packages (#57)
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>
2026-11-20 10:34:14 +01:00
nessarandClaude Opus 5.5 6d07a9641f Address single-instance review findings (#50)
CI / core (pull_request) Successful in 35s
CI / core (push) Successful in 39s
- 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>
2026-11-19 23:09:47 +01:00
nessar a11bc277f2 Restore the existing window on relaunch (#50)
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.
2026-11-19 23:09:47 +01:00
nessar fac082e51f Documenter la refonte d’Arena Tracker et sa maquette interactive
CI / core (pull_request) Successful in 38s
CI / core (push) Successful in 1m19s
2026-11-19 23:08:13 +01:00
nessar 304d958c72 Fix the final champ select review findings (#13)
CI / core (pull_request) Successful in 51s
CI / core (push) Successful in 49s
2026-11-19 22:17:14 +01:00
nessarandClaude Opus 5.5 cf15eeeb8f Decode client events from their data and keep the draft on a timeout (#13)
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>
2026-11-19 22:17:14 +01:00
nessar 5ba3251875 Fix champ select review findings (#13)
- 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
2026-11-19 22:17:14 +01:00
nessar f4a9e5e7a8 Show live Arena champion picks and crowd favorites (#13) 2026-11-19 22:17:14 +01:00
nessar fabaa8a60f Record the five anvil champions from the same Arena session 2026-11-19 22:17:14 +01:00
nessar 9d9b67666b Capture Arena 3x6 bans, hovers and lock-in for #13 2026-11-19 22:17:14 +01:00
nessarandClaude Opus 5.5 650dfd4bfa Address Inter font review findings (#52)
CI / core (pull_request) Successful in 38s
CI / core (push) Successful in 1m14s
- 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>
2026-11-19 22:10:16 +01:00
nessar 1016b68e41 Use Inter as the interface font
CI / core (pull_request) Successful in 40s
2026-11-19 21:56:16 +01:00
nessar a537999229 research
CI / core (push) Successful in 50s
2026-11-19 20:09:16 +01:00
nessarandClaude Opus 5.5 ad3f491f45 Refine the title bar and add a one-time tray notice (#24)
CI / core (pull_request) Successful in 1m8s
CI / core (push) Successful in 1m17s
- 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>
2026-11-19 00:24:16 +01:00
nessar 797b7e83e0 Address title-bar review findings (#24)
CI / core (pull_request) Successful in 1m9s
2026-11-18 23:24:23 +01:00
nessar 23eb933a68 Add a custom Windows title bar (#24)
CI / core (pull_request) Successful in 1m17s
2026-11-18 21:11:21 +01:00
nessar a2d58c000c Préciser les dégâts observables par objet et amélioration (#23)
CI / core (pull_request) Successful in 42s
CI / core (push) Successful in 40s
2026-11-18 00:45:52 +01:00
nessar 21212a11a2 Document Arena match statistics and post-game availability (#23) 2026-11-18 00:45:52 +01:00
nessar d7bd69c35d Add tray and theme settings (#21)
CI / core (pull_request) Successful in 1m13s
CI / core (push) Successful in 44s
2026-11-18 00:36:15 +01:00
nessarandClaude Opus 5.5 28319fc133 Benchmark budgets before each major release instead of on every change
CI / core (push) Successful in 1m10s
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>
v0.1.0
2026-11-17 23:47:57 +01:00
nessarandClaude Sonnet 5.5 3edfa629d4 Search the champion table by name and known aliases (#18)
CI / core (pull_request) Successful in 1m9s
CI / core (push) Successful in 36s
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>
2026-11-17 23:34:11 +01:00
nessarandClaude Sonnet 5.5 0fbbc81b71 Test that the app's asset source serves the sort icons (#20)
CI / core (pull_request) Successful in 37s
CI / core (push) Successful in 34s
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>
2026-11-17 23:11:29 +01:00
nessar eccb38ce50 Follow the Windows app theme (#19)
CI / core (pull_request) Successful in 1m9s
CI / core (push) Successful in 1m9s
2026-11-17 22:43:44 +01:00
nessarandClaude Opus 5.5 e1ff92185a Give a part of the page its own view only for a reason (#31)
CI / core (push) Successful in 40s
CI / core (pull_request) Successful in 1m11s
#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>
2026-11-17 22:38:36 +01:00
nessarandClaude Opus 5.5 8318a5875e Draw the champion table and the charts more cheaply (#31)
CI / core (pull_request) Successful in 1m12s
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>
2026-11-17 22:17:07 +01:00
nessarandClaude Opus 5.5 2c1dde684c Add a hover probe and a profile build to break down a frame (#27)
CI / core (pull_request) Successful in 42s
CI / core (push) Successful in 1m10s
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>
2026-11-17 20:11:32 +01:00
nessarandClaude Opus 5.5 c9f5b264e6 Compute statistics on a background worker instead of deferring them (#29)
CI / core (pull_request) Successful in 37s
CI / core (push) Successful in 45s
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>
2026-11-17 19:59:43 +01:00
nessarandClaude Opus 5.5 33343546a5 Draw and reload nothing for a window nobody sees (#29)
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>
2026-11-17 19:59:43 +01:00
nessarandClaude Opus 5.5 1244407d65 Fix the priority test for the async worker channel
CI / core (pull_request) Successful in 40s
CI / core (push) Successful in 38s
PR #35 (#30) was merged after PR #34 (#28) without a rebase: its test
still built a std mpsc channel, while spawn_guarded now takes gpui-kit's
async Sender, so the app's tests and clippy --all-targets no longer
compiled on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 19:47:08 +01:00
nessarandClaude Opus 5.5 dc2bcd0acd Run background threads below normal priority (#30)
CI / core (push) Successful in 33s
CI / core (pull_request) Successful in 1m8s
Every thread the app starts goes through spawn_guarded: the champion
catalog and portraits, the game client follower and the refresh button.
Each now lowers itself to THREAD_PRIORITY_BELOW_NORMAL before running,
so the game and the UI keep the CPU they need (rule #1, budget 5).
Two kernel32 calls declared in place, no new dependency.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 19:41:53 +01:00
nessarandClaude Opus 5.5 75dd0ea643 Wake the statistics page on worker messages instead of polling (#28)
CI / core (pull_request) Successful in 1m16s
CI / core (push) Successful in 1m3s
The page polled a std channel on a 100 ms timer, waking the UI thread ten
times per second with nothing to do. It now awaits gpui-kit's own async
channel (gpui_kit::base::async_util, smol's on native), so it wakes only
when a worker sends, with no timer and no new dependency. The listener
task is owned by the page, so it stops when the window closes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:46:16 +01:00
nessarandClaude Opus 5.5 e13db17bcb Make fluid and light the app's rule #1, with measurable budgets
CI / core (pull_request) Successful in 1m7s
CI / core (push) Successful in 45s
docs/performance.md sets five budgets measured on the reference laptop
on release builds (frame cost, idle CPU, hidden window, memory,
background work), a ratchet that only lowers them, and how to measure.
CLAUDE.md and the README point to it.

ADR-0004 records that GPUI is not patched to fix the stutter of #17:
upstream refused the same change (zed#66745), so the page's own
rendering cost has to come down instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 01:27:27 +01:00
nessarandClaude Opus 5.5 f31081b25d Add a window move probe and a production build script (#17)
scripts/move-probe.ps1 moves a window 240 times per second without
touching the mouse and measures how long each move holds its UI thread,
with an idle phase first; it prints the machine and build it measured.
scripts/prod build|run is scripts/win with --release: the optimised
build, without a console, to use the app and to measure it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 01:27:15 +01:00
nessarandClaude Fable 5.2 7c7e667c57 Add the Arena Tracker logo and embed its Windows application icon
CI / core (pull_request) Successful in 1m10s
CI / core (push) Successful in 1m44s
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>
2026-11-17 00:07:48 +01:00
nessarandClaude Fable 5.2 03ad0ec90a Document configuration and CI in the README
CI / core (pull_request) Successful in 1m13s
CI / core (push) Successful in 1m13s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 19:06:52 +01:00
nessarandClaude Fable 5.2 47ac401768 Add statistics page, settings and client following to the app
App half of tickets #4 to #12: Challenge header, three charts, sortable
and filterable champion table, Season, Format and Account selectors,
key prompt and settings, refresh button, update banners and the
Official Progress next to the Completed count.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 19:06:52 +01:00
nessarandClaude Fable 5.2 c44cf52a6a Add core: Match import, statistics and game client following
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>
2026-11-16 19:06:52 +01:00
nessarandClaude Fable 5.2 1c5cbea9b9 Add recorded fixtures and Riot's root certificate
Payloads recorded from the Riot API, the local League client and Data
Dragon, trimmed, with player identities and match ids replaced. The
certificate is Riot's published root, the only one trusted when talking
to the local client.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 19:06:52 +01:00
nessarandClaude Fable 5.2 7f52b0b998 Add CI workflow checking the core crate
Runs cargo fmt, clippy with warnings as errors and cargo test on the
core crate for every pull request and push to main (ticket #15). The
app crate is left out: it only builds on Windows (ADR-0003).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 19:06:52 +01:00
nessarandClaude Fable 5.2 6b91cd4490 Add workspace skeleton with a GPUI window
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>
2026-11-16 09:04:08 +01:00
nessarandClaude Fable 5.2 289ceed6a7 Add domain glossary, ADRs and agent docs
CONTEXT.md holds the glossary agreed during the design interview and the
French word shown in the interface for each term. The three ADRs record
the two data sources, GPUI through gpui-kit pinned at 0.9.1, and building
with the Windows toolchain driven from WSL.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 09:04:08 +01:00
nessarandClaude Fable 5.2 91773387b3 Initial commit
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 09:04:08 +01:00