Commit Graph
113 Commits
Author SHA1 Message Date
nessarandClaude Opus 5.5 d601d30605 Delete an Account or a Friend from « Paramètres » (#117)
- New « Comptes » section in the settings (settings/accounts.rs): your Accounts then your
  Friends, each with « Supprimer », an inline confirmation with the count of stored Matches and
  the client-only sentence, « Annuler », and a greyed button for the Account signed in to the
  client. The summary and the deletion run on a low-priority thread; the lists are read when
  « Paramètres » opens and after a deletion, the signed-in state when the section renders.
- KeyForm takes the tracker and emits KeyEvent::AccountDeleted; Page::account_deleted reads the
  Accounts again and shows the active Account when the deleted one was pinned.
- Tests, guide d'utilisation and interface spec.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 20:08:27 +01:00
nessarandClaude Sonnet 5.5 97cd91e9b9 Put the Défi's banner on « Parties » and play the end of a Match there (#110)
- « Parties » draws the Défi's banner (Season, counter, ring) on the splash of the Match
  chosen, whose tick is lit; none chosen, nothing shown nor lit. The dressing moves to
  home/dress.rs (banner.rs would pass 500 lines).
- The playback knows its screen: the end of a Match that opens its recap plays on « Parties »
  once the new Match is chosen, else on « Défi ». `challenge_visible` becomes
  `playback_visible`; the list read plays what waits.
- « Défi » shows the final state afterwards, without a second play.
- « Parties » lays the banner over a column that scrolls in a low window; tests that read a
  whole recap use a taller window.
- Interface spec and user guide updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 20:08:27 +01:00
nessarandClaude Sonnet 5.5 c9d53055d9 Light the ring's tick under the pointer and present its champion (#112)
- Hovering the crown aims at the nearest tick by angle (`ring/aim.rs`, a band a little wider
  than the ticks); the tick lights and the banner fades to that champion's splash.
- The banner's first line becomes the champion's (validé le … · N Tentatives / N Parties ·
  meilleur Placement / jamais joué); the second is hidden but keeps its height.
- The hover is a layer over `dress_banner`'s rest state (`page/ring_hover.rs`): leaving the crown
  clears it. Listeners sit on a non-cached slot around the ring; nothing happens until the aimed
  tick changes, and it is ignored while the end of a Match plays.
- Page tests for the aim, the three lines, rest on « Défi » and « En partie », no new render
  without a change of tick, the two-splash sweep and the no-fade setting; docs updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 20:08:03 +01:00
nessarandClaude Opus 5.5 cae84c1577 Show the active Account when the end of a Match shows Défi (#115)
- With « Ouvrir le récapitulatif en fin de Partie » off, or a game ended
  without its block, the end decides like a phase: an Account picked in the
  top bar gives way to the active one, whose Challenge shows.
- Rewrap the « Parties » module comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 20:07:48 +01:00
nessarandClaude Opus 5.5 644a47743d Choose the Account of Défi, Statistiques and Parties in the top bar (#115)
- The top-bar selector lists the active Account first and now also drives
  « Parties » (enabled there, grayed only during a phase); the "never the
  pinned Account" rule and history_account are gone.
- Choosing another Account resets both « Tous » filters and recomputes its
  statistics once on the background worker (show_account -> rescope).
- Entering or leaving a phase, and opening the recap of the active
  Account's Match, bring the active Account back; follow_match_end matches
  Matches against the active Account.
- The banner overline of another Account starts with « Défi de Pseudo · ».
- Tests in account_selector.rs, two old tests rewritten; interface spec and
  user guide updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 20:07:48 +01:00
nessarandClaude Opus 5.5 d21d4a90dd Show the last played champion on the Défi's banner (#111)
- The home banner's illustration is the splash of the champion of the Season's last Match
  (the « Dernière Partie » line's, all Formats), none without a Match, instead of the last
  champion validé's.
- The comet reveals the new splash when its Match is the last Match; a Match that arrived
  late just sets the banner's splash, as before.
- interface.md says it; tests cover the choice and the reveal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 20:04:32 +01:00
nessarandClaude Opus 5.5 33413e7bf4 Say why a single click on the notification icon does nothing (#113)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 20:04:32 +01:00
nessarandClaude Haiku 5.5 e81611371f Reopen the window on a double-click of the tray icon (#113)
- A double-click (WM_LBUTTONDBLCLK) or Enter/Space (NIN_KEYSELECT) opens the
  window; a single click does nothing, so its first click no longer reopens it
- The right-click menu is unchanged
- The notice and the user guide say to double-click

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-25 20:04:32 +01:00
nessarandClaude Opus 5.5 497c6861a2 Fix what the review of f257c57 found in « En partie » (#109)
CI / core (pull_request) Successful in 1m53s
CI / core (push) Successful in 1m48s
- « En partie » is prepared only while it shows: a statistics change on another tab no longer
  rebuilds it nor reads its 5 Matches, and a tab switch prepares it only when it arrives. The
  banner is dressed once per change.
- A game session that names no champion takes the one its champ select picked, until the
  session says it (the recorded capture has no champion field).
- The 5 Matches are read again whenever the stored Matches change, a Provisional Match
  published included, not only when their count does.
- Clearing the screen keeps the count of its requests: a late answer from a previous game is
  dropped.
- A game the client closed and reconnected to decides its end again at its lobby.
- One rule for « a game's end without a block shows « Défi » once », shared with #129.
- Tab::is_phase and Tab::home_scoped replace the repeated tab lists; match_over and
  leave_live_match hold the LiveMatch instead of Option<Option<u64>>; the 5 Matches' request
  is one RecentQuery; live_match_tab is has_in_game_tab.
- Tests: one fake game client for the page tests; the end-of-game tests read Alice's client;
  the app started during a game; the champ select's pick standing in; the reconnected game;
  « Paramètres » closing without activating the window.
- docs/performance.md lists the `in-game-details` part; docs/interface.md says when the
  screen is prepared, the pick standing in, and the reconnected game.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 18:26:03 +01:00
nessarandClaude Opus 5.5 f257c57b27 Show the Live Match in a tab of its own, « En partie » (#109)
CI / core (pull_request) Successful in 1m50s
- The core reads the champion played in the client's gameflow session
  (champion selections, else the teams, by the summoner's client PUUID) and
  follows the Live Match from one read to the next: it starts with an Arena
  game in progress and lasts through that game's end-of-game screen.
- The follower tells the page the Live Match on each change, before the champ
  select's end, so the end of a champ select that launched a game shows
  « En partie » instead of « Défi », without computing the statistics again.
- « En partie »: the banner with the champion's splash, the Season and the
  count, its tick of the ring lit and the stake (« Un top 1 validerait X :
  88 / 172 », or the day it was validated); « Champion en cours
  d’identification » until the client says it. Under it, the card's sheet and
  the champion's 5 latest Matches of the Season, read at low priority.
- A Live Match is a phase like the champ select: the signed-in Account and the
  current Season, the Account selector greyed, « Paramètres » closed, and a
  minimised or hidden window shown again without the focus, never raised.
- Its end-of-game block ends it and #129 decides the screen; without a block,
  the lobby shows « Défi ». A screen gone with its tab falls back to « Défi ».
- Tests with the simulated client: launch from the champ select, a client met
  in a game, the champion identified late, the end with and without a block,
  a game outside Arena. docs/interface.md and the guide are updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3BEKJ9v922udzup4Qn
2026-11-25 17:58:01 +01:00
nessarandClaude Opus 5.5 dcb7ac303c Show augments as item-like slots with the game's coloured icons (#135)
CI / core (pull_request) Successful in 1m57s
CI / core (push) Successful in 1m49s
- The recap draws six augment slots per player, like the seven item slots:
  the augments taken, then empty slots, so the lines read in columns; the
  name moves to the bubble.
- The catalog takes CommunityDragon's large augment icon (coloured by rarity)
  instead of the small white glyph, shrunk to 64 px at download.
- catalog.json gets a format number: a cache from before is read again from
  the sources at the same patch and its augment icons downloaded again.
- A first download tells the page every 100 icons, so icons show as they come
  instead of after the whole pass.
- The icon download tests move to tests/game_data/icons.rs (Rule #2).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3BEKJ9v922udzup4Qn
2026-11-25 13:45:00 +01:00
nessarandClaude Opus 5.5 bf9ea585d2 Restore the missing slot bubble and drop test-only code from the recap (#135)
CI / core (pull_request) Successful in 1m43s
- A slot the source does not give keeps its one-word bubble (« Indisponible »,
  « En attente » in a Provisional Match), registered only while visible.
- bubble::Visible takes a Bubble (described or a word); the tests' selectors are
  set by the recap with item_selector / augment_selector, no #[cfg(test)] code.
- Name, description and icon travel as one Described in slots, chips and the
  damage seen lines; the old per-field catalog accessors are gone.
- A catalog list needs 9 entries in 10 named to replace the cache.
- An unknown {{…}} reference in an augment summary becomes « ? ».
- A panic of the catalog worker is reported as Crashed; spawn_game_catalog
  moves to the test fake.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3BEKJ9v922udzup4Qn
2026-11-25 10:41:31 +01:00
nessar a4a2a51670 Keep incomplete catalogs and offscreen tooltips out of the recap (#135)
CI / core (pull_request) Successful in 1m39s
Reject patch lists without any names before writing the cache and retry unusable caches at the same version. Scope visible tooltips to their player so inactive item slots need no tooltip state.
2026-11-25 09:13:08 +01:00
nessar bb20a1f853 Address French catalog and tooltip review findings (#135)
CI / core (pull_request) Successful in 1m55s
2026-11-25 09:00:37 +01:00
nessar 9daea4f4ef v1 2026-11-25 09:00:37 +01:00
nessarandClaude Opus 5.5 d2ff74a383 Draw the recap's statistics as bars, colour the list's Placements
CI / core (pull_request) Successful in 1m51s
CI / core (push) Successful in 1m46s
- A player's details draw bars: the two damage rows as one bar split by type (physical, magic,
  true), the total beside it and each type in a legend under it; Protection, Or and Contrôle
  as one bar per measure, full for the best player of the Match. One absent type leaves the
  split bar empty. The fills are written with the recap, never computed on screen.
- Each folded player line draws its damage to champions as a bar as long as its share of the
  Match's best total, split by type; in one neutral colour while the types are not given
  (a Provisional Match).
- The list of « Parties » colours each Placement: gold for a top 1, the palette's success ink
  for another Win, its danger ink otherwise.
- The details' rendering moves to details_view.rs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:27:40 +01:00
nessarandClaude Opus 5.5 c90db5ea67 Show the history's Account in the greyed selector of « Parties »
CI / core (pull_request) Successful in 1m51s
A pinned Account no longer chooses the list of « Parties »: the selector says whose Matches
they are, and gives the pinned Account back on the other screens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3AqGyEbouXkQJJdnQT
2026-11-24 09:28:49 +01:00
nessarandClaude Opus 5.5 78ed351601 Fix what the review of 1192c13 found in « Parties » (#123, #124, #127, #129)
- A block is written as its event arrives, from the wait for client events, with the Riot ID
  and client PUUID signed in at that moment: it builds the Match of that Account whoever signs
  in before a round gets to it.
- A block whose mode nothing tells waits instead of losing its text; only a game known to be
  of another mode is dropped.
- The follower remembers only the game in progress a Provisional Match stands for, and looks
  at it only when that game has just ended (follow/game_end.rs).
- A Match no Season holds is still reported: its block opens its recap.
- The client leaving an Arena game is told to the page once: without a block, or with the
  preference off, it shows the Challenge; a block decided on is not undone.
- « Parties » lists the Account signed in to the client, never the pinned one.
- Widening the Season for a new Match recomputes the statistics on the worker, to the Match's
  own Season.
- A corrected Placement follows the unfolded player, or folds the details.
- One Death Recap read at a time; only the latest waits, and leaving the screen drops it.
- A narrow window builds its closed list no more and gives its portraits back.
- The game data cache is keyed by the client's locale too, and an icon whose route changed is
  downloaded again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3AqGyEbouXkQJJdnQT
2026-11-24 09:27:38 +01:00
nessarandClaude Opus 5.5 1192c13830 Name things as the glossary does, reuse the core's Season periods
CI / core (pull_request) Successful in 1m46s
« En attente » is AWAITED, the block's PUUID is the client's; the filters
of « Parties » use the core's period of a Season instead of a copy; the
list view joins the cached views in docs/performance.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 05:19:27 +01:00
nessarandClaude Opus 5.5 d4cdfd9670 Fix what the final review found in « Parties » (#124, #125, #127, #128, #129)
One timeline download per Match even when the queue and an opened recap
ask together; a Death Recap matched with an outdated catalog is matched
again; end-of-game blocks keep their text only while their Match may still
need it; block platforms are upper case; unbuilt blocks are retried during
their window, then only after a sync; the queue thread no longer wakes each
minute; auto-open widens Season and Format when they hide the new Match;
clearer mitigation and control-score labels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 05:14:55 +01:00
nessarandClaude Opus 5.5 7396e87291 Open the new Match's recap when its end-of-game block arrives (#129)
« Parties » shows the Provisional Match from any tab and « Paramètres »
closes, without restoring, raising or focusing the window. A setting,
on by default, keeps the Challenge instead. Root tests no longer start the
game catalog thread, which made a settings test flaky.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 05:00:05 +01:00
nessarandClaude Opus 5.5 7f56f090aa Show the damage seen in Death Recaps in a player's details (#128)
By item and augment, then « Autres effets »; « En attente » for a
Provisional Match, « Indisponible » when Riot refuses, « Réessayer » after
a passing failure. A followed Match's timeline is fetched by a background
queue, an older one's on its first opening.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 04:45:58 +01:00
nessarandClaude Opus 5.5 7575ab0165 Show item and augment names and icons in the recap (#124, #127)
The catalog is loaded from its disk cache at launch and refreshed in the
background when the client appears; unknown ids keep the neutral look.
Provisional Matches get tests for « Provisoire », « En attente » and their
silent publication. Reopening « Parties » no longer re-reads an unchanged
list, and a failed recap is decoded again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 04:25:22 +01:00
nessarandClaude Opus 5.5 4c68fd2814 Filter « Parties » by Season, Format, Placement and champion (#126)
Season and Format are the Statistics page's own selectors; Placement offers
« Tous · Top 1 · Victoires » and the search is the home's, aliases included.
Filtering works on the rows already loaded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 00:37:42 +01:00
nessarandClaude Opus 5.5 a4f2069f87 Unfold a player's details in the Match Recap (#125)
Damage dealt and taken by type, mitigation, heals and shields on allies,
gold and crowd control, as the source gives them, built once per recap and
only drawn for the player unfolded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 00:28:08 +01:00
nessarandClaude Opus 5.5 beb5e5037b Add the « Parties » tab: the Account's Matches and their recap (#123)
Newest first, the most recent chosen at each opening; teams by Placement
with the Account highlighted, and « Indisponible » where the source says
nothing. The list is its own virtualized view; below 900 px it goes behind
a button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 00:20:35 +01:00
nessarandClaude Opus 5.5 9b02c3eab7 Make « Sélection » a phase tab beside « Défi » (#108)
Entering an Arena champ select adds the tab and shows it from anywhere; the
Challenge and Statistics stay reachable during it, and coming back shows the
hand at rest. Its end removes the tab and shows the Challenge, the hand
leaving first when « Sélection » was in front.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 23:59:14 +01:00
nessarandClaude Opus 5.5 665f129da0 Open « Statistiques » from the Challenge banner, not the top bar (#107)
A « Statistiques › » link under the counter opens it with the usual veil;
« ‹ Défi » and the « Défi » tab bring the Challenge back, by mouse or keyboard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 23:47:04 +01:00
nessarandClaude Opus 5.5 1e44baa157 Bring a covered window to the front too when an Arena champ select starts (#118)
CI / core (pull_request) Successful in 1m40s
CI / core (push) Successful in 1m37s
A window already shown was left alone, so one open behind Chrome stayed
hidden at the start of a champ select. Every window state now gets the same
raise, still without activation and once per entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 17:36:53 +01:00
nessarandClaude Opus 5.5 1cb7b2b11d Bring the window above the others when an Arena champ select starts (#118)
CI / core (pull_request) Successful in 1m30s
CI / core (push) Successful in 1m34s
Out of the foreground, SetWindowPos(HWND_TOP) left the restored window where
it was: under a maximized Chrome on its screen. A topmost round trip puts it
above every normal window, League included, still without activation.

A window hidden in the notification area is now shown by ShowWindow
(SW_SHOWNA): SWP_SHOWWINDOW sent GPUI no WM_SHOWWINDOW, so it never saw the
window as visible and the entry animation could not play.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 14:05:19 +01:00
nessarandClaude Sonnet 5.5 986c090d78 Always list the Anvil champions A to Z; sort selector moves to Autres champions (#119)
CI / core (pull_request) Successful in 1m35s
CI / core (push) Successful in 1m35s
The client lists the Anvil champions alphabetically: the row now keeps the
statistics' own order whatever sort was chosen. The selector, which only
applies to the other cards, sits beside the search of Autres champions.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 13:55:00 +01:00
nessarandClaude Opus 5.5 b8e49276ab Hold only the table's shown portraits (#32)
CI / core (push) Successful in 1m37s
The champion table drew its 128 px portraits through GPUI's app-wide
image cache, which keeps every image it ever loaded: once « Statistiques »
had been scrolled through, all 173 stayed decoded and in the atlas, about
25 MB on the reference laptop (budget 4). The table now reads them
through its own CardImages, as the card grids do: only the rows it paints
keep theirs, and it gives them back when « Défi » or « Paramètres » is
shown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3DgZBggc9wJG9c1nqA
2026-11-23 10:20:30 +01:00
nessarandClaude Opus 5.5 f53db09d3e Skip GPUI's paint while the window is minimised (#32)
CI / core (push) Successful in 1m37s
GPUI's vsync thread invalidates the window at every vsync, minimised too,
and each WM_PAINT went through GPUI, which has no frame to draw then, and
DefWindowProc: the UI thread spent more minimised than visible (budget 3).
A subclass validates the paint while the window is iconic. On the manual
checks machine (240 Hz), minimised: 3.03 % of one core before, 0.22 %
after; the window draws again on restore.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3DgZBggc9wJG9c1nqA
2026-11-23 10:17:10 +01:00
nessarandClaude Opus 5.5 c97b9cb4cb Say that Velopack stops the app instead of waiting for it (#62)
Velopack 1.2.161 logs « Access is denied » when it waits for the app at
each apply, although the process can be waited on with SYNCHRONIZE, and
goes straight to force-stopping what runs from the installation. The app
has quit by then, and a forced stop loses no data: config.toml is written
aside then renamed, and Matches are in SQLite transactions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192He3DgZBggc9wJG9c1nqA
2026-11-23 10:16:45 +01:00
nessarandClaude Sonnet 5.5 1ad36bdd5a Add a button to check for an update from the settings
CI / core (pull_request) Successful in 1m40s
CI / core (push) Successful in 1m42s
The check ran only at launch and on a channel change, so an app left
open never saw a release published since. « Rechercher une mise à jour »
runs the same check on demand, through the same gate, and the settings
now say how the last check ended: running, up to date, or why it failed.
A failed check leaves a ready update ready.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 08:40:24 +01:00
nessarandClaude Sonnet 5.5 2c9ca4552c Address review of the champ select page scroll
CI / core (pull_request) Successful in 47s
CI / core (push) Successful in 45s
- 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>
2026-11-22 19:18:35 +01:00
nessarandClaude Sonnet 5.5 15feaee8bf Scroll the whole champ select as one page
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>
2026-11-22 19:01:55 +01:00
nessarandClaude Opus 5.5 e7ff365069 Settle names and module homes after third review (#103)
CI / core (pull_request) Successful in 1m34s
CI / core (push) Successful in 1m35s
- Rename CardPosition/CardPositions/positions() to DrawnCard/DrawnCards/
  drawn_cards(): "position" is a word CONTEXT.md avoids for Placement.
- Move the Account and status queries from page/statistics/scope.rs to
  page/displayed.rs, since the whole page uses them.
- Move the home's own statistics state (settle_home_scope, set_home_result,
  forget_home, home_is_current) to page/home/data.rs, leaving home.rs to
  queries and rendering.
- Move the profiling flag shown() from display.rs to page/profiling.rs.
- Narrow Page::new to pub(crate), and restore the domain phrase in the
  same_riot_id doc comment and the page.rs module doc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:16:00 +01:00
nessar 242ecc4f28 Tighten module organization after second review (#103)
CI / core (pull_request) Successful in 1m35s
2026-11-22 18:06:44 +01:00
nessar e56da040e5 Address module split review on #103
CI / core (pull_request) Successful in 1m37s
2026-11-22 17:20:58 +01:00
nessar b9023c1d15 Split large application modules and their tests (#102) 2026-11-22 16:49:32 +01:00
nessar d0311888bb Split Page code and test suites by responsibility (#102) 2026-11-22 16:49:32 +01:00
nessar fb9c2b3cf7 Extract league client and ring test modules (#102) 2026-11-22 16:32:09 +01:00
nessarandClaude Opus 5.5 3965b7bcc2 Let each card leave from where it is and build no card out of sight (#87)
CI / core (pull_request) Successful in 1m36s
CI / core (push) Successful in 1m36s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:15:41 +01:00
nessarandClaude Opus 5.5 debf3c5232 Let the hand leave from where it is and keep the pointer's last word (#87)
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>
2026-11-22 16:12:24 +01:00
nessarandClaude Opus 5.5 b1c5c3a8cc Deal the hand at a champ select's entry and let it leave at its end (#87)
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
2026-11-22 16:12:05 +01:00
nessarandClaude Opus 5.5 ee2ab5cc33 Prepare the held grid on arrival and keep the followed game apart from older Matches (#89)
CI / core (pull_request) Successful in 1m33s
CI / core (push) Successful in 1m36s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:06:03 +01:00
nessarandClaude Opus 5.5 44c2d10b3b Play the strongest Match on its own champion and report every followed game (#89)
CI / core (pull_request) Successful in 1m40s
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>
2026-11-22 15:16:04 +01:00
nessar 126912fd09 Animate the Challenge after a live Match ends (#89) 2026-11-22 15:16:04 +01:00
nessarandClaude Opus 5.5 aac2f4212c Offer to launch Arena Tracker at Windows logon (#67)
CI / core (pull_request) Successful in 1m38s
CI / core (push) Successful in 1m33s
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>
2026-11-22 00:50:07 +01:00