From 50125d8b3904e85db031f80bd8d445009f43f94a Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Wed, 1 Apr 2026 12:00:43 -0500 Subject: [PATCH] =?UTF-8?q?docs:=20sync=20KB=20=E2=80=94=20release-2026.3.?= =?UTF-8?q?31.md,release-2026.4.01.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mlb-the-show/release-2026.3.31.md | 2 +- mlb-the-show/release-2026.4.01.md | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 mlb-the-show/release-2026.4.01.md diff --git a/mlb-the-show/release-2026.3.31.md b/mlb-the-show/release-2026.3.31.md index 1f13e24..6b604cd 100644 --- a/mlb-the-show/release-2026.3.31.md +++ b/mlb-the-show/release-2026.3.31.md @@ -24,7 +24,7 @@ Major fixes to the companion app automation (`grind.py`). The gold exchange navi - Added retry loop (3 attempts, 2s apart) in `ensure_on_exchange_grid()` for variable load times - Added `time.sleep(2)` after tapping into the Gold Exchange grid - Removed low-OVR bail logic — the grid is sorted ascending, so bail fired on first screen before scrolling to profitable cards -- Fixed buy-orders market scroll — now tries up to 10 page-downs before giving up (was 1) (`6912a7e`) +- Fixed buy-orders market scroll — retry loop attempts up to 10 scrolls before giving up (was 1) (`6912a7e`). Note: scroll method itself was still broken (KEYCODE_PAGE_DOWN); fixed in 2026.4.01 release. - Restored `_has_low_ovr_cards` fix lost during PR #2 merge (`c29af78`) ### New Features diff --git a/mlb-the-show/release-2026.4.01.md b/mlb-the-show/release-2026.4.01.md new file mode 100644 index 0000000..3bae3b5 --- /dev/null +++ b/mlb-the-show/release-2026.4.01.md @@ -0,0 +1,26 @@ +--- +title: "MLB The Show Companion Automation — 2026.4.01" +description: "Fix buy-orders scroll to use touch swipes, optimize exchange card selection." +type: reference +domain: gaming +tags: [release-notes, deployment, mlb-the-show, python, automation] +--- + +# MLB The Show Companion Automation — 2026.4.01 + +**Date:** 2026-04-01 +**Repo:** `cal/mlb-the-show-market-tracker` on Gitea +**Branch:** `main` (latest `f15e98a`) +**Deploy method:** Local script — `uv run scripts/grind.py` + +## Release Summary + +Two fixes to the companion app automation. The buy-orders command couldn't scroll through the market list because it used keyboard events instead of touch swipes. The exchange command now stops selecting cards once it has enough points for a pack. + +## Changes + +### Bug Fixes +- **Fixed buy-orders market scrolling** — replaced `KEYCODE_PAGE_DOWN` (keyboard event ignored by WebView) with `scroll_load_jiggle()` which uses touch swipes + a reverse micro-swipe to trigger lazy loading. This matches the working exchange scroll strategy. (`49fe7b6`) + +### Optimizations +- **Early break in exchange card selection** — the selection loop now stops as soon as accumulated points meet the exchange threshold, avoiding unnecessary taps on additional card types the app won't consume. (`f15e98a`)