2 Commits
Author SHA1 Message Date
poli0981andClaude Opus 4.8 188b403696 feat(android): minSdk → Android 11 (API 30) + hide Steam Desktop on mobile, v1.4.4 (#106)
- minSdk 24 -> 30: OS-level install gate (INSTALL_FAILED_OLDER_SDK) drops EOL
  Android 7-10 (no Google OS patches, stale WebView vs the React 19 bundle);
  minSdk 30 still reaches ~87% of active devices.
- Hide the steam:// "Steam Desktop" button on the Android app / sub-768px
  viewport via a new reactive useIsMobile hook; the Web button stays.
- Docs: new docs/android-support.md (+vi mirror) with requirement, rationale,
  tested devices (emulator 11-16, real vivo 1907 on Android 12) and a sourced
  version-share/EOL table; update TAURI.md, pc_spec.md (+vi), the
  release-android.yml notes, and the README badge/links.
- Bump 1.4.3 -> 1.4.4 (repo 3.4.1 -> 3.4.2) + Cargo.lock/package-lock sync.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 20:08:42 +07:00
poli0981andClaude Opus 4.7 70d9730ce9 v3.2.0: SEO + Donate + auto-Discussion + Health bucket + dev docs (#64)
* v3.2.0: SEO, Donate page, Discussion auto-post, Health bucket split, dev docs

Bundles 8 features for v3.2.0 (per the planning round):

1. SEO basics — OG / Twitter card / canonical / JSON-LD in index.html;
   robots.txt + sitemap.xml in web/public; useDocumentTitle hook wired
   into every page so the tab title reflects the current route +
   language.

2. Auto-post a GitHub Discussion on release `published` —
   .github/workflows/announce-release-discussion.yml. Uses GraphQL
   `createDiscussion`, idempotent (skips if a discussion with the same
   title already exists), prefers the `Announcements` category with
   fallback to `General`.

3. Dev docs — docs/pc_spec.md, docs/dev_env.md, VI mirrors under
   docs/i18n/vi/, web/src-tauri/TAURI.md (build prerequisites + signing
   notes). AUTHORS.md gets a "Dev info" table; README.md links the new
   docs.

4. Donate page (/donate) with 5 platform cards
   (GitHub Sponsors / Ko-fi / BMC / Patreon / PayPal) sourced from
   .github/FUNDING.yml. New nav item, EN + VI i18n keys.

5. Telegram bot user guide — new docs/telegram-bot.md pointer page
   linking the external USER_GUIDE.md, bot source repo, and the
   in-repo bot-ingest.yml workflow. CONTRIBUTING.md and About page get
   the same link.

6. Health bucket split — separates "Online + AC + kernel unknown" from
   "Online · anti-cheat unknown / none" so games with empty `anti_cheat`
   no longer disappear from the report.

7. Steam Desktop direct link — game detail drawer now shows two buttons:
   `steam://store/<appid>` (Steam client) and the regular
   store.steampowered.com URL. Helper at web/src/lib/steam-link.ts.

8. Bi-weekly offline player leaderboard — scripts/top_offline.py +
   bash/offline.sh + .github/workflows/top-offline.yml (cron 1st + 15th
   of each month, plus workflow_dispatch). Output:
   games/top-offline.md, top 100 single-player F2P concurrents.
   Health page gets a manual trigger button.

Verification: `cd web && npm run typecheck && npm run build` — both
pass; PWA generates 17 precache entries; manifest.webmanifest emitted
by VitePWA as before.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(top-offline): make update_players_only honour offline filter

`update_players_only(games)` had a hardcoded `type_game == "online"`
filter, so passing it the full games list from top_offline.py refreshed
ZERO offline player counts and the resulting top-offline.md was sorted
on stale data (last touched by the daily update_data.py).

Extend the function with a backward-compatible `type_filter` kwarg
("online" default, plus "offline" and "all"). top_online.py keeps its
existing call shape; top_offline.py now passes type_filter="offline"
which excludes online AND empty-type rows (unclassified is not
"offline").

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* chore(release): bump to v3.2.0 / desktop v1.2.0 + CHANGELOG

- web/package.json + lockfile: 1.1.0 → 1.2.0
- web/src-tauri/tauri.conf.json: 1.1.0 → 1.2.0
- web/src-tauri/Cargo.toml: 1.1.0 → 1.2.0
- README badge: 3.1.0 → 3.2.0
- CHANGELOG.md: new v3.2.0 entry covering all 8 features in this PR

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 09:50:12 +07:00