[GH-ISSUE #156] [Issue]: World Maps location icons allow long strings that break layouts #78

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

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

Originally assigned to: @thetopham on GitHub.

Summary

World Maps accepts location Icon values long enough to overflow and break map/editor layouts, particularly when the value is a long unbroken string. The field is described as an “Emoji or symbol,” but its 64-character limit is not communicated to the user and is much larger than the visual surface can safely display.

Affected package

World Maps (hierarchical-maps) v1.2.3

Expected behavior

  • The Icon field should enforce a product-appropriate short limit for an emoji, symbol, or similarly tiny label.
  • The permitted length or intended format should be visible in the field hint, counter, or validation message.
  • Every map, hierarchy, preview, and editor surface should remain contained even when persisted/imported data reaches the schema maximum.
  • Long unbroken content should truncate or otherwise fail safely rather than expanding or breaking surrounding layout.

Actual behavior

  • The Icon field accepts up to 64 characters despite being labeled “Emoji or symbol.”
  • The limit is not shown to the user.
  • A sufficiently long icon value, especially one without spaces, breaks formatting in the map/editor UI.
  • Other location fields such as name and public description provide clearer validation feedback, making the Icon field inconsistent with the rest of the form.

Steps to reproduce

  1. Install or update World Maps to v1.2.3.
  2. Open a map and edit a location.
  3. Enter a long unbroken value in the Icon field.
  4. Return to the map or another surface that renders the location icon.
  5. Observe the icon content overflowing or disrupting the surrounding layout.

Environment

  • Marinara Engine version: v2.3.5
  • Engine build: a121d12
  • Package version: World Maps v1.2.3
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

A screenshot was provided in the original beta-review conversation but is not attached to this issue yet.

Additional context

The package-owned LocationInspector currently sets maxLength={64} for a field whose hint is “Emoji or symbol.” The shared location schema also permits up to 64 characters. A fix should align the data limit, visible guidance, and defensive rendering rather than relying on CSS alone.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @thetopham on GitHub (Jul 31, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/156 Originally assigned to: @thetopham on GitHub. ## Summary World Maps accepts location Icon values long enough to overflow and break map/editor layouts, particularly when the value is a long unbroken string. The field is described as an “Emoji or symbol,” but its 64-character limit is not communicated to the user and is much larger than the visual surface can safely display. ## Affected package World Maps (`hierarchical-maps`) v1.2.3 ## Expected behavior - The Icon field should enforce a product-appropriate short limit for an emoji, symbol, or similarly tiny label. - The permitted length or intended format should be visible in the field hint, counter, or validation message. - Every map, hierarchy, preview, and editor surface should remain contained even when persisted/imported data reaches the schema maximum. - Long unbroken content should truncate or otherwise fail safely rather than expanding or breaking surrounding layout. ## Actual behavior - The Icon field accepts up to 64 characters despite being labeled “Emoji or symbol.” - The limit is not shown to the user. - A sufficiently long icon value, especially one without spaces, breaks formatting in the map/editor UI. - Other location fields such as name and public description provide clearer validation feedback, making the Icon field inconsistent with the rest of the form. ## Steps to reproduce 1. Install or update World Maps to v1.2.3. 2. Open a map and edit a location. 3. Enter a long unbroken value in the **Icon** field. 4. Return to the map or another surface that renders the location icon. 5. Observe the icon content overflowing or disrupting the surrounding layout. ## Environment - Marinara Engine version: v2.3.5 - Engine build: a121d12 - Package version: World Maps v1.2.3 - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video A screenshot was provided in the original beta-review conversation but is not attached to this issue yet. ## Additional context The package-owned `LocationInspector` currently sets `maxLength={64}` for a field whose hint is “Emoji or symbol.” The shared location schema also permits up to 64 characters. A fix should align the data limit, visible guidance, and defensive rendering rather than relying on CSS alone. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

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

Issue-sweep disposition (2026-07-31): confirmed as a valid defensive-layout issue, but lower priority than the 1.2.4 movement and data-loss fixes. Keep this open for a focused icon input/display constraint pass so the eventual character limit and emoji handling are chosen deliberately.

<!-- gh-comment-id:5147996057 --> @thetopham commented on GitHub (Jul 31, 2026): Issue-sweep disposition (2026-07-31): confirmed as a valid defensive-layout issue, but lower priority than the 1.2.4 movement and data-loss fixes. Keep this open for a focused icon input/display constraint pass so the eventual character limit and emoji handling are chosen deliberately.
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#78
No description provided.