Skip to content

v0.4.2: Trophy Case medal-type filters

Choose a tag to compare

@kentlangley kentlangley released this 20 Oct 00:08
· 85 commits to main since this release
385f644

Added

  • Trophy Case filters. The medal-type chips at the top (All, Quest, Legendary, Gold, Silver, Bronze) are now
    buttons. Tap one and only those medals show. Tap it again, or tap All, to see everything. The chosen chip glows
    with a ✓ and the others dim, and the grid animates with AutoAnimate (no motion with reduced motion). A type with
    no medals yet shows a friendly message. The buttons are keyboard and screen-reader friendly (aria-pressed, a
    polite live region) and have 44 px touch targets. Helpers live in public/trophies.js, tested by
    test/trophy-filter.test.mjs (#23).