[PR #1746] [MERGED] Add game startup entrypoint for notification shell #5257

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

📋 Pull Request Information

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

Base: refactor ← Head: feat/issue-1575-startup-entrypoints


📝 Commits (1)

  • 7beaf29 Add game startup entrypoint

📊 Changes

2 files changed (+7 additions, -2 deletions)

View changed files

➕ src/features/modes/game/startup.ts (+5 -0)
📝 src/features/shell/notifications/components/ChatNotificationBubbles.tsx (+2 -2)

📄 Description

Linked issue

Closes #1575

Why this change

  • Shell notification bubbles still imported useGameModeStore through the broad game mode barrel, which can couple notification startup code to game route/runtime exports that should stay behind lazy mode boundaries.

What changed

  • Added a narrow game-owned startup entrypoint for the game setup-active action.
  • Updated chat notification bubbles to import that focused entrypoint instead of features/modes/game.

Refactor impact

Primary owner:

App shell and game mode startup boundaries.

Impact areas reviewed:

  • Chat notification navigation.
  • Game mode public entrypoints.
  • AppShell startup import boundaries already narrowed by the prior chat-side entrypoint work.

Boundary notes:

  • UI code remains in src/features.
  • No engine, shared API, Rust command, storage, or remote runtime behavior changes.
  • The new entrypoint exposes an existing game store selector without creating a new broad compatibility barrel.

Pressure points touched:

  • src/features/shell/notifications/components/ChatNotificationBubbles.tsx
  • src/features/modes/game/startup.ts

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 check
  • pnpm build

pnpm build passed. It still reports the broader existing Vite large-chunk warning, which remains tracked by the broader chunk strategy issues. No browser/Tauri manual smoke was run for notification navigation.

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

No docs changes needed; this is an internal import-boundary cleanup.

UI evidence

N/A. This changes startup import boundaries, not intended visuals.


🔄 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/1746 **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:** `feat/issue-1575-startup-entrypoints` --- ### 📝 Commits (1) - [`7beaf29`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7beaf29a0ae96d57d4fe7eeb336f38cf734b40fc) Add game startup entrypoint ### 📊 Changes **2 files changed** (+7 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `src/features/modes/game/startup.ts` (+5 -0) 📝 `src/features/shell/notifications/components/ChatNotificationBubbles.tsx` (+2 -2) </details> ### 📄 Description <!-- Target branch: `refactor`. Change the base to `refactor` before submitting unless a maintainer explicitly asked for another base. --> <!-- Keep all checkboxes unchecked until a human has actually verified them. --> ## Linked issue Closes #1575 ## Why this change - Shell notification bubbles still imported `useGameModeStore` through the broad game mode barrel, which can couple notification startup code to game route/runtime exports that should stay behind lazy mode boundaries. ## What changed - Added a narrow game-owned startup entrypoint for the game setup-active action. - Updated chat notification bubbles to import that focused entrypoint instead of `features/modes/game`. ## Refactor impact Primary owner: App shell and game mode startup boundaries. Impact areas reviewed: - Chat notification navigation. - Game mode public entrypoints. - AppShell startup import boundaries already narrowed by the prior chat-side entrypoint work. Boundary notes: - UI code remains in `src/features`. - No engine, shared API, Rust command, storage, or remote runtime behavior changes. - The new entrypoint exposes an existing game store selector without creating a new broad compatibility barrel. Pressure points touched: - `src/features/shell/notifications/components/ChatNotificationBubbles.tsx` - `src/features/modes/game/startup.ts` ## Validation <!-- Check only what you personally ran or manually verified. Treat unchecked items as explicit TODOs. --> - [ ] 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 check` - `pnpm build` `pnpm build` passed. It still reports the broader existing Vite large-chunk warning, which remains tracked by the broader chunk strategy issues. No browser/Tauri manual smoke was run for notification navigation. ## 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 No docs changes needed; this is an internal import-boundary cleanup. ## UI evidence N/A. This changes startup import boundaries, not intended visuals. --- <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:40 +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#5257
No description provided.