[PR #1752] [MERGED] Restore home screen animations #5263

Closed
opened 2026-10-22 04:14:43 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1752
Author: @cha1latte
Created: 5/31/2026
Status: ✅ Merged
Merged: 5/31/2026
Merged by: @cha1latte

Base: refactor ← Head: restore/home-animations


📝 Commits (1)

📊 Changes

2 files changed (+48 additions, -8 deletions)

View changed files

📝 src/features/modes/router/components/ModeHomeSurface.tsx (+16 -5)
📝 src/styles/globals.css (+32 -3)

📄 Description

Linked issue

Closes #

Why this change

  • PR #1745 intentionally made the no-chat home screen static to prove that continuous WebView2 animation was contributing to idle CPU usage.
  • That fix reduced CPU, but it was a visual parity downgrade versus old staging, where the home screen could keep its branded ambient animation.
  • This revert restores the home animation behavior so the next performance pass can target the real high-CPU mode surfaces, especially Game Mode, without sacrificing home-screen flair as the final product direction.

What changed

  • Reverted PR #1745 / commit b46090b0.
  • Restored /logo-splash.gif on the home screen.
  • Restored the home logo pulse/glow, staggered quick-start cards, animated retro divider, title heartbeat, and twinkling ambient stars.

Refactor impact

Primary owner:

  • app shell / mode home surface

Impact areas reviewed:

  • no-chat home surface
  • global shell/home animation CSS
  • visual parity with pre-static home behavior

Boundary notes:

  • React/UI and CSS-only revert.
  • No engine, shared API, Rust/Tauri command, storage, schema, dependency, release, or version changes.

Pressure points touched:

  • ModeHomeSurface
  • global shell/home decor CSS

Validation

  • Matching validation command passes locally (for example pnpm typecheck, pnpm build, pnpm check:architecture, pnpm check:docs, or full pnpm check when warranted)
  • pnpm check passes locally before PR push/handoff, including the unused-code check
  • pnpm typecheck passes locally
  • pnpm build passes locally
  • pnpm check:architecture passes locally
  • pnpm check:docs passes locally
  • cargo check --manifest-path src-tauri/Cargo.toml --workspace passes locally
  • Rust clippy/tests were run for Rust behavior changes
  • Browser or Tauri app manual verification completed
  • Browser screenshot/recording evidence added when UI/browser state is the claim
  • Remote runtime smoke checked when relevant

Manual verification notes

  • Codex ran pnpm typecheck in a clean worktree.
  • Codex ran pnpm build in the same worktree. Build passed with existing warnings:
    • generated CSS minify warning for [file:line]
    • existing large chunk warning
  • Codex built the Windows pre-alpha Tauri artifact with pnpm tauri build --ci --no-sign --config src-tauri/tauri.prealpha.conf.json; first attempt failed with a generic Tauri wrapper error during the long Rust build, retry completed successfully and produced MSI/NSIS bundles.
  • Static/source verification confirms the restored home animation hooks:
    • /logo-splash.gif
    • animate-pulse-ring bunny-glow
    • stagger-children
    • retro-divider
    • mari-title-heartbeat
    • twinkle-glow
  • Packaged-app screenshot capture was attempted, but Windows captured the transparent Tauri shell/background rather than reliable WebView content, so no screenshot evidence is attached.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

UI evidence

  • No reliable screenshot attached; source/static verification and Tauri package build are the proof for this visual revert.

🔄 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/1752 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/31/2026 **Status:** ✅ Merged **Merged:** 5/31/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `refactor` ← **Head:** `restore/home-animations` --- ### 📝 Commits (1) - [`c106d3e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c106d3eb3faa32b9789c8efc16d5e5c89772bd19) Revert "Make home idle state static (#1745)" ### 📊 Changes **2 files changed** (+48 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `src/features/modes/router/components/ModeHomeSurface.tsx` (+16 -5) 📝 `src/styles/globals.css` (+32 -3) </details> ### 📄 Description ## Linked issue Closes # ## Why this change - PR #1745 intentionally made the no-chat home screen static to prove that continuous WebView2 animation was contributing to idle CPU usage. - That fix reduced CPU, but it was a visual parity downgrade versus old staging, where the home screen could keep its branded ambient animation. - This revert restores the home animation behavior so the next performance pass can target the real high-CPU mode surfaces, especially Game Mode, without sacrificing home-screen flair as the final product direction. ## What changed - Reverted PR #1745 / commit `b46090b0`. - Restored `/logo-splash.gif` on the home screen. - Restored the home logo pulse/glow, staggered quick-start cards, animated retro divider, title heartbeat, and twinkling ambient stars. ## Refactor impact Primary owner: - app shell / mode home surface Impact areas reviewed: - no-chat home surface - global shell/home animation CSS - visual parity with pre-static home behavior Boundary notes: - React/UI and CSS-only revert. - No engine, shared API, Rust/Tauri command, storage, schema, dependency, release, or version changes. Pressure points touched: - `ModeHomeSurface` - global shell/home decor CSS ## Validation - [ ] Matching validation command passes locally (for example `pnpm typecheck`, `pnpm build`, `pnpm check:architecture`, `pnpm check:docs`, or full `pnpm check` when warranted) - [ ] `pnpm check` passes locally before PR push/handoff, including the unused-code check - [ ] `pnpm typecheck` passes locally - [ ] `pnpm build` passes locally - [ ] `pnpm check:architecture` passes locally - [ ] `pnpm check:docs` passes locally - [ ] `cargo check --manifest-path src-tauri/Cargo.toml --workspace` passes locally - [ ] Rust clippy/tests were run for Rust behavior changes - [ ] Browser or Tauri app manual verification completed - [ ] Browser screenshot/recording evidence added when UI/browser state is the claim - [ ] Remote runtime smoke checked when relevant ### Manual verification notes - Codex ran `pnpm typecheck` in a clean worktree. - Codex ran `pnpm build` in the same worktree. Build passed with existing warnings: - generated CSS minify warning for `[file:line]` - existing large chunk warning - Codex built the Windows pre-alpha Tauri artifact with `pnpm tauri build --ci --no-sign --config src-tauri/tauri.prealpha.conf.json`; first attempt failed with a generic Tauri wrapper error during the long Rust build, retry completed successfully and produced MSI/NSIS bundles. - Static/source verification confirms the restored home animation hooks: - `/logo-splash.gif` - `animate-pulse-ring bunny-glow` - `stagger-children` - `retro-divider` - `mari-title-heartbeat` - `twinkle-glow` - Packaged-app screenshot capture was attempted, but Windows captured the transparent Tauri shell/background rather than reliable WebView content, so no screenshot evidence is attached. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [ ] Confirmed this PR does not restore old staging/package-workspace/release claims ## UI evidence - No reliable screenshot attached; source/static verification and Tauri package build are the proof for this visual revert. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:14:43 +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#5263
No description provided.