[GH-ISSUE #4366] [Issue]: Spatial-only World Maps turn renders a blank user message bubble #2368

Closed
opened 2026-10-21 05:47:40 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @thetopham on GitHub (Jul 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4366

Originally assigned to: @thetopham on GitHub.

Summary

Submitting an empty Roleplay message while a World Maps location transition is queued creates a visible blank user-message bubble. Submitting the same empty message without a location update correctly requests another assistant response without adding the blank bubble.

Expected behavior

  • A spatial-only owner turn should retain whatever hidden message/snapshot anchor is required for atomic location history.
  • The client should not render an empty user bubble when the turn has no visible text or attachment.
  • Optimistic rendering and the persisted/refetched message should agree, so the blank bubble does not appear temporarily or permanently.
  • Empty generation without a spatial transition should retain its current behavior.
  • Roleplay and Game should preserve movement idempotency and history even if their visible treatment differs.

Actual behavior

  • Empty message without a pending location transition: no blank user bubble.
  • Empty message with a pending World Maps location transition: a small blank user bubble appears.
  • The bubble represents no user-authored text and adds visual noise to the roleplay transcript.

Steps to reproduce

  1. Install or update World Maps to v1.2.3 on Marinara Engine v2.3.5.
  2. Open a Roleplay chat with an enabled map.
  3. Select a reachable destination so a location change is queued.
  4. Leave the message composer empty and submit the turn.
  5. Observe the blank user-message bubble.
  6. Repeat with no location transition queued.
  7. Observe that no equivalent blank bubble is shown.

Environment

  • Marinara Engine version: v2.3.5
  • Engine build: a121d12
  • World Maps package version: v1.2.3
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Screenshots were provided in the original beta-review conversation but are not attached to this issue yet.

Additional context

This appears Engine-owned. The generation hook treats a pending spatial transition as sufficient to insert an optimistic user message even when userMessage is empty, and the server's atomic owner-turn path persists an empty-content user message as the transition anchor. The renderer then displays the message bubble.

The fix should hide or semantically mark spatial-only anchors without removing the persisted message/snapshot relationship required by history, branching, swipes, or idempotency.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @thetopham on GitHub (Jul 31, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4366 Originally assigned to: @thetopham on GitHub. ## Summary Submitting an empty Roleplay message while a World Maps location transition is queued creates a visible blank user-message bubble. Submitting the same empty message without a location update correctly requests another assistant response without adding the blank bubble. ## Expected behavior - A spatial-only owner turn should retain whatever hidden message/snapshot anchor is required for atomic location history. - The client should not render an empty user bubble when the turn has no visible text or attachment. - Optimistic rendering and the persisted/refetched message should agree, so the blank bubble does not appear temporarily or permanently. - Empty generation without a spatial transition should retain its current behavior. - Roleplay and Game should preserve movement idempotency and history even if their visible treatment differs. ## Actual behavior - Empty message without a pending location transition: no blank user bubble. - Empty message with a pending World Maps location transition: a small blank user bubble appears. - The bubble represents no user-authored text and adds visual noise to the roleplay transcript. ## Steps to reproduce 1. Install or update World Maps to v1.2.3 on Marinara Engine v2.3.5. 2. Open a Roleplay chat with an enabled map. 3. Select a reachable destination so a location change is queued. 4. Leave the message composer empty and submit the turn. 5. Observe the blank user-message bubble. 6. Repeat with no location transition queued. 7. Observe that no equivalent blank bubble is shown. ## Environment - Marinara Engine version: v2.3.5 - Engine build: a121d12 - World Maps package version: v1.2.3 - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Screenshots were provided in the original beta-review conversation but are not attached to this issue yet. ## Additional context This appears Engine-owned. The generation hook treats a pending spatial transition as sufficient to insert an optimistic user message even when `userMessage` is empty, and the server's atomic owner-turn path persists an empty-content user message as the transition anchor. The renderer then displays the message bubble. The fix should hide or semantically mark spatial-only anchors without removing the persisted message/snapshot relationship required by history, branching, swipes, or idempotency. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@thetopham commented on GitHub (Jul 31, 2026):

I am starting this on branch fix/spatial-only-blank-message-4366 from current origin/staging. The fix boundary is transcript visibility only: preserve the persisted spatial transition anchor and snapshot linkage, while suppressing a contentless user row only when it has no visible text or attachment. I will open a draft PR as soon as the first verified patch is pushed.

<!-- gh-comment-id:5147355856 --> @thetopham commented on GitHub (Jul 31, 2026): I am starting this on branch fix/spatial-only-blank-message-4366 from current origin/staging. The fix boundary is transcript visibility only: preserve the persisted spatial transition anchor and snapshot linkage, while suppressing a contentless user row only when it has no visible text or attachment. I will open a draft PR as soon as the first verified patch is pushed.
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#2368
No description provided.