Commit Graph
2 Commits
Author SHA1 Message Date
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