Commit Graph
79 Commits
Author SHA1 Message Date
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
nessarandClaude Opus 5.5 2770a39760 Let a whole card of the first row rise out of the list (#88)
CI / core (pull_request) Successful in 1m44s
CI / core (push) Successful in 1m37s
A lifted card was cut where its grid cuts it unless the grid showed it
whole, tested as `visible.intersect(&bounds) == bounds`. With columns of
a fractional width, the intersection rebuilds the size by subtraction
and misses the card's own by a rounding error: the first row's lifted
card was cut at the list's top edge. The test now allows a pixel of
slack on each side.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
2026-11-22 00:04:55 +01:00
nessarandClaude Opus 5.5 95bc4f6664 Read the lifted card from the grid and put it down more often (#88)
CI / core (pull_request) Successful in 1m38s
From the review of PR #97:
- A grid no longer shown, a card filtered out, or a wheel at either end
  of the list puts the grid's cards down at once (`PutDown`): no frame
  is asked for a card no longer drawn, and a wheel always puts it down
  while its tick stays lit under the pointer.
- The lifts hold card ids only. The grid records each placed card's
  index while it builds its rows, and the layer draws the grid's card as
  it is now: no search or copy per hover, and a lifted card shows a new
  top 1 or reason at once.
- A card the keyboard lifted goes down as soon as the pointer moves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
2026-11-21 23:29:48 +01:00
nessarandClaude Opus 5.5 162e689a40 Say that a hover no longer draws the home grid (#88)
CI / core (pull_request) Successful in 1m38s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
2026-11-21 19:42:53 +01:00
nessarandClaude Opus 5.5 b78be1ff0b Lift the hovered card over a cached grid (#88)
The card under the pointer or the keyboard rises over its grid in about
0.35 s: 10 px with a gold glow, 4 px without for a greyed card, the
illustration zooming to 107 % inside it while the caption fades and the
sheet slides up over the lower half. Leaving it mid-way starts from where
it is; a wheel drops it at once; in the hand a veil lays on the other
cards. With Windows animations off the sheet shows without sliding and
the card stays put.

The grids never change on hover or focus any more: they record where
they placed their visible cards, and the page draws the lifted cards in
a deferred layer over them, asking for frames only while one moves.
Structural tests check that a hover, through its animation, draws no
grid, builds no card and computes no statistics.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
2026-11-21 19:18:31 +01:00
nessarandClaude Opus 5.5 c2d6296723 Cache the table, prepare a screen when shown, keep the header still (#86)
CI / core (pull_request) Successful in 1m38s
CI / core (push) Successful in 1m39s
From the review of PR #96: the champion table becomes a cached view, so
the veil's frames no longer draw it; the screen arriving is prepared
only once shown, so a switch undone under the veil prepares nothing;
turning the Windows setting off drops the animation waiting as soon as
Windows says so; the Season and Format selectors move to the title row
of « Statistiques », under the veil, so the header keeps its height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
2026-11-21 18:51:42 +01:00
nessarandClaude Opus 5.5 d7f5e23aea End a transition when animations are turned off, read the screen drawn (#86)
From the review: the Windows setting turned off during a transition
ends it and drops the animation waiting; the errors and the official
count follow the screen drawn rather than the tab chosen; clearer names
for the veil's phases and the frames it asks for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
2026-11-21 18:51:33 +01:00
nessarandClaude Opus 5.5 2ede37c521 Lay the animation foundation and veil the switch between tabs (#86)
Follow the Windows « Show animations » setting at start and on its
change, keep the strongest animation asked for while « Défi » is not
visible until it shows again, and switch tabs under a veil of the
page's background instead of fading or sliding the screen, which would
draw the cached views again at every frame.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYQB8paBcLk67XoAUYARBK
2026-11-21 18:51:33 +01:00
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
nessarandClaude Opus 5.5 e28aefc3bc Expose the order of the completions and the Season's last Match (#84)
The Challenge's chronological pass that counts the Attempts now also
records the Completed champions in the order of their first top 1, and
what the Season's latest Match, all Formats, did to its champion: an
Attempt, the completing Match, or one played after completion.

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 28d86d48b7 Drop the champ select helpers the text view used (#74)
ChampSelect::remaining and current_row only served the text champ select
view that #74 removed. The follow test now looks the current pick up in the
statistics rows and builds the pickable, not Completed set from can_pick.

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 5ce8c777c4 Fetch Mastery Points from the Riot API and add the champion sort preference (#76)
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>
2026-11-20 21:09:18 +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 093078731e Test that a release newer than a failed one is applied at launch (#59)
CI / core (pull_request) Successful in 36s
CI / core (push) Successful in 1m20s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:11:15 +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