Files
poli0981andClaude Opus 5.5 ec1bf939f6 docs: split CHANGELOG.md into one file per release
changelog/v<major>/<major>.<minor>.x/<version>.md for each of the 42
releases from v1.0.0 to v4.7.1, and changelog/beta/ for pre-releases
(none has been published; its README says how one would be filed).
CHANGELOG.md becomes the index: what the layout is, [Unreleased] exactly
as it was, and a table per major version (version, date, edition) that
links each file.

Each file is its section, copied byte for byte except that its heading
is the file's H1 (so the sub-headings move up one level, outside code
fences), relative links gain ../../../ so they name the same repository
paths, and the --- separators between sections are gone. Checked by
reversing all three changes on every file and comparing with the
original section: 40 of 40 equal. Two releases had no section: v1.0.0
(its GitHub release notes, which the changelog pointed to as "Initial
stable") and v1.1.3 (its tag message).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 09:02:37 +07:00

4.9 KiB
Raw Permalink Blame History

v3.2.5 – 2026-05-20 (The "AC Nav + Mobile + Games Cleanup" Edition)

All versions

Patch release on top of v3.2.4. One reported bug fix + three quality-of-life polish items. Bug: clicking any "Family" link in the Anti-Cheat Index sidebar redirected to the Dashboard instead of scrolling to the matching family table — HashRouter was treating the <a href="#vac"> anchor as a route navigation. Polish: the GamesTable (1318 px wide) now degrades to a virtualised card list below the md breakpoint so mobile no longer needs horizontal scroll; the AntiCheatList sidebar drops to md instead of lg and exposes a horizontal chip nav on phones; KpiCards adds md/lg rungs to avoid uneven grid jumps. Cleanup: 93 per-genre markdown files in games/ are removed (the web app's /games?genre=X filter has replaced them since v3.0); generate_tables.py now skips regeneration when game data hasn't actually changed via a .gen-hash checksum, cutting daily catalogue commits to roughly the days that move records. New: floating back-to-top button on the main scroll container, fades in past 400 px. Web app + desktop bumped 1.2.4 → 1.2.5. Repo public-facing version 3.2.4 → 3.2.5. Tag v3.2.5 is GPG-signed; companion desktop tag is desktop-v1.2.5.

🔗 AC Index sidebar navigation fix

  • web/src/pages/AntiCheatList.tsx: swap <a href="#anchor"> for <button onClick> that calls document.getElementById(id).scrollIntoView({ behavior: "smooth", block: "start" }). The id={anchor} attribute on each family <Card> stays the same — only the click target changes.
  • Root cause: main.tsx:24 uses HashRouter. Anchor links inside a hash-routed page produce URLs like #/charts/anti-cheat/list#vac. HashRouter parses the trailing #vac as a fresh route, the regex doesn't match, and the <Route path="*" element={<Navigate to="/" replace />}> fallback in App.tsx sends the user to the Dashboard.
  • Same fix applied to the new mobile chip nav (below) so behaviour is uniform across viewports.

📱 Mobile responsive

  • New web/src/components/games/table/MobileGameCards.tsx — virtualised card list rendering one card per game with thumb, name, genre/type/AC/status badges, review %, current players, and a Steam-link icon. Shares filter/sort/page state with the desktop table via the existing useFilters store.
  • GamesTable.tsx wraps the desktop scroll container in hidden md:block and renders <MobileGameCards> inside md:hidden. No new state, no behaviour drift between views.
  • AntiCheatList.tsx sidebar changes from hidden w-48 shrink-0 lg:block to hidden md:block md:w-40 lg:w-48 — visible on tablets too. Below md, a horizontal scrollable chip rail above the content provides the same family-jump nav.
  • KpiCards.tsx grid sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-7 → sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-7. Inserts md (tablet, 3 cols) and lg (small laptop, 4 cols) rungs so the 7 KPIs don't double-stack awkwardly.

🧹 games/ cleanup + smart regen

  • Deleted 93 per-genre <genre>.md files (action.md, fps.md, visual-novel.md, …). Web app /games?genre=X is the canonical genre filter since v3.0; no inbound link audit hit anything beyond games/README.md (regenerated) and the now-stale "By Genre" section in the index. Files kept: 11 × all-games_part*.md, top-online.md, top-offline.md, anti-cheat-list.md, README.md.
  • scripts/generate_tables.py drops the genre loop entirely and rewrites the games/README.md template to point at part files + leaderboards + AC list, with a one-line note about the web-app genre filter.
  • Smart regen via .gen-hash — script computes sha256 of sorted (link, name, genre, reviews, current_players, anti_cheat, is_kernel_ac, status) tuples and writes the digest to games/.gen-hash. Subsequent runs short-circuit (Skip: no semantic changes (hash=...)) when the hash is unchanged. Order-invariant, ignores timestamps embedded in MD output, so daily workflow ticks only commit when game data actually moves.

⬆️ Back-to-top button

  • New web/src/components/common/BackToTop.tsx — a fixed-position icon button bottom-right of the viewport. Listens for scroll events on the passed scroll container ref (passive listener), fades in (opacity-100) past 400 px, becomes pointer-events-none below to avoid blocking click-through.
  • Layout.tsx creates a useRef<HTMLElement> on <main>, passes it as scrollRef. Single mount, no per-page wiring.
  • i18n: common.backToTop added to en.json ("Back to top") and vi.json ("Lên đầu trang") for aria-label + title.