[GH-ISSUE #70] [Issue]: Show map hierarchy in the Expand with AI target picker #33

Closed
opened 2026-10-20 17:23:42 +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/70

Originally assigned to: @thetopham on GitHub.

Summary

The Expand with AI target picker flattens every active location into one alphabetized list, so users cannot see which locations belong to which branch of the map.

Affected package

Hierarchical Maps (hierarchical-maps) 1.1.5

Expected behavior

  • Advanced options → Expand beneath lists parent locations before their descendants.
  • Nested locations use visible indentation and compact tree markers such as └─.
  • The native select control remains usable with keyboard, touch, and platform accessibility features.
  • The currently selected expansion target remains selected when the hierarchy is rendered.

Actual behavior

Targets are sorted only by location name. Parents, children, and unrelated branches appear together with no nesting context.

Steps to reproduce

  1. Create or import a hierarchical map containing at least three nested levels and multiple branches.
  2. Open Expand with AI.
  3. Open Advanced options.
  4. Inspect Expand beneath.
  5. Observe that every location is presented as one flat alphabetized list.

Environment

  • Marinara Engine version: 2.3.2
  • Package version: 1.1.5
  • Install type: source/catalog package
  • OS + version: platform-independent source issue
  • Browser or app shell: browser

Logs, screenshots, or video

No runtime error or private chat data is involved. The failure is in the package-owned target-picker presentation.

Additional context

A full custom tree combobox is not required for the first fix. A hierarchy-ordered native select with depth-based labels preserves familiar mobile and keyboard behavior while making the authored structure legible. Add focused desktop/mobile regression coverage and rebuild all generated package outputs.

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/70 Originally assigned to: @thetopham on GitHub. ## Summary The **Expand with AI** target picker flattens every active location into one alphabetized list, so users cannot see which locations belong to which branch of the map. ## Affected package Hierarchical Maps (`hierarchical-maps`) 1.1.5 ## Expected behavior - **Advanced options → Expand beneath** lists parent locations before their descendants. - Nested locations use visible indentation and compact tree markers such as `└─`. - The native select control remains usable with keyboard, touch, and platform accessibility features. - The currently selected expansion target remains selected when the hierarchy is rendered. ## Actual behavior Targets are sorted only by location name. Parents, children, and unrelated branches appear together with no nesting context. ## Steps to reproduce 1. Create or import a hierarchical map containing at least three nested levels and multiple branches. 2. Open **Expand with AI**. 3. Open **Advanced options**. 4. Inspect **Expand beneath**. 5. Observe that every location is presented as one flat alphabetized list. ## Environment - Marinara Engine version: 2.3.2 - Package version: 1.1.5 - Install type: source/catalog package - OS + version: platform-independent source issue - Browser or app shell: browser ## Logs, screenshots, or video No runtime error or private chat data is involved. The failure is in the package-owned target-picker presentation. ## Additional context A full custom tree combobox is not required for the first fix. A hierarchy-ordered native select with depth-based labels preserves familiar mobile and keyboard behavior while making the authored structure legible. Add focused desktop/mobile regression coverage and rebuild all generated package outputs. ## 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#33
No description provided.