[GH-ISSUE #456] [Issue]: Mobile map — Set destination button missing for unknown adjacent locations #204

Closed
opened 2026-10-20 17:26:13 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Romuromylus on GitHub (May 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/456

Summary

On mobile, tapping an unknown ("?") location on a node-graph map selects it (blue ring appears) but the bottom footer with the Set destination button never renders, so mobile players cannot travel to undiscovered adjacent nodes through the map UI. Desktop is unaffected.

Expected behavior

Tapping an unknown location that is adjacent to the current node should reveal the same selection footer that appears for discovered locations, with a working Set destination button (and a generic "Unknown location" label, matching the on-map ❓ treatment).

Actual behavior

Selection ring appears around the unknown node, but no footer/destination button is shown — the user has no way to travel there from the map.

Steps to reproduce

  1. On a mobile viewport, open a Game Mode chat that has a node-graph map with at least one undiscovered node adjacent to the party's current location.
  2. Open the mobile map (top-left map icon).
  3. Tap a discovered adjacent location → footer appears with Set destination button. ✅
  4. Tap an undiscovered ("?") adjacent location → blue selection ring appears, no footer, no button. ❌

Environment

  • Marinara Engine version: 1.5.8
  • Install type: source (Docker / EasyPanel build from fork)
  • OS + version: Android (Chrome browser)
  • Browser or app shell: Chrome on Android

Logs, screenshots, or video

Reproduced on a mobile viewport against a fork of main at v1.5.8. No console errors — the footer simply does not render because its outer conditional gates on selectedNodeData.discovered.

Image Image

Additional context

Root cause is in packages/client/src/components/game/GameMap.tsx (MobileMapButton): the selected-node footer is wrapped in {selectedNodeData && selectedNodeData.discovered && (...)}. The inner canTravel check already permits travel to undiscovered adjacent nodes, but is unreachable because the outer discovered gate hides the entire footer. Desktop (GameMapPanel) is unaffected because it calls onMove immediately on click rather than using the mobile two-step select-then-confirm flow.

A PR with the fix is incoming.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Romuromylus on GitHub (May 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/456 ## Summary On mobile, tapping an unknown ("?") location on a node-graph map selects it (blue ring appears) but the bottom footer with the **Set destination** button never renders, so mobile players cannot travel to undiscovered adjacent nodes through the map UI. Desktop is unaffected. ## Expected behavior Tapping an unknown location that is adjacent to the current node should reveal the same selection footer that appears for discovered locations, with a working **Set destination** button (and a generic "Unknown location" label, matching the on-map ❓ treatment). ## Actual behavior Selection ring appears around the unknown node, but no footer/destination button is shown — the user has no way to travel there from the map. ## Steps to reproduce 1. On a mobile viewport, open a Game Mode chat that has a node-graph map with at least one undiscovered node adjacent to the party's current location. 2. Open the mobile map (top-left map icon). 3. Tap a discovered adjacent location → footer appears with **Set destination** button. ✅ 4. Tap an undiscovered ("?") adjacent location → blue selection ring appears, no footer, no button. ❌ ## Environment - Marinara Engine version: 1.5.8 - Install type: source (Docker / EasyPanel build from fork) - OS + version: Android (Chrome browser) - Browser or app shell: Chrome on Android ## Logs, screenshots, or video Reproduced on a mobile viewport against a fork of `main` at v1.5.8. No console errors — the footer simply does not render because its outer conditional gates on `selectedNodeData.discovered`. <img width="710" height="1226" alt="Image" src="https://github.com/user-attachments/assets/3b6a2f85-0ee9-457a-9406-7af95573ac00" /> <img width="705" height="1212" alt="Image" src="https://github.com/user-attachments/assets/d97e8e44-9ad4-446d-bf24-c4ef7859ad11" /> ## Additional context Root cause is in `packages/client/src/components/game/GameMap.tsx` (`MobileMapButton`): the selected-node footer is wrapped in `{selectedNodeData && selectedNodeData.discovered && (...)}`. The inner `canTravel` check already permits travel to undiscovered adjacent nodes, but is unreachable because the outer `discovered` gate hides the entire footer. Desktop (`GameMapPanel`) is unaffected because it calls `onMove` immediately on click rather than using the mobile two-step select-then-confirm flow. A PR with the fix is incoming. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:26:13 +07:00
  • closed this issue
  • added the
    bug
    label
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#204
No description provided.