Skip to content

MEP - #206

Merged
julesduroux merged 17 commits into
mainfrom
preprod
Nov 27, 2026
Merged

MEP#206
julesduroux merged 17 commits into
mainfrom
preprod

Conversation

@julesduroux

Copy link
Copy Markdown
Collaborator

No description provided.

Yutsa and others added 17 commits November 25, 2026 11:52
Switching search tab reset the filters to the tab's defaults, and leaving the
search (Aperçu, Main de départ) dropped the tab and its filters. The editor now
remembers, per deck, the last tab and each tab's filters (sessionStorage) and
restores them on coming back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A unique's face is a stack of the illustration, frame and text, so "Copy image"
gave the illustration alone. Hovering a unique (or touching it) now draws its
face into a 744x1039 PNG (html-to-image on an offscreen 744 px copy, so the
cqw layout matches the printed card) and lays it transparent over the face.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Players often missed the card count (only in the deck panel's tab) and the
bar showed Rares, Exalteds and Uniques but not the Commons.

- Reduced deck bar (search, starting hand): a « 36 cartes » badge, green
  from the format's minimum to its maximum, red above, then the Commons
  (no cap) before the capped rarities. « Aperçu »: the Commons too.
- Phone app bar: the Commons before the rarities. To fit four badges at
  390 px, `.ac-badge--dense` (only used there) is tighter and the icon-only
  save status takes 24 px instead of a 44 px touch target (it is a status,
  not a control).
- The bar is about 134 px wider: its collapse thresholds and skeletons
  (placeholder.css / placeholder.php) move by as much, so the name keeps
  about 200 px.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The star came after « + » or the stepper in the column under the faction flag, so it sat lower on cards
already in the deck (taller stepper) than on the others. It now comes first, and the copies control
below it grows downward without moving it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The hero portrait (desktop deck bar, phone app bar) opened the hero
picker, so there was no way to read the hero's card in the editor.
It now opens the card zoom on the hero, with « Changer de héros »
under the card. A ⇄ chip on the portrait still opens the hero picker
directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…on / Numérique tabs (#196)

The collection and ownership proxies return the faction as a code ("OR"), while a
card carries { code, name }. With a string, faction?.code was undefined and
ac-unique-card fell back to the faction in the reference, so an Ordis Unique of an
Axiom card (ALT_EOLE_B_AX_107_U_297) was drawn with the Axiom frame. Map the code
to { code, name } in collectionCard().

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
…gned

Re:Builder : étoile de favori à la même place sur toutes les cartes
…image

Re:Builder : clic droit sur une Unique copie la carte entière
feat(rebuilder): show the hero card large from its portrait
…arch

Re:Builder: keep the editor's card search across tabs and views
The deck bar's total badge reads « 14/39 cartes » (the maximum once over
it) and turns red outside the format's bounds; the Deck tab of the phone's
bottom navigation shows the same « 14/39 » in a red bubble. New
`ac-count--danger` tone; the bar's fold thresholds move by the badge's
extra 24 px.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…total

Re:Builder : total de cartes et Communes dans le bandeau du deck
* fix(design-system): show the danger count on the design system page

DesignSystemTest requires every ac-* class of css/components to appear on
pages/design-system.php; ac-count--danger was missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(rebuilder): follow the hero zoom and the Commons badge in the e2e

#203 moved « Changer de héros » from the desktop portrait to a chip without
an image; #201 added a fourth badge to the phone app bar skeleton.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Rank the Altered heroes in tiers from their full arts and export the ranking
as a PNG, on /pages/hero-tier-list, in the « Communauté & Aide » menu. Idea from
a community HTML tool, rewritten in Angular on the design system.

- Heroes from the cards API, frameless full arts from the CDN.
- Own pointer drag and drop: the art follows the pointer, a slot shows the
  landing place in reading order (end of a tier included), the other heroes
  slide aside, auto-scroll; long press on touch screens. Tap + action bar for
  touch and keyboard.
- Tiers: rename, recolour (--ac-tier-* tokens), reorder, add, delete; undo /
  redo; sizes S/M/L; search and filters on the heroes to rank; saved in
  localStorage.
- PNG export drawn on a canvas in the site's theme.
- Active by default on the stack (CI e2e), screen added to the loading checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tier list des héros : nouveau plugin dans « Communauté & Aide »
@julesduroux
julesduroux merged commit bd24eab into main Nov 27, 2026
11 checks passed

This branch was successfully deployed

1 active deployment
preprod — 58940cff Deployed Nov 27, 2026 by julesduroux via Sync to server #239
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants