Repository navigation
fix: Accept arrow key codes and keep the keyboard unzoomed - #3
Conversation
|
/codex-review |
There was a problem hiding this comment.
Codex Code Review
✅ No findings.
No actionable defects found in the diff after tracing input handling, zoom behavior, navigation, and packaging integration. ARM64 packaging and device smoke tests were not run in this read-only environment.
Reviewed head ee784490dd65dbeef9bcdc9dfb4274b05cc252f5. Push changes, then comment a new review request to review the new head.
On the R36S the right-stick scroll step failed every run: scrollY is read 600 ms after a single scroll event, before WebKit has synced the position back. Recheck a failing step every 250 ms up to 16 times, and drop a pending retry when a navigating step's load finishes.
A full run takes about 36 s on the R36S, against a 40 s deadline.
|
/codex-review |
There was a problem hiding this comment.
Codex Code Review
✅ No findings.
No actionable problems found in the complete diff or affected callers. The updated JavaScript passes syntax validation; ARM64 packaging and device behavior could not be tested in this environment.
Reviewed head ca27543e1299949f1e11bd18334c62b66d31904c. Push changes, then comment a new review request to review the new head.
Gizlet OS now reads only `manifest.json` from a `.gzl` (gizlet/os#29). The package built from `manifest.toml` no longer installs: `gizlet install` fails with "has no manifest.json". - Describe the browser in `gizlet.toml` at the repository root, following the [Gizlet format](https://github.com/gizlet/gizlet/blob/main/docs/gizlet-toml.md). It adds an English and a Chinese description. - `scripts/manifest.py` generates the package's `manifest.json` from `gizlet.toml` during `package.sh`. The manifest covers the device-facing fields plus the single package's `target`, `tier` and `entry`. - CI now watches `gizlet.toml` instead of `manifest.toml`. The README notes that the build needs Python 3.11 or newer, which `pack.py` already required. ## Validation - Ran `scripts/manifest.py` locally against `gizlet.toml`. The resulting `manifest.json` matches the schema in gizlet/os#29. - Repacked the PR #3 CI package with that manifest. The `gizlet` CLI shipped on the 192.168.4.254 handheld installed it, and `gizlet list` shows `io.gizlet.browser 0.1.0 Browser`.
Summary
Follow-up to #2, from its Codex review.
KEY_UP,KEY_DOWN,KEY_LEFTandKEY_RIGHTmove focus again, as they did in feat: Add a handheld WPE WebKit browser #1.Validation
The ARM64 smoke test adds a step that zooms to 200% with the keyboard open and checks that its on-screen height is unchanged.
Smoke test on the handheld
The smoke test had only run in CI. On an R36S (192.168.4.254) it failed every time at step 5:
scrollYis read 600 ms after a single scroll event, and on the handheld the position arrives about 3 s later. A failing check is now retried every 250 ms, up to 16 times. A full run takes about 36 s there, so the deadline is now 90 s instead of 40 s. With these changes all 17 steps pass on the device.