[PR #104] [MERGED] fix(hierarchical-maps): match game-mode chrome + flatten settings menu (1.1.9) #807

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/104
Author: @SpicyMarinara
Created: 7/25/2026
Status: ✅ Merged
Merged: 7/25/2026
Merged by: @SpicyMarinara

Base: main ← Head: fix/4081-maps-ui-consistency


📝 Commits (1)

  • d6e9f5a fix(hierarchical-maps): match game-mode chrome + flatten settings menu (1.1.9)

📊 Changes

11 files changed (+79 additions, -141 deletions)

View changed files

➕ artifacts/hierarchical-maps-1.1.9.zip (+0 -0)
📝 catalog/catalog.json (+7 -7)
📝 catalog/v2/catalog.json (+7 -7)
📝 catalog/v3/catalog.json (+1 -1)
📝 packages/hierarchical-maps/client.js (+48 -49)
📝 packages/hierarchical-maps/manifest.json (+3 -3)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialContextSettingsSection.tsx (+6 -65)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapsHome.tsx (+1 -1)
📝 packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/SpatialContextRuntimeBar.tsx (+2 -2)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/spatial-context.e2e.ts (+3 -5)

📄 Description

Why

Feedback on the Hierarchical Maps agent in Game/Roleplay mode (see Pasta-Devs/Marinara-Engine#4081):

  1. Empty-state background mismatch. The runtime "No map yet. Create one from Agents → Hierarchical Maps…" bar painted itself with var(--background). Mounted inside the game map/narrative chrome (which remaps generic tokens), that read as a mismatched dark box instead of the surrounding panel surface.
  2. Settings menu didn't fit the other agents. The maps settings rendered a nested collapsible "Hierarchical map" drawer inside the agent entry — an extra layer no other agent has. The activation toggle, map summary, and create/edit action should sit directly in the agent menu.
  3. Toggle wording. "Use in this chat" was really the enable switch for the agent.

What changed (source, then rebuilt bundle → 1.1.9)

  • SpatialContextRuntimeBar.tsx: empty/recovery container background var(--background) → var(--marinara-chat-chrome-panel-bg) (both the mobile compact and full-width layouts), so it matches the game-mode panel surface.
  • SpatialContextSettingsSection.tsx: removed the inner collapsible SettingsSection wrapper; the toggle + summary + "Create/Edit hierarchical map" now render directly in the agent menu.
  • Toggle renamed "Use in this chat" → "Enable Hierarchical Maps" in both the settings section and the global SpatialMapsHome view.
  • Rebuilt client.js, manifest.json, catalog lanes, and the 1.1.9 artifact via node scripts/build-feature-packages.mjs hierarchical-maps.
  • Updated spatial-context.e2e.ts for the flattened menu (no drawer expand click), the renamed switch, and the version string.

Validation

  • node scripts/test-catalog-lanes.mjs → passed
  • node scripts/validate-catalog.mjs → Catalog valid: 29 packages
  • git diff --check → clean

Needs manual verification (Engine checkout)

  • Install/update Hierarchical Maps 1.1.9 via Agents → Download Agents
  • Game mode: "No map yet" bar background matches the map/narrative panel (light + dark)
  • Chat Settings → Agents → Hierarchical Maps: toggle + summary + create/edit render inline (no nested drawer), toggle reads "Enable Hierarchical Maps"
  • Enable/disable still activates the agent per-chat; create/edit map still works

Summary by CodeRabbit

  • New Features

    • Updated the Hierarchical Maps activation control to “Enable Hierarchical Maps.”
    • Improved guidance shown when Hierarchical Maps is disabled.
    • Refined panel layout and recovery-state styling.
  • Bug Fixes

    • Updated the displayed Hierarchical Maps version to 1.1.9.
    • Refreshed catalog information for the latest package release.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/104 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/25/2026 **Status:** ✅ Merged **Merged:** 7/25/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `fix/4081-maps-ui-consistency` --- ### 📝 Commits (1) - [`d6e9f5a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d6e9f5ac88c72139e2748fbf29589c3eb8cf9530) fix(hierarchical-maps): match game-mode chrome + flatten settings menu (1.1.9) ### 📊 Changes **11 files changed** (+79 additions, -141 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/hierarchical-maps-1.1.9.zip` (+0 -0) 📝 `catalog/catalog.json` (+7 -7) 📝 `catalog/v2/catalog.json` (+7 -7) 📝 `catalog/v3/catalog.json` (+1 -1) 📝 `packages/hierarchical-maps/client.js` (+48 -49) 📝 `packages/hierarchical-maps/manifest.json` (+3 -3) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialContextSettingsSection.tsx` (+6 -65) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/SpatialMapsHome.tsx` (+1 -1) 📝 `packages/hierarchical-maps/src/engine/packages/client/src/features/spatial-context/components/SpatialContextRuntimeBar.tsx` (+2 -2) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/spatial-context.e2e.ts` (+3 -5) </details> ### 📄 Description ## Why Feedback on the Hierarchical Maps agent in Game/Roleplay mode (see Pasta-Devs/Marinara-Engine#4081): 1. **Empty-state background mismatch.** The runtime "No map yet. Create one from Agents → Hierarchical Maps…" bar painted itself with `var(--background)`. Mounted inside the game map/narrative chrome (which remaps generic tokens), that read as a mismatched dark box instead of the surrounding panel surface. 2. **Settings menu didn't fit the other agents.** The maps settings rendered a nested collapsible "Hierarchical map" drawer *inside* the agent entry — an extra layer no other agent has. The activation toggle, map summary, and create/edit action should sit directly in the agent menu. 3. **Toggle wording.** "Use in this chat" was really the enable switch for the agent. ## What changed (source, then rebuilt bundle → 1.1.9) - `SpatialContextRuntimeBar.tsx`: empty/recovery container background `var(--background)` → `var(--marinara-chat-chrome-panel-bg)` (both the mobile compact and full-width layouts), so it matches the game-mode panel surface. - `SpatialContextSettingsSection.tsx`: removed the inner collapsible `SettingsSection` wrapper; the toggle + summary + "Create/Edit hierarchical map" now render directly in the agent menu. - Toggle renamed **"Use in this chat" → "Enable Hierarchical Maps"** in both the settings section and the global `SpatialMapsHome` view. - Rebuilt `client.js`, `manifest.json`, catalog lanes, and the `1.1.9` artifact via `node scripts/build-feature-packages.mjs hierarchical-maps`. - Updated `spatial-context.e2e.ts` for the flattened menu (no drawer expand click), the renamed switch, and the version string. ## Validation - `node scripts/test-catalog-lanes.mjs` → passed - `node scripts/validate-catalog.mjs` → `Catalog valid: 29 packages` - `git diff --check` → clean ## Needs manual verification (Engine checkout) - [ ] Install/update Hierarchical Maps 1.1.9 via Agents → Download Agents - [ ] Game mode: "No map yet" bar background matches the map/narrative panel (light + dark) - [ ] Chat Settings → Agents → Hierarchical Maps: toggle + summary + create/edit render inline (no nested drawer), toggle reads "Enable Hierarchical Maps" - [ ] Enable/disable still activates the agent per-chat; create/edit map still works <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Updated the Hierarchical Maps activation control to “Enable Hierarchical Maps.” * Improved guidance shown when Hierarchical Maps is disabled. * Refined panel layout and recovery-state styling. * **Bug Fixes** * Updated the displayed Hierarchical Maps version to 1.1.9. * Refreshed catalog information for the latest package release. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:31:09 +07:00
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#807
No description provided.