mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #2086] [MERGED] fix(otome-forge): a tapped sticker sends on iPhone (0.7.4) #2109
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#2109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/2086
Author: @SpicyMarinara
Created: 11/3/2026
Status: ✅ Merged
Merged: 11/3/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/otome-sticker-tap📝 Commits (5)
18c99c7fix(otome-forge): a tapped sticker sends on iPhone (0.7.4)e0df6a7chore(otome-forge): the 0.7.4 artifactf3281eeMerge branch 'staging' into fix/otome-sticker-tap5f7abb5fix(otome-forge): closing the sticker panel from its button keeps focus there (0.7.4)ba14447Merge remote-tracking branch 'origin/fix/otome-sticker-tap' into fix/otome-sticker-tap📊 Changes
13 files changed (+88 additions, -45 deletions)
View changed files
➕
artifacts/otome-forge-0.7.4.zip(+0 -0)📝
catalog/preview/catalog.json(+6 -6)📝
catalog/preview/notes.json(+6 -6)📝
catalog/preview/v2/catalog.json(+6 -6)📝
catalog/preview/v2/notes.json(+6 -6)📝
catalog/preview/v3/catalog.json(+6 -6)📝
catalog/preview/v3/notes.json(+6 -6)📝
packages/otome-forge/CHANGELOG.md(+4 -0)📝
packages/otome-forge/client.js(+1 -1)📝
packages/otome-forge/manifest.json(+3 -3)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/phone/StickerPicker.tsx(+17 -4)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/package-otome-forge-home.e2e.ts(+26 -0)📄 Description
Pull request
Linked issue
Closes #2085
Why this change
The maintainer: on an iPhone, tapping a sticker in Messages does nothing, and it should be sent as a message.
A press in WebKit never focuses the pressed button. Focus goes to the nearest focusable ancestor, the Engine's
main, which is outside the sticker picker. The picker's focus-leaves handler treated that as leaving and closed the panel on the press. The sticker button was gone before the tap's click arrived. The picker's comment assumed iOS moves focus nowhere on a press.Chromium's mouse click focuses the button itself, so the existing browser test never caught it.
What changed
Package:
otome-forge0.7.4 (rebuiltclient.js, artifact and catalog preview entries).screens/phone/StickerPicker.tsx: a press inside the picker moves no focus (onMouseDownprevents the default on the picker's wrapper), so the sticker's click lands and sends it. Keyboard use, Escape, presses outside and focus leaving the picker still close it as before. The header comment now says what WebKit does.tests/package-otome-forge-home.e2e.ts: while her sticker is clicked, every press that doesn't keep its focus hands focus to the Engine'smain, as WebKit does.Package and security impact
otome-forgeValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdWhat the agent ran:
tap().mousedownon the sticker,focusouttomain, then the panel gone. No/sendrequest goes out.{"text":"","sticker":"you:laugh"}.tests/package-otome-forge-home.e2e.tson desktop and mobile Chromium: 38/38 pass.typecheck-packages.mjs otome-forge(client), plus eslint and prettier on the changed files, andgit diff --check: clean.Manual verification notes
Documentation impact
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.