mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #2037] [MERGED] fix(otome-forge): Otome Hearth follows the Engine's "Reduce Ambient Animations & Effects" (0.6.16) #2084
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#2084
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/2037
Author: @SpicyMarinara
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/otome-reduced-effects-1997📝 Commits (5)
7aa48a9fix(otome-forge): Otome Hearth follows the Engine's "Reduce Ambient Animations & Effects" (#1997)96da123fix(otome-forge): a world made while a draft save is pending leaves no draft behindee0efbechore(otome-forge): release 0.6.16 (reduced effects, setup draft)c6eef23fix(otome-forge): the Engine's ambient setting spares the claw machine's game feedback (#1997)0cecb05fix(otome-forge): the current turn's pip stops breathing under the Engine's ambient setting (#1997)📊 Changes
18 files changed (+336 additions, -127 deletions)
View changed files
➕
artifacts/otome-forge-0.6.16.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(+5 -0)📝
packages/otome-forge/client.js(+68 -56)📝
packages/otome-forge/manifest.json(+3 -3)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/hooks/use-reader.ts(+28 -17)➕
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/lib/reduced-motion.ts(+25 -0)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/dates/ClawMachine.tsx(+2 -1)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/setup/SetupWizard.tsx(+6 -1)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/theme/styles.ts(+33 -12)📝
scripts/build-feature-packages.mjs(+1 -1)➕
tests/otome-forge-reduced-effects.regression.ts(+115 -0)📝
tests/package-otome-forge-home.e2e.ts(+14 -0)📄 Description
Pull request
Linked issue
Closes #1997
The Engine half, the likely cause of the flicker, merged as Pasta-Devs/Marinara-Engine#8659. Merging into
stagingdoes not close #1997; it stays open until the reporter confirms on their phone.Why this change
What changed
Otome Hearth 0.6.16 (
otome-forge).New
lib/reduced-motion.ts.reducedRuleswrites each reduced-motion rule once and emits it twice: under@media (prefers-reduced-motion: reduce)and underhtml[data-marinara-reduced-effects="true"].reducedFromreads both sources.Stylesheet.
reducedRules: the Wish reveal card, the Home parallax layers, and the global "stop every animation and transition" rule.--of-glass-blur: none, a solid.of-glasssurface, and the two blurs that don't use the variable.Hook.
useReducedMotionreturns true when either source asks for reduced motion, and follows the Engine attribute live through aMutationObserver. It drives parallax, the typewriter, the Wish and CG pans, and the claw machine.Claw machine. It's play, not decoration, so it follows only the system preference (
useReducedMotion({ ambient: false }))..of-claw, so its game feedback still plays: the nudge shake, a prize tumbling out, a plush landing.Setup wizard.
Tests. New
tests/otome-forge-reduced-effects.regression.ts(5 tests) covers:The source-scan and blur tests fail on the old code.
tests/package-otome-forge-home.e2e.tsgains an assertion: with the flag on, Home's stars have no animation and the glass has no backdrop filter.Rebuilt
client.js, the manifest,artifacts/otome-forge-0.6.16.zipand the preview catalog entries.Package and security impact
otome-forgeValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
What the agent ran locally:
npx tsx --tsconfig tests/tsconfig.regressions.json --test "tests/otome-forge-*.regression.ts"passes 560/560, and the.mjsregressions pass 12/12.npm run format:checkandgit diff --checkpass.For a human to verify:
Documentation impact
UI evidence (if applicable)
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.