mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7835] [MERGED] feat(mari): dressed-up Mari follows the Halloween turn-off and preview #7961
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7961
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-Engine/pull/7835
Author: @SpicyMarinara
Created: 10/19/2026
Status: ✅ Merged
Merged: 10/19/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/mari-pack-follows-theme📝 Commits (3)
d83b5cefeat(mari): dressed-up Mari follows the Halloween turn-off and preview86ffae4test(mari): fix platform shortcuts and saved settings fixtures163f5d1Merge branch 'staging' into feat/mari-pack-follows-theme📊 Changes
12 files changed (+388 additions, -141 deletions)
View changed files
📝
e2e/mari-appearance-pack.e2e.ts(+137 -24)📝
e2e/seasonal-halloween.e2e.ts(+8 -0)📝
packages/client/src/components/chat/mari/use-mari-workspace-run.ts(+2 -10)📝
packages/client/src/components/layout/omnibar/OmnibarSettingsMenu.tsx(+5 -6)📝
packages/client/src/hooks/use-mari-appearance-pack.ts(+3 -8)📝
packages/client/src/hooks/use-seasonal-theme.ts(+9 -28)📝
packages/client/src/lib/mari-work-animations.ts(+19 -33)📝
packages/client/src/lib/seasonal-themes.ts(+44 -1)📝
packages/client/src/main.tsx(+5 -7)📝
packages/client/src/stores/ui.store.ts(+56 -7)📝
scripts/regressions/mari-appearance-pack.regression.mjs(+59 -15)📝
scripts/regressions/seasonal-themes.regression.ts(+41 -2)📄 Description
Release notes: leave this PR out of the changelog and the What's New text; it is a Halloween surprise.
Linked issue
No linked issue. This is a follow-up the maintainer asked for to #7819 (dated appearance packs) and #7825 (one shared window for dated looks), both by @Gunterlie and both merged. If an issue is wanted for tracking, it should be opened before this is merged.
Why this change
?seasonalPreview=halloweenlink also showed the theme without the costume, so the preview could not show what users will see.What changed
When you press "Turn it off" in the Halloween greeting, Professor Mari's raccoon costume comes off along with the theme. That lasts for this year only, so both come back next Halloween.
The
?seasonalPreview=halloweenlink now shows Professor Mari in costume on any date, and the preview's own "Turn it off" removes the costume along with the theme.In a preview, picking another outfit works for that page only, the same way the preview's greeting and "Turn it off" are never saved. Trying the preview never opts you out of the real Halloween costume. The outfit you pick is still saved as your own choice, as before.
Unchanged: the shared October 30 00:00 to November 1 12:00 window, the Settings toggle, and picking another outfit during Halloween (that pick wins for the rest of that year's Halloween).
Under the hood:
season: "halloween") instead of carrying its own dates.shownMariAppearancePackhelper inui.store.ts. That helper reads the theme's own decision,seasonalThemeForinlib/seasonal-themes.ts, whichuseSeasonalThemeuses too.seasonalPreview) so Mari can see them. That field and the preview's outfit opt-out (mariSeasonPreviewOptOut) are never saved or synced.HALLOWEEN_SEASON,MariSeasonandisInMariSeasonmoved unchanged frommari-work-animations.tstoseasonal-themes.ts, which is now their only user. This also lets the plain-Node.mjsregression load the theme module.Browser fixtures use the app's platform check for Cmd+K/Ctrl+K, clear the previous project's synced settings before seeding Golden, and wait for the server to save a selection or greeting before the existing reload assertions.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdThe agent ran these locally (the boxes above are left for a human):
pnpm checkat86ffae48c7a1416538465cf711ed8c29eb6235cb: exit 0; one existingHomeProfessorMariChat.tsxdependency warning remains.d83b5ce685c4639b76dc822b1d09dc6f4c40da4f(the follow-up changes only browser fixtures):node scripts/run-regressions.mjs --filterformari-appearance-pack.regression.mjs,seasonal-themes.regression.ts,command-center.regression.tsandmari/work-card-timing.regression.ts: all passed.seasonalThemeForignore this year's "Turn it off" fails the pack regression.pnpm exec playwright test e2e/mari-appearance-pack.e2e.ts e2e/seasonal-halloween.e2e.ts --workers=1at86ffae48c7a1416538465cf711ed8c29eb6235cb: all 18 passed, 6 each in desktop Chromium, mobile Chromium and mobile WebKit, using isolated app servers.Browser fixture proof boundary
The fixed browser clock gives successive edits identical sync timestamps. Captured requests show an older saved value and a greeting write aborted by reload with the same timestamp; the mobile projects also share a server, so an October setting could override a June seed. The fixtures now clear that prior server state and confirm the expected server value before reloading. Every original availability, selection, image, reload and preview assertion remains. This proves reload after a confirmed save; it does not claim new sync behavior or prove an immediate real-time reload before a save finishes.
Manual verification notes
/?seasonalPreview=halloweenon a normal day shows Mari in the raccoon costume, that picking Safari in the omnibar works on that page, and that after a reload without the link the saved choice is Safari and nothing records a Halloween opt-out.Completed aggregate local review
d3a4c0ee41a2ab90dfba454e2049d436d03deb0dagainst staging9565a274111ac251ade43f7a2f1f8436a16b7a86. All 26 changed files were reviewed: #7835 at163f5d11e820460e2624a2c5797c74ae51ba0062, #7836 at829b16aa7fe6d1be6b4e5fc922fbfe0fcebf5077, and #7838 atacc5ae52b3cbcdae22cda3a6fbb664008910b288.docs/installation/containers.md: add translation tracking. Dismissed because open #7839 already names that guide in its title and body and describes the changed update/rollback guidance. #7838 already links it under Linked issue and Docs and release impact. No local findings remain unresolved.Completed hosted review
163f5d11e820460e2624a2c5797c74ae51ba0062: the assessment and final risk coverage both name that commit, withkind: reviewed.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)There are no docs, changelog or What's New changes on purpose: it is a Halloween surprise.
UI evidence (if applicable)
No screenshots: the new behavior is covered by the Playwright checks listed above.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.