mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #456] [Issue]: Mobile map — Set destination button missing for unknown adjacent locations #204
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#204
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Environment
Logs, screenshots, or video
Reproduced on a mobile viewport against a fork of
mainat v1.5.8. No console errors — the footer simply does not render because its outer conditional gates onselectedNodeData.discovered.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 innercanTravelcheck already permits travel to undiscovered adjacent nodes, but is unreachable because the outerdiscoveredgate hides the entire footer. Desktop (GameMapPanel) is unaffected because it callsonMoveimmediately on click rather than using the mobile two-step select-then-confirm flow.A PR with the fix is incoming.
Template check