[GH-ISSUE #1282] [Feature]: Edit map node emoji and names in a map editor UI instead of raw JSON #629

Closed
opened 2026-10-20 17:30:56 +07:00 by bsakaguchi · 3 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

The map editor is cumbersome. To change the emoji icon for a map node or to
correct a node's name, the user is forced to dig directly into the raw JSON
script. There is no UI affordance for these common edits.

Proposed behavior

Add a map editor UI that lets users edit map node properties — at minimum the
node's emoji icon and its name/label — directly, without hand-editing the
underlying JSON. Ideally other node fields (position, discovered state) would be
editable in the same UI.

Expected owner or impact area

  • App shell, navigation, startup, or providers
  • Catalog resources: chats, characters, personas, lorebooks, presets, connections, agents, gallery, or knowledge
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Refactor branch considerations

From a quick scan (triage pointer, not from the reporter): map nodes
(id, emoji, label, x, y, discovered) are generated as JSON by the GM
in src/engine/modes/game/world/map.service.ts and rendered by
src/features/modes/game/components/GameNodeMap.tsx. There does not appear to be
a node-editing UI, so changing emoji/label requires editing the JSON directly.
Keep editor UI in the game feature layer and the map data shape in the engine.

Alternatives considered

Current workaround: edit the raw map JSON directly (the pain point being avoided).

Additional context

Source: forum report by Krewetco (2-Star), 5/24/26 10:03 PM. One of four distinct
points in a single post; the others (language reset, status bar positioning, and
indoor map layers) are filed separately.

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @GetBeholder on GitHub (May 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1282 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? The map editor is cumbersome. To change the emoji icon for a map node or to correct a node's name, the user is forced to dig directly into the raw JSON script. There is no UI affordance for these common edits. ## Proposed behavior Add a map editor UI that lets users edit map node properties — at minimum the node's emoji icon and its name/label — directly, without hand-editing the underlying JSON. Ideally other node fields (position, discovered state) would be editable in the same UI. ## Expected owner or impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources: chats, characters, personas, lorebooks, presets, connections, agents, gallery, or knowledge - [ ] Chat mode - [ ] Roleplay mode - [x] Game mode - [ ] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Refactor branch considerations From a quick scan (triage pointer, not from the reporter): map nodes (`id`, `emoji`, `label`, `x`, `y`, `discovered`) are generated as JSON by the GM in `src/engine/modes/game/world/map.service.ts` and rendered by `src/features/modes/game/components/GameNodeMap.tsx`. There does not appear to be a node-editing UI, so changing emoji/label requires editing the JSON directly. Keep editor UI in the game feature layer and the map data shape in the engine. ## Alternatives considered Current workaround: edit the raw map JSON directly (the pain point being avoided). ## Additional context Source: forum report by Krewetco (2-Star), 5/24/26 10:03 PM. One of four distinct points in a single post; the others (language reset, status bar positioning, and indoor map layers) are filed separately. ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@cha1latte commented on GitHub (May 26, 2026):

Triage note: labeling this as normal-scope because the request is a focused game-map editing affordance for common node fields that currently require raw JSON edits.

The least risky next step is to keep the first slice to emoji and name/label editing, then consider position/discovered-state editing separately if needed.

<!-- gh-comment-id:4547265175 --> @cha1latte commented on GitHub (May 26, 2026): Triage note: labeling this as `normal-scope` because the request is a focused game-map editing affordance for common node fields that currently require raw JSON edits. The least risky next step is to keep the first slice to emoji and name/label editing, then consider position/discovered-state editing separately if needed.
Author
Owner

@SpicyMarinara commented on GitHub (May 27, 2026):

We can add an "edit" button next to the other buttons on the map that opens "location-emoji" fields with the current locations that would allow the users to edit those easily.

<!-- gh-comment-id:4556039164 --> @SpicyMarinara commented on GitHub (May 27, 2026): We can add an "edit" button next to the other buttons on the map that opens "location-emoji" fields with the current locations that would allow the users to edit those easily.
Author
Owner

@SpicyMarinara commented on GitHub (May 27, 2026):

Implemented on refactor in 981971c1: Game node maps now have an edit button for location emoji and name/label edits, persisting the updated map metadata back to the chat. Validation: pnpm check and pnpm lint.

<!-- gh-comment-id:4556349672 --> @SpicyMarinara commented on GitHub (May 27, 2026): Implemented on refactor in 981971c1: Game node maps now have an edit button for location emoji and name/label edits, persisting the updated map metadata back to the chat. Validation: pnpm check and pnpm lint.
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#629
No description provided.