[PR #7826] [CLOSED] feat(theme): keep the Halloween look from October 30 to November 1 #7952

Closed
opened 2026-10-24 04:09:06 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7826
Author: @SpicyMarinara
Created: 10/19/2026
Status: ❌ Closed

Base: staging ← Head: feat/halloween-three-days


📝 Commits (1)

  • 94bafd7 feat(theme): keep the Halloween look from October 30 to November 1

📊 Changes

5 files changed (+51 additions, -31 deletions)

View changed files

📝 e2e/seasonal-halloween.e2e.ts (+5 -4)
📝 packages/client/src/lib/seasonal-themes.ts (+10 -4)
📝 packages/client/src/localization/locales/en.json (+1 -1)
📝 packages/client/src/styles/themes/seasonal-halloween.css (+2 -2)
📝 scripts/regressions/seasonal-themes.regression.ts (+33 -20)

📄 Description

Release notes: leave this PR out of the changelog and the What's New text; it is a Halloween surprise.

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

No linked issue. This is a maintainer request (Mari, relaying the devs) that follows up on #7811. Open an issue first if it should be tracked separately.

Why this change

  • The devs want the Halloween look to last from October 30 to November 1, not only on October 31. One day is easy to miss.
  • The greeting said the costume comes off "tomorrow". With a three-day window that is wrong on October 30 and 31.

What changed

  • packages/client/src/lib/seasonal-themes.ts: Halloween is now on from October 30 00:00 to November 1 23:59, local time on the device. The greeting and "Turn it off" are still recorded per year, so the greeting shows once per window and "Turn it off" covers the rest of that year's window. A ponytail: comment notes that a future window must not cross New Year, because of that per-year record.
  • en.json: only the first sentence of seasonalThemes.halloween.greetingDetails changed, from "The costume comes off by itself tomorrow." to "The costume comes off by itself after November 1." No other bundled locale has this key.
  • seasonal-halloween.css: the header comment now gives the new dates. No style changes.
  • scripts/regressions/seasonal-themes.regression.ts: checks Oct 29 23:59 off, Oct 30 00:00 on, Nov 1 23:59 on, Nov 2 00:00 off. Also checks one greeting across all three days, "Turn it off" lasting the whole window and resetting the next year, and time zone edges at both ends (Honolulu vs UTC on the last evening, Tokyo vs UTC on the first morning).
  • e2e/seasonal-halloween.e2e.ts: the dated test now starts on October 30, then moves the clock to November 1 and reloads. The theme is still on and the greeting does not come back.

Related: #7819 (Gunterlie's dated Professor Mari packs) has its own window. The raccoon pack's season is { from: "10-29", to: "11-01" } in packages/client/src/lib/mari-work-animations.ts, so it starts one day before this theme. It may want to match (10-30). This PR does not change it.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Agent-run checks (for the reviewer to confirm, not ticked above):

  • pnpm check exited 0 (one existing ESLint warning in HomeProfessorMariChat.tsx, not touched here).
  • node ./scripts/run-regressions.mjs --filter scripts/regressions/seasonal-themes.regression.ts passed.
  • playwright test e2e/seasonal-halloween.e2e.ts --project=desktop-chromium --repeat-each=2: 4/4 passed. On two earlier runs, while the machine was under heavy load (load average about 60), the preview test I did not change failed once each: Home stayed on "Loading..." past the 10 s expect timeout. It passed once load dropped.
  • Not run: the mobile project, Docker, or a manual browser pass.

Manual verification notes

  • Manually verify with the system clock (or browser clock override) set to October 30: the Halloween theme is on and the greeting shows once.
  • Manually verify on October 31 and November 1 the theme stays on and the greeting does not come back.
  • Manually verify that "Turn it off" on October 30 keeps the theme off on October 31 and November 1.
  • Manually verify that on November 2 the theme is gone.
  • Manually verify the greeting text reads "The costume comes off by itself after November 1." in light and dark mode.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

No docs, changelog or What's New changes on purpose: this is a surprise.

UI evidence (if applicable)

The only UI change is the one greeting sentence above.

Summary by CodeRabbit

  • Seasonal Themes
    • The Halloween theme is now available from October 30 through November 1, based on your device’s local date.
    • The Halloween greeting can appear during this three-day window, and you can still turn the theme off in Settings.
    • Greeting details now say the costume comes off after November 1.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/7826 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/19/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `feat/halloween-three-days` --- ### 📝 Commits (1) - [`94bafd7`](https://github.com/Pasta-Devs/Marinara-Engine/commit/94bafd75271c03c546d50d5a744594fbeb1e9722) feat(theme): keep the Halloween look from October 30 to November 1 ### 📊 Changes **5 files changed** (+51 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `e2e/seasonal-halloween.e2e.ts` (+5 -4) 📝 `packages/client/src/lib/seasonal-themes.ts` (+10 -4) 📝 `packages/client/src/localization/locales/en.json` (+1 -1) 📝 `packages/client/src/styles/themes/seasonal-halloween.css` (+2 -2) 📝 `scripts/regressions/seasonal-themes.regression.ts` (+33 -20) </details> ### 📄 Description Release notes: leave this PR out of the changelog and the What's New text; it is a Halloween surprise. > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue No linked issue. This is a maintainer request (Mari, relaying the devs) that follows up on #7811. Open an issue first if it should be tracked separately. ## Why this change - The devs want the Halloween look to last from October 30 to November 1, not only on October 31. One day is easy to miss. - The greeting said the costume comes off "tomorrow". With a three-day window that is wrong on October 30 and 31. ## What changed - `packages/client/src/lib/seasonal-themes.ts`: Halloween is now on from October 30 00:00 to November 1 23:59, local time on the device. The greeting and "Turn it off" are still recorded per year, so the greeting shows once per window and "Turn it off" covers the rest of that year's window. A `ponytail:` comment notes that a future window must not cross New Year, because of that per-year record. - `en.json`: only the first sentence of `seasonalThemes.halloween.greetingDetails` changed, from "The costume comes off by itself tomorrow." to "The costume comes off by itself after November 1." No other bundled locale has this key. - `seasonal-halloween.css`: the header comment now gives the new dates. No style changes. - `scripts/regressions/seasonal-themes.regression.ts`: checks Oct 29 23:59 off, Oct 30 00:00 on, Nov 1 23:59 on, Nov 2 00:00 off. Also checks one greeting across all three days, "Turn it off" lasting the whole window and resetting the next year, and time zone edges at both ends (Honolulu vs UTC on the last evening, Tokyo vs UTC on the first morning). - `e2e/seasonal-halloween.e2e.ts`: the dated test now starts on October 30, then moves the clock to November 1 and reloads. The theme is still on and the greeting does not come back. Related: #7819 (Gunterlie's dated Professor Mari packs) has its own window. The raccoon pack's `season` is `{ from: "10-29", to: "11-01" }` in `packages/client/src/lib/mari-work-animations.ts`, so it starts one day before this theme. It may want to match (`10-30`). This PR does not change it. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` Agent-run checks (for the reviewer to confirm, not ticked above): - `pnpm check` exited 0 (one existing ESLint warning in `HomeProfessorMariChat.tsx`, not touched here). - `node ./scripts/run-regressions.mjs --filter scripts/regressions/seasonal-themes.regression.ts` passed. - `playwright test e2e/seasonal-halloween.e2e.ts --project=desktop-chromium --repeat-each=2`: 4/4 passed. On two earlier runs, while the machine was under heavy load (load average about 60), the preview test I did not change failed once each: Home stayed on "Loading..." past the 10 s expect timeout. It passed once load dropped. - Not run: the mobile project, Docker, or a manual browser pass. ### Manual verification notes - Manually verify with the system clock (or browser clock override) set to October 30: the Halloween theme is on and the greeting shows once. - Manually verify on October 31 and November 1 the theme stays on and the greeting does not come back. - Manually verify that "Turn it off" on October 30 keeps the theme off on October 31 and November 1. - Manually verify that on November 2 the theme is gone. - Manually verify the greeting text reads "The costume comes off by itself after November 1." in light and dark mode. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) No docs, changelog or What's New changes on purpose: this is a surprise. ## UI evidence (if applicable) The only UI change is the one greeting sentence above. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Seasonal Themes** * The Halloween theme is now available from October 30 through November 1, based on your device’s local date. * The Halloween greeting can appear during this three-day window, and you can still turn the theme off in Settings. * Greeting details now say the costume comes off after November 1. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:09:06 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7952
No description provided.