[GH-ISSUE #71] [Feature]: Add drag-to-arrange layout editing to Hierarchical Maps #31

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

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

Originally assigned to: @thetopham on GitHub.

What problem does this solve?

Manual map placement currently requires entering numeric Map X and Map Y values from 0 to 100 in the location inspector. That representation is useful for storage and precise fallback edits, but it is not an intuitive primary authoring workflow for arranging a visual map.

Proposed package or change

Add an explicit Edit layout or Arrange map mode to the Hierarchical Maps workspace for Roleplay and Game maps:

  • let users drag map items directly on the local map canvas;
  • support pointer, mouse, and touch input with bounded coordinates;
  • prevent accidental movement while normal select/enter mode is active;
  • mark the working map dirty and preserve the existing Save/discard behavior;
  • provide keyboard nudging or an equivalent accessible positioning control;
  • retain numeric X/Y inputs under an advanced or precision-editing section; and
  • add desktop/mobile regression coverage for drag, selection, bounds, cancellation, and save persistence.

This is package-owned client UI and editor-state work. Rebuild the generated client payload, manifest hashes, immutable artifact, and catalog metadata from source.

Why should this be optional?

Interactive spatial authoring is specific to the downloadable Hierarchical Maps package. The Engine should continue to provide generic host capabilities without taking ownership of the Maps editor.

Alternatives considered

  • Keeping numeric X/Y fields as the only editor is precise but too difficult for ordinary layout work.
  • Always-on dragging risks accidental map changes while users are selecting or entering locations.
  • Removing numeric fields would eliminate a useful keyboard-accessible and precision fallback.

Additional context

The current LocalMapCanvas already renders each location at percentage coordinates, but it only wires click-to-select and enter actions. The stored placement model can support dragging without changing its 0-to-100 coordinate representation.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @thetopham on GitHub (Jul 17, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/71 Originally assigned to: @thetopham on GitHub. ## What problem does this solve? Manual map placement currently requires entering numeric **Map X** and **Map Y** values from 0 to 100 in the location inspector. That representation is useful for storage and precise fallback edits, but it is not an intuitive primary authoring workflow for arranging a visual map. ## Proposed package or change Add an explicit **Edit layout** or **Arrange map** mode to the Hierarchical Maps workspace for Roleplay and Game maps: - let users drag map items directly on the local map canvas; - support pointer, mouse, and touch input with bounded coordinates; - prevent accidental movement while normal select/enter mode is active; - mark the working map dirty and preserve the existing Save/discard behavior; - provide keyboard nudging or an equivalent accessible positioning control; - retain numeric X/Y inputs under an advanced or precision-editing section; and - add desktop/mobile regression coverage for drag, selection, bounds, cancellation, and save persistence. This is package-owned client UI and editor-state work. Rebuild the generated client payload, manifest hashes, immutable artifact, and catalog metadata from source. ## Why should this be optional? Interactive spatial authoring is specific to the downloadable Hierarchical Maps package. The Engine should continue to provide generic host capabilities without taking ownership of the Maps editor. ## Alternatives considered - Keeping numeric X/Y fields as the only editor is precise but too difficult for ordinary layout work. - Always-on dragging risks accidental map changes while users are selecting or entering locations. - Removing numeric fields would eliminate a useful keyboard-accessible and precision fallback. ## Additional context The current `LocalMapCanvas` already renders each location at percentage coordinates, but it only wires click-to-select and enter actions. The stored placement model can support dragging without changing its 0-to-100 coordinate representation. ## Template check - [ ] I DID NOT read this template and provide the requested details.
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#31
No description provided.