Skip to content

Switch web controls to nipplejs - #105

Merged
vbonduro merged 2 commits into
mainfrom
web-nipplejs-dpad
Jul 1, 2026
Merged

vbonduro merged 2 commits into
mainfrom
web-nipplejs-dpad

Conversation

@vbonduro

@vbonduro vbonduro commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace the web D-pad button grid with a nipplejs joystick, including diagonal support
  • add robust release/reset handling so lost pointer capture and page aborts cannot leave the joystick or emulator stuck
  • add Up/Down hold-repeat in menus for both on-screen D-pad and keyboard
  • harden the Playwright e2e harness and add regression coverage for joystick release, menu repeat, and mobile traversal

Tests

  • npm run typecheck
  • npm run build
  • npm test (62 passed)

- Replace the button-grid D-pad with a nipplejs joystick
- Add robust D-pad release/reset handling for lost capture and page aborts
- Add menu Up/Down hold-repeat for touch and keyboard
- Harden e2e test isolation and expand mobile/menu coverage

Tests:
- npm run typecheck
- npm run build
- npm test (62 passed)
@codecov

codecov Bot commented Jul 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.21%. Comparing base (10de37c) to head (2accc1a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage   93.21%   93.21%           
=======================================
  Files          82       82           
  Lines       14055    14055           
=======================================
  Hits        13102    13102           
  Misses        953      953           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vbonduro
vbonduro merged commit a8ea025 into main Jul 1, 2026
4 checks passed
@vbonduro
vbonduro deleted the web-nipplejs-dpad branch July 1, 2026 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant