Commit Graph
56 Commits
Author SHA1 Message Date
nessarandClaude Opus 5.5 0f860fda15 Keep the ring lit without a list and test the banner on the real capture (#85)
CI / core (pull_request) Successful in 1m35s
CI / core (push) Successful in 1m37s
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>
2026-11-21 18:37:06 +01:00
nessar d74da1bee1 Show the Arena champ select in the banner (#85)
CI / core (pull_request) Successful in 1m35s
2026-11-21 18:15:19 +01:00
nessarandClaude Opus 5.5 411d139a75 Keep the ring's shapes on scroll, free a hidden splash, keep the hover's grid (#84)
CI / core (pull_request) Successful in 1m42s
CI / core (push) Successful in 1m40s
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
2026-11-21 17:53:46 +01:00
nessarandClaude Opus 5.5 4fb8b37509 Lighten the ring and the splash and follow the pointer and the scope (#84)
CI / core (pull_request) Successful in 1m36s
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
2026-11-21 15:50:58 +01:00
nessarandClaude Opus 5.5 d256dd61d2 Replace the home header with the banner and the ring (#84)
CI / core (pull_request) Successful in 1m32s
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
2026-11-21 15:33:57 +01:00
nessar cee9ff2989 Save splashes when loading art is missing and restore art notifications (#83)
CI / core (pull_request) Successful in 1m31s
CI / core (push) Successful in 1m40s
2026-11-21 14:26:59 +01:00
nessar e440d155fc Download champion splashes and cache their banner focus (#83)
CI / core (pull_request) Successful in 1m31s
2026-11-21 14:16:58 +01:00
nessar 3de8fd527c Document focus contrast and set row highlight opacity explicitly (#82)
CI / core (pull_request) Successful in 1m37s
CI / core (push) Successful in 1m32s
2026-11-21 13:56:57 +01:00
nessar eb21db17ad Strengthen theme contrast and cover the heading font fallback (#82)
CI / core (pull_request) Successful in 1m31s
2026-11-21 12:36:56 +01:00
nessar bfb29e02fe Apply the logo palette and Unbounded headings across the app (#82)
CI / core (pull_request) Successful in 1m33s
2026-11-21 12:14:04 +01:00
nessarandClaude Opus 5.5 72f7a239c0 Tell why the home has no cards yet and tidy the cards code after review (#72)
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>
2026-11-21 02:26:14 +01:00
nessarandClaude Opus 5.5 4612d89a3d Keep a whole row in "Autres champions" and tidy the cards code (#75)
- "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>
2026-11-21 02:26:14 +01:00
nessarandClaude Opus 5.5 18b06f8ea6 Read the portraits folders once and stop the card pass offline (#77)
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>
2026-11-21 02:26:14 +01:00
nessarandClaude Opus 5.5 485d7b9065 Show a missing-statistics notice once during a champ select (#75)
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>
2026-11-21 02:26:14 +01:00
nessarandClaude Opus 5.5 a457a19fe5 Sort the cards by Mastery Points or A to Z and remember the choice (#76)
The statistics rows carry the Mastery Points: None for an Account whose
points were never fetched, Some(0) for a champion missing from the last
list. One card order, computed only when the statistics or the preference
change, feeds the home grid, the Anvil row and « Autres champions ». The
sort selector stays visible during a champ select, the choice is saved
with the other preferences, and the sheet shows the Mastery Points
(unknown ones after the known, and not as zero).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 02:26:14 +01:00
nessarandClaude Opus 5.5 815daf33cb Show the tall portraits on the cards, decoded only while shown (#77)
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>
2026-11-20 21:43:02 +01:00
nessarandClaude Opus 5.5 f1e8808082 Add the folding « Autres champions » section to the Arena champ select (#75)
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>
2026-11-20 21:39:43 +01:00
nessarandClaude Opus 5.5 6f2a6244cc Show the Anvil champions as cards during an Arena champ select (#74)
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>
2026-11-20 21:32:51 +01:00
nessarandClaude Opus 5.5 05b8cc6d60 Hide the hovered sheet when the grid scrolls (#73)
A wheel scroll moves cards under a still pointer without a hover event, so
the sheet could stay on a card no longer under it. The grid now forgets the
hovered card on scroll; the next mouse move hovers the right one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 21:32:01 +01:00
nessarandClaude Opus 5.5 796fae11b7 Show the champion's sheet on hover and keyboard focus (#73)
The sheet covers the card with the Season's Matches, Wins, best Placement
and Attempts, and the date of the first top 1 for a Completed champion. Its
lines are prepared in Card::from_row; only the shown cards build it. The
grid keeps the hovered card and one focus handle per card id, and handles
Tab and Shift-Tab itself, scrolling the next card's row into view.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 21:30:50 +01:00
nessarandClaude Opus 5.5 bd9f1c7c98 Show the home's champions as a grid of cards with Played and Win marks (#72)
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>
2026-11-20 21:21:16 +01:00
nessarandClaude Opus 5.5 bd4de1ec05 Tell why a champ select makes a champion unavailable (#74)
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>
2026-11-20 21:12:42 +01:00
nessarandClaude Opus 5.5 43a6b05f56 Split the home Challenge from the Statistics tab (#71)
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>
2026-11-20 21:12:42 +01:00
nessarandClaude Opus 5.5 6c1a62cf6a Move the statistics rendering into page/statistics.rs (#71)
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>
2026-11-20 21:12:42 +01:00
nessarandClaude Opus 5.5 0350f66cfd Rename the statistics page module to page (#71)
Rename only, no behaviour change: the page is about to hold two tabs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 21:12:42 +01:00
nessarandClaude Opus 5.5 50c0427958 Keep tall card portraits cropped to the card size (#77)
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>
2026-11-20 21:08:57 +01:00
nessarandClaude Opus 5.5 34e8fb8a50 Expose the Season Challenge figures of each champion card (#72)
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>
2026-11-20 21:07:52 +01:00
nessarandClaude Opus 5.5 ab3c6964a5 Apply the update through « Redémarrer » or at the next launch (#59)
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>
2026-11-20 14:02:57 +01:00
nessarandClaude Opus 5.5 8e12abf7f4 Choose the update channel and download authenticated updates (#58)
CI / core (pull_request) Successful in 35s
CI / core (push) Successful in 1m16s
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>
2026-11-20 12:14:25 +01:00
nessarandClaude Opus 5.5 24aca3c93d Reopen the window without focus when an Arena champ select starts (#63)
CI / core (pull_request) Successful in 45s
CI / core (push) Successful in 46s
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>
2026-11-20 10:57:53 +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 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
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
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
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 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 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 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