Commit Graph
164 Commits
Author SHA1 Message Date
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 e43dd4510b Document Rust test layout
CI / core (pull_request) Successful in 1m31s
2026-11-22 16:58:12 +01:00
nessar c716c2c759 Group core integration tests by behavior (#102) 2026-11-22 16:49:32 +01:00
nessar 4548b6ac64 Split large core modules into focused child modules (#102) 2026-11-22 16:49:32 +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
nessar 40e8f88a98 Require focused Rust modules as files grow
CI / core (push) Successful in 1m38s
2026-11-22 16:20:40 +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
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 Sonnet 5.5 48729f83ad Document the green-CI requirement to merge into develop and main
CI / core (pull_request) Successful in 1m38s
CI / core (push) Successful in 1m34s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 11:42:05 +01:00
nessarandClaude Sonnet 5.5 d42125724e Document the L'Anneau identity and version its reference page (#81)
CI / core (pull_request) Successful in 1m37s
CI / core (push) Successful in 1m31s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 11:33:12 +01:00
nessarandClaude Opus 5.5 8784c6eb6c Say how a champion absent from Riot's mastery list counts (#76)
CI / core (pull_request) Successful in 1m42s
CI / core (push) Successful in 1m37s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 02:26:28 +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 213d693ab8 Record the fourth greying reason and what the redesign established (#74)
The spec gains « Indisponible », agreed for a champion the client does not
offer, and records what #74 and #76 established about the Anvil champions
list and the Mastery Points, with what is left to the Windows check.

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 2cd8b2c545 Document the third cached grid and the portraits given back (#77)
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