Skip to content

ci: deploy Stack-chan WASM simulator#403

Open
meganetaaan wants to merge 9 commits intofeat/wasm-stackchan-buildfrom
ci/deploy-wasm-stackchan-web
Open

ci: deploy Stack-chan WASM simulator#403
meganetaaan wants to merge 9 commits intofeat/wasm-stackchan-buildfrom
ci/deploy-wasm-stackchan-web

Conversation

@meganetaaan
Copy link
Copy Markdown
Collaborator

Summary

  • Add the web simulator page and tests
  • Run simulator tests in CI
  • Build the Stack-chan WASM artifacts during the bundle workflow
  • Upload and deploy web/simulator, including generated mc.js and mc.wasm, to gh-pages

Stacking

Verification

  • npm test (web)
  • Parsed .github/workflows/*.yml with PyYAML
  • MODDABLE=/.local/share/moddable + emsdk 3.1.2 + FONTBM=/.local/bin/fontbm npm run build:wasm

Do not merge until the base WASM build-support PR is ready. No auto-merge requested.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 29, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 532c27c9-4113-40c8-8743-933037477f59

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/deploy-wasm-stackchan-web

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 64f849089e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

if (kind === 0) this.tracking += event.changedTouches.length
if (kind === 1 || kind === 2) this.tracking -= event.changedTouches.length
for (const touch of event.changedTouches) {
this.#touch(kind, touch.identifier, touch.pageX, touch.pageY, event.timeStamp)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use viewport coordinates for touch forwarding

#touches forwards touch.pageX/pageY into #touch, which then subtracts getBoundingClientRect() offsets. Because pageX/pageY include document scroll while getBoundingClientRect() is viewport-relative, touch coordinates are shifted whenever the page is scrolled (a common mobile case given this page layout), so fxMainTouch receives incorrect positions and taps map to the wrong screen location. Use touch.clientX/clientY (or compensate with window.scrollX/scrollY) before forwarding.

Useful? React with 👍 / 👎.

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