mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7825] [MERGED] fix(seasonal): one shared window for dated looks #7951
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#7951
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/7825
Author: @Gunterlie
Created: 10/19/2026
Status: ✅ Merged
Merged: 10/19/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/seasonal-window📝 Commits (1)
00f664efix(seasonal): share one dated window and check it every minute📊 Changes
9 files changed (+54 additions, -41 deletions)
View changed files
📝
e2e/mari-appearance-pack.e2e.ts(+2 -0)📝
packages/client/src/hooks/use-mari-appearance-pack.ts(+3 -1)📝
packages/client/src/hooks/use-seasonal-theme.ts(+16 -15)📝
packages/client/src/lib/mari-work-animations.ts(+10 -6)📝
packages/client/src/lib/seasonal-themes.ts(+5 -4)📝
packages/client/src/localization/locales/en.json(+1 -1)📝
packages/client/src/styles/themes/seasonal-halloween.css(+3 -2)📝
scripts/regressions/mari-appearance-pack.regression.mjs(+4 -3)📝
scripts/regressions/seasonal-themes.regression.ts(+10 -9)📄 Description
Release notes: leave this PR out of the changelog and the What's New text; it is a Halloween surprise.
Why
The seasonal theme and the dated Professor Mari pack used two different windows (one local day vs. four whole days). They should start and stop together: on at Oct 30 00:00 and off at Nov 1 12:00, device-local time. The theme hook also rounded the clock down to midnight, so a midday cutoff could never fire.
What changed
MariSeasonis now"MM-DD HH:mm"withfrominclusive andtoexclusive. OneHALLOWEEN_SEASONconstant drives both the seasonal theme (SEASONAL_THEMES) and the dated pack.useMinuteClock()(inuse-seasonal-theme.ts) ticks once a minute; the seasonal theme hook anduseMariAppearancePackboth use it, so the window opens and closes on time while the app stays open (previously the pack only re-checked on some other re-render).Validation
pnpm check: passed.seasonal-themes.regression.ts,mari-appearance-pack.regression.mjs: passed.e2e/mari-appearance-pack.e2e.ts+e2e/seasonal-halloween.e2e.ts(desktop-chromium): 4 passed.Manual verification
No linked issue: planned work.
@SpicyMarinara
Local CodeRabbit (2 minor findings, not changed)
page.clock.setFixedTime), so the seeded year always matches.Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.