Repository navigation
Web UI: show platform-specific run shortcut hint - #108957
Conversation
The Web UI (play.html) showed the run hint as "Ctrl/Cmd+Enter". Now it shows only the modifier relevant to the user's platform: "Cmd+Enter" on Mac and "Ctrl+Enter" elsewhere. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Workflow [PR], commit [6ed8683] Summary: ✅
AI ReviewSummaryThe PR updates Final Verdict✅ Approve |
|
@groeneai, fix |
|
@alexey-milovidov Same mechanism as the Validated on a debug build using #108854's own
The establisher-level soft-retry on Happy to look into the stress-test checks currently blocking #108854 if that helps land it. |
The platform detector for the run shortcut hint used a case-sensitive regexp `/Mac|iPhone|iPad|iPod/`, but `navigator.userAgentData.platform` reports macOS as the literal string `macOS` (lowercase `m`) and iOS as `iOS`. On Chromium-based browsers on macOS - the main case this change is meant to fix - the case-sensitive regexp did not match, so `isMac` was false and the hint still showed `Ctrl+Enter`. The legacy `navigator.platform` fallback (`MacIntel`) only matched because it is reached just when `userAgentData` is absent (Firefox/Safari). Match the platform string case-insensitively and also accept the UA Client Hints `iOS` value, so the hint correctly shows `Cmd+Enter` on Mac across all browsers. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Addressed the AI Review Request changes verdict in Fix: the platform detector used a case-sensitive regexp CI reds (all on the prior commit
|
|
Merged current Both reds on the previous commit
@groeneai, could you investigate the upgrade-check flake ( |
|
Done — fix in a separate PR: #109009. Root cause: test CIDB confirms your numbers: 40 failures / 39 distinct PRs / 0 on master in 60d, onset 2026-06-26. All 40 carry the exact No prior tracking issue existed. Both reds on |
|
The fresh CI run for This is the known flake tracked in #108142, unrelated to this HTML-only change:
The remaining in-progress jobs (Stateless tests, Performance Comparison, SQLLogic) likewise cannot be affected by a |
|
Update on the fix link: consolidated onto #108651 ("Match benign mutation parse errors by class in the Upgrade check") instead of #109009. #108651 is already approved and #109009 was a narrower subset editing the same lines of |
…rm-shortcut-hint Web UI: show platform-specific run shortcut hint
The Web UI (
play.html) showed the run shortcut hint asCtrl/Cmd+Enter. This change detects the user's platform and shows only the relevant modifier:Cmd+Enteron Mac andCtrl+Entereverywhere else.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Web UI: the run shortcut hint now shows
Cmd+Enteron Mac andCtrl+Enteron other platforms instead of always showingCtrl/Cmd+Enter.Version info
26.7.1.392(included in26.7and later)