[GH-ISSUE #243] [Feature]: Show incoming and two-way Direct Links from either location #123

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

Originally created by @thetopham on GitHub (Aug 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/243

Originally assigned to: @thetopham on GitHub.

What problem does this solve?

World Maps Direct Links are currently only visible and editable from the location where the link was created. Even a two-way link between Location A and Location B may be absent from Location B's inspector, so the creator has to remember which endpoint owns the link before they can inspect, edit, rename, or remove it.

This is manageable when both locations are siblings on the same local map, because the line reveals that a connection exists. It becomes difficult to audit when a link crosses hierarchy levels or connects a deeply nested location to a distant location. For example:

  • Knowhere and Sol System are linked, but the link can only be managed after selecting Knowhere.
  • A hangar inside Xavier's Institute can link to Sol System, but selecting Sol System gives no indication that the incoming connection exists.

The result is that valid connections can become effectively hidden during map editing.

Proposed solution

Show every Direct Link relationship from both endpoint locations while preserving its direction:

  • Two-way links: Show the same relationship as a fully editable Direct Link in both locations. Editing its label, presentation, direction, or other shared settings from either endpoint should update the single underlying relationship. Unlinking it from either endpoint should remove the relationship for both.
  • One-way links: Keep the source link editable as an outgoing connection. Also show it on the target as an incoming connection with an explicit direction label/icon, the source location name or path, and a control to jump to the source location. The incoming state should not rely on grey color alone and must not imply that travel is available in the reverse direction.
  • Cross-hierarchy links: Selecting either endpoint should expose the relationship even when the other location is outside the current local/sibling map.

Suggested acceptance criteria:

  1. A two-way Direct Link from A to B appears in both A's and B's Direct Links sections.
  2. Editing shared link fields from either endpoint is immediately reflected at the other endpoint without creating duplicate records.
  3. Unlinking a two-way relationship from either endpoint removes the same relationship from both views.
  4. A one-way link from A to B appears at A as outgoing and at B as incoming, with text/icon direction cues.
  5. The incoming row at B offers a direct way to select or navigate to A for editing.
  6. Incoming visibility does not make B-to-A travel available unless the link is changed to two-way.

Alternatives considered

  • Continue requiring users to navigate to the original source location. This depends on remembering where every connection was created and does not scale for large or deeply nested maps.
  • Store separate link records at both endpoints. This would make editing and deletion prone to synchronization drift, so both views should represent one canonical relationship instead.
  • Show incoming links only when both endpoints are visible on the same local map. This does not solve the main cross-hierarchy discoverability problem.

Additional context

  • Branch: staging
  • Engine build: c0ce4d8
  • OS: Windows 11
  • World Maps Agent: v1.3.1
  • Install type: Not provided
  • Browser or app shell: Not provided

The original example referenced the Knowhere/Sol System link and a separate Sol System link originating from a hangar nested under Xavier's Institute.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @thetopham on GitHub (Aug 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/243 Originally assigned to: @thetopham on GitHub. ## What problem does this solve? World Maps Direct Links are currently only visible and editable from the location where the link was created. Even a two-way link between Location A and Location B may be absent from Location B's inspector, so the creator has to remember which endpoint owns the link before they can inspect, edit, rename, or remove it. This is manageable when both locations are siblings on the same local map, because the line reveals that a connection exists. It becomes difficult to audit when a link crosses hierarchy levels or connects a deeply nested location to a distant location. For example: - Knowhere and Sol System are linked, but the link can only be managed after selecting Knowhere. - A hangar inside Xavier's Institute can link to Sol System, but selecting Sol System gives no indication that the incoming connection exists. The result is that valid connections can become effectively hidden during map editing. ## Proposed solution Show every Direct Link relationship from both endpoint locations while preserving its direction: - **Two-way links:** Show the same relationship as a fully editable Direct Link in both locations. Editing its label, presentation, direction, or other shared settings from either endpoint should update the single underlying relationship. Unlinking it from either endpoint should remove the relationship for both. - **One-way links:** Keep the source link editable as an outgoing connection. Also show it on the target as an incoming connection with an explicit direction label/icon, the source location name or path, and a control to jump to the source location. The incoming state should not rely on grey color alone and must not imply that travel is available in the reverse direction. - **Cross-hierarchy links:** Selecting either endpoint should expose the relationship even when the other location is outside the current local/sibling map. Suggested acceptance criteria: 1. A two-way Direct Link from A to B appears in both A's and B's Direct Links sections. 2. Editing shared link fields from either endpoint is immediately reflected at the other endpoint without creating duplicate records. 3. Unlinking a two-way relationship from either endpoint removes the same relationship from both views. 4. A one-way link from A to B appears at A as outgoing and at B as incoming, with text/icon direction cues. 5. The incoming row at B offers a direct way to select or navigate to A for editing. 6. Incoming visibility does not make B-to-A travel available unless the link is changed to two-way. ## Alternatives considered - Continue requiring users to navigate to the original source location. This depends on remembering where every connection was created and does not scale for large or deeply nested maps. - Store separate link records at both endpoints. This would make editing and deletion prone to synchronization drift, so both views should represent one canonical relationship instead. - Show incoming links only when both endpoints are visible on the same local map. This does not solve the main cross-hierarchy discoverability problem. ## Additional context - Branch: `staging` - Engine build: `c0ce4d8` - OS: Windows 11 - World Maps Agent: v1.3.1 - Install type: Not provided - Browser or app shell: Not provided The original example referenced the Knowhere/Sol System link and a separate Sol System link originating from a hangar nested under Xavier's Institute. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:24:35 +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-Agents#123
No description provided.