[GH-ISSUE #135] [Feature]: Replace or restart an existing World Map #64

Closed
opened 2026-10-20 17:24:00 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @thetopham on GitHub.

What problem does this solve?

A Roleplay or Game chat may begin with a World Map supplied by its scenario, or the user may create a map and later decide they do not like it. The editor currently has no clear Start over or Replace map workflow.

The available workaround is to archive locations one at a time. That is slow for a large map and still does not return the user to the normal map-creation flow. It is especially limiting when the user later finds a completed map shared by someone else and wants to use that map in the existing chat.

Proposed package or change

Add an explicit map-level Start over / Replace map action to the World Maps editor for Roleplay and Game chats. This should replace the need to archive every location individually.

The first step should offer a clear preservation choice:

  • Save current map as a template and start over
  • Export a backup and start over
  • Start over without saving

If reusable templates do not yet retain artwork, the template option must explain that limitation and offer an artwork-inclusive .world-map.json export instead. Once #129 is implemented, saving to the template library should preserve the complete illustrated map.

The replacement flow should let the user choose one of the normal creation sources:

  • Start with a blank map.
  • Create a new map with AI.
  • Apply an account World Map template.
  • Import a shared .world-map.json or supported legacy map export.

Suggested safety and state behavior:

  • Show a preflight summary of what will be replaced, including the existing map name, location count, current story location, queued route, and linked artwork or lore where available.
  • Offer Save to templates and Export current map before replacement, including the existing Include map artwork export option.
  • Require an explicit confirmation that distinguishes replacing the map from archiving a location.
  • Validate and fully prepare an imported or generated map before changing the active map; a failed import or generation must leave the current map intact.
  • Ask the user to select or confirm the new starting/current story location before finishing.
  • Clear incompatible queued destinations and route plans, and reconcile Game map bindings with the replacement map.
  • Define snapshot behavior clearly: replacement should update the authoritative map for the current and future story state without silently rewriting earlier message history.
  • Do not automatically delete chat Gallery images merely because the old map referenced them; those images may have other chat uses.
  • Keep the operation cancelable until final confirmation and show a clear success or failure result.
  • Support desktop, mobile, keyboard navigation, touch targets, and screen readers.

If practical, retain the previous map as a recoverable archived revision. If not, the export-first path and destructive-action warning should be prominent.

Why should this be optional?

World Map creation, import, templates, location state, and Game map bindings belong to the downloadable World Maps package. Marinara Engine should continue to provide only the generic storage and capability contracts the package needs.

Alternatives considered

  • Archive every existing location manually. This is tedious, especially for a large hierarchy, and does not provide a clean replacement workflow.
  • Create a new chat. This abandons the user's existing conversation, character state, and scenario progress just to change its map.
  • Import over the current map without an explicit replacement flow. This risks ambiguous merges, stale routes, and accidental data loss.
  • Delete the old map immediately. A validated, confirmable, export-first replacement is safer.

Additional context

This request came from World Maps 1.2.0 beta feedback. Examples include a Game that started with an unwanted scenario map, a user-created map the user wants to redo, and replacing either one with a completed community map discovered later.

Related:

  • #130 tracks starting/current-location correction and other editor workflow gaps.
  • #129 tracks preserving complete artwork when maps are saved to the reusable template library.
  • #133 proposes account-wide shared maps; this replacement flow remains useful for independent chat maps and forks.

No implementation or browser reproduction has been completed yet.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @thetopham on GitHub (Jul 30, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/135 Originally assigned to: @thetopham on GitHub. ## What problem does this solve? A Roleplay or Game chat may begin with a World Map supplied by its scenario, or the user may create a map and later decide they do not like it. The editor currently has no clear **Start over** or **Replace map** workflow. The available workaround is to archive locations one at a time. That is slow for a large map and still does not return the user to the normal map-creation flow. It is especially limiting when the user later finds a completed map shared by someone else and wants to use that map in the existing chat. ## Proposed package or change Add an explicit map-level **Start over / Replace map** action to the World Maps editor for Roleplay and Game chats. This should replace the need to archive every location individually. The first step should offer a clear preservation choice: - **Save current map as a template and start over** - **Export a backup and start over** - **Start over without saving** If reusable templates do not yet retain artwork, the template option must explain that limitation and offer an artwork-inclusive `.world-map.json` export instead. Once #129 is implemented, saving to the template library should preserve the complete illustrated map. The replacement flow should let the user choose one of the normal creation sources: - Start with a blank map. - Create a new map with AI. - Apply an account World Map template. - Import a shared `.world-map.json` or supported legacy map export. Suggested safety and state behavior: - Show a preflight summary of what will be replaced, including the existing map name, location count, current story location, queued route, and linked artwork or lore where available. - Offer **Save to templates** and **Export current map** before replacement, including the existing **Include map artwork** export option. - Require an explicit confirmation that distinguishes replacing the map from archiving a location. - Validate and fully prepare an imported or generated map before changing the active map; a failed import or generation must leave the current map intact. - Ask the user to select or confirm the new starting/current story location before finishing. - Clear incompatible queued destinations and route plans, and reconcile Game map bindings with the replacement map. - Define snapshot behavior clearly: replacement should update the authoritative map for the current and future story state without silently rewriting earlier message history. - Do not automatically delete chat Gallery images merely because the old map referenced them; those images may have other chat uses. - Keep the operation cancelable until final confirmation and show a clear success or failure result. - Support desktop, mobile, keyboard navigation, touch targets, and screen readers. If practical, retain the previous map as a recoverable archived revision. If not, the export-first path and destructive-action warning should be prominent. ## Why should this be optional? World Map creation, import, templates, location state, and Game map bindings belong to the downloadable World Maps package. Marinara Engine should continue to provide only the generic storage and capability contracts the package needs. ## Alternatives considered - Archive every existing location manually. This is tedious, especially for a large hierarchy, and does not provide a clean replacement workflow. - Create a new chat. This abandons the user's existing conversation, character state, and scenario progress just to change its map. - Import over the current map without an explicit replacement flow. This risks ambiguous merges, stale routes, and accidental data loss. - Delete the old map immediately. A validated, confirmable, export-first replacement is safer. ## Additional context This request came from World Maps 1.2.0 beta feedback. Examples include a Game that started with an unwanted scenario map, a user-created map the user wants to redo, and replacing either one with a completed community map discovered later. Related: - #130 tracks starting/current-location correction and other editor workflow gaps. - #129 tracks preserving complete artwork when maps are saved to the reusable template library. - #133 proposes account-wide shared maps; this replacement flow remains useful for independent chat maps and forks. No implementation or browser reproduction has been completed yet. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

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

Implementation is now owned by @thetopham in PR #136. Delete map is replaced by a preservation-and-replacement hub offering Save as template, Export backup, Create with AI, template/shared-world selection, import, and a history-safe blank start.

<!-- gh-comment-id:5126441584 --> @thetopham commented on GitHub (Jul 30, 2026): Implementation is now owned by @thetopham in PR #136. Delete map is replaced by a preservation-and-replacement hub offering Save as template, Export backup, Create with AI, template/shared-world selection, import, and a history-safe blank start.
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#64
No description provided.