Skip to content

chore(shell): drop the Mid-Autumn egg and the Chinese dark mascot - #1061

Merged
vastsa merged 1 commit into
mainfrom
chore/remove-mid-autumn-easter-egg
Sep 25, 2026
Merged

vastsa merged 1 commit into
mainfrom
chore/remove-mid-autumn-easter-egg

Conversation

@vastsa

@vastsa vastsa commented Sep 25, 2026

Copy link
Copy Markdown
Owner

The Mid-Autumn festival window has passed, so the seasonal easter egg is
now dead weight: a hidden renderer overlay, a settings card, a
preference key, a Zustand store, two artwork files, a dedicated test
file and copy in nine locale catalogs. This removes that whole path
rather than shipping a dormant feature.

The Chinese dark home mascot only restated the plain dark artwork for
zh locales. Dropping the dedicated GIF and still PNG makes the mascot
selection theme-driven again: Chinese dark mode falls back to the
existing dark pair, while the light and dark artwork stay untouched.

ADR 0152, the EN/CN UX specs and the E2E scenarios are restored to
describe the behavior the code now implements.

Validation (task worktree, base origin/main 9476456):

  • pnpm --filter @pi-desktop/desktop typecheck
  • node --test test/*.test.mjs in apps/desktop — 2841 pass / 0 fail
  • pnpm --filter @pi-desktop/i18n test — 27 pass
  • pnpm lint:biome, scripts/check-style-tokens.mjs, pnpm docs:check — clean
  • electron-vite build — bundle keeps only the light/dark mascot assets
  • repo-wide grep for dark-zh|mid-autumn|easterEgg|彩蛋|30 帧 — no hits

The festival window had passed, so the seasonal easter egg held no
remaining value: it kept a hidden renderer overlay, a settings card, a
preference key, a store, dedicated assets and tests alive across nine
locale catalogs. Deleting them removes a dormant code path instead of
shipping a feature nobody triggers.

The Chinese dark home mascot only restated the plain dark artwork for
`zh` locales. Removing the dedicated GIF and still makes the mascot
selection theme-driven, so Chinese dark mode falls back to the existing
dark pair while the light and dark artwork stay untouched.

ADR 0152, the EN/CN UX specs and the E2E scenarios now describe the
behavior the code implements.
Copilot AI lite review requested due to automatic review settings September 25, 2026 13:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vastsa
vastsa merged commit bd48416 into main Sep 25, 2026
4 checks passed
@vastsa
vastsa deleted the chore/remove-mid-autumn-easter-egg branch September 25, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants