[PR #1902] [MERGED] Route scene UI through public entrypoint #5340

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1902
Author: @Xelvanis
Created: 6/2/2026
Status: ✅ Merged
Merged: 6/2/2026
Merged by: @Xelvanis

Base: refactor ← Head: architecture/scene-ui-entrypoint


📝 Commits (1)

  • 1e96549 Route scene UI through public entrypoint

📊 Changes

4 files changed (+13 additions, -10 deletions)

View changed files

📝 src/features/modes/conversation/components/ConversationView.tsx (+1 -1)
📝 src/features/modes/roleplay/components/ChatRoleplaySurface.tsx (+1 -1)
📝 src/features/modes/shared/scene-ui/SceneBanner.tsx (+10 -8)
➕ src/features/modes/shared/scene-ui/index.ts (+1 -0)

📄 Description

Linked issue

N/A - local architecture chore only; no public issue.

Why this change

  • Shared scene UI was being consumed through the concrete SceneBanner file path instead of a package-level public entrypoint.
  • This keeps conversation and roleplay scene UI imports aligned with the repo boundary rule for curated public feature APIs.

What changed

  • Added src/features/modes/shared/scene-ui/index.ts as the public scene UI entrypoint.
  • Routed conversation and roleplay scene UI imports through ../../shared/scene-ui.
  • Extracted the inline EndSceneBar props shape into a local interface while preserving behavior.

Refactor impact

Primary owner:

shared mode UI (src/features/modes/shared/scene-ui)

Impact areas reviewed:

  • Conversation scene banner and end-scene bar imports.
  • Roleplay scene banner and end-scene bar imports.
  • Shared mode UI ownership boundary.

Boundary notes:

  • Feature-only import cleanup; no engine, shared API, Rust, storage, provider, or remote-runtime boundary touched.
  • No direct concrete-mode imports were added.

Pressure points touched:

  • Shared mode UI entrypoint only.

Validation

  • Matching validation command passes locally (for example pnpm typecheck, pnpm build, pnpm check:architecture, pnpm check:docs, or full pnpm check when warranted)
  • Full pnpm check passes before PR push/handoff
  • Human/manual validation completed by contributor or reviewer

Manual verification notes

  • pnpm typecheck passed.
  • pnpm check:architecture passed.
  • pnpm build passed; Vite reported the existing large GameSurface chunk warning.
  • pnpm check passed after removing unused public type exports caught by Knip.
  • rg "scene-ui/SceneBanner" src found no remaining private scene UI imports.
  • Bunny-style review found no confirmed findings.

Feature Discoverability

Check exactly one:

  • Updated src/features/shell/discovery/ because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.
  • N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find.

Reason:

  • Internal architecture/import cleanup only; no user-discoverable behavior changed.

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, changelog, or release notes needed because this is internal feature import wiring with no user-facing behavior change.

UI evidence

No screenshots or recordings; UI behavior is intended unchanged and validation is static/build-based.

Summary by CodeRabbit

  • Refactor
    • Internal code organization improvements with no impact on user-facing functionality.

🔄 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/1902 **Author:** [@Xelvanis](https://github.com/Xelvanis) **Created:** 6/2/2026 **Status:** ✅ Merged **Merged:** 6/2/2026 **Merged by:** [@Xelvanis](https://github.com/Xelvanis) **Base:** `refactor` ← **Head:** `architecture/scene-ui-entrypoint` --- ### 📝 Commits (1) - [`1e96549`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1e96549bc6e4de1cd15675445f0e6f9b9e42caba) Route scene UI through public entrypoint ### 📊 Changes **4 files changed** (+13 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `src/features/modes/conversation/components/ConversationView.tsx` (+1 -1) 📝 `src/features/modes/roleplay/components/ChatRoleplaySurface.tsx` (+1 -1) 📝 `src/features/modes/shared/scene-ui/SceneBanner.tsx` (+10 -8) ➕ `src/features/modes/shared/scene-ui/index.ts` (+1 -0) </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 N/A - local architecture chore only; no public issue. ## Why this change - Shared scene UI was being consumed through the concrete `SceneBanner` file path instead of a package-level public entrypoint. - This keeps conversation and roleplay scene UI imports aligned with the repo boundary rule for curated public feature APIs. ## What changed - Added `src/features/modes/shared/scene-ui/index.ts` as the public scene UI entrypoint. - Routed conversation and roleplay scene UI imports through `../../shared/scene-ui`. - Extracted the inline `EndSceneBar` props shape into a local interface while preserving behavior. ## Refactor impact Primary owner: shared mode UI (`src/features/modes/shared/scene-ui`) Impact areas reviewed: - Conversation scene banner and end-scene bar imports. - Roleplay scene banner and end-scene bar imports. - Shared mode UI ownership boundary. Boundary notes: - Feature-only import cleanup; no engine, shared API, Rust, storage, provider, or remote-runtime boundary touched. - No direct concrete-mode imports were added. Pressure points touched: - Shared mode UI entrypoint only. ## Validation <!-- Check only what you personally ran or manually verified. Treat unchecked items as explicit TODOs. --> <!-- Do not submit *.test.ts or *.test.tsx files as PR proof; cite existing checks, command output, app/browser/Tauri verification, or manual notes instead. --> - [x] Matching validation command passes locally (for example `pnpm typecheck`, `pnpm build`, `pnpm check:architecture`, `pnpm check:docs`, or full `pnpm check` when warranted) - [x] Full `pnpm check` passes before PR push/handoff - [ ] Human/manual validation completed by contributor or reviewer ### Manual verification notes - `pnpm typecheck` passed. - `pnpm check:architecture` passed. - `pnpm build` passed; Vite reported the existing large `GameSurface` chunk warning. - `pnpm check` passed after removing unused public type exports caught by Knip. - `rg "scene-ui/SceneBanner" src` found no remaining private scene UI imports. - Bunny-style review found no confirmed findings. ## Feature Discoverability Check exactly one: - [ ] Updated `src/features/shell/discovery/` because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool. - [x] N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find. Reason: - Internal architecture/import cleanup only; no user-discoverable behavior changed. ## Docs and release impact - [x] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [x] Confirmed this PR does not restore old staging/package-workspace/release claims No docs, changelog, or release notes needed because this is internal feature import wiring with no user-facing behavior change. ## UI evidence No screenshots or recordings; UI behavior is intended unchanged and validation is static/build-based. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Internal code organization improvements with no impact on user-facing functionality. <!-- 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-22 04:15:22 +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#5340
No description provided.