[GH-ISSUE #1554] [Issue]: Agent Editor Back closes the catalog panel instead of returning to Agents #797

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

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

Originally assigned to: @Romuromylus on GitHub.

Summary

Pressing Back while editing an agent closes both the agent entry and the Agents editor panel, returning to the main chat page instead of the Agents list.

Parent smoke test: #1485

Expected behavior

From an individual Agent Editor page, Back should return to the Agents editor/list first. It should not dismiss the whole catalog editor/right panel unless the user backs out again.

Actual behavior

Manual testing reported that Back closes the agent entry and the agent editor page too, taking the user back to the main chat page.

Steps to reproduce

  1. Open the right-hand Catalog Editors panel.
  2. Open Agents.
  3. Open an individual agent entry.
  4. Press Back.
  5. Observe that the app returns to the main chat page instead of just the Agents editor/list.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • 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

Environment

  • Branch or commit: refactor branch, reported during manual Catalog Editors sweep on 2026-05-29
  • Run mode: not specified
  • OS + version: not specified
  • Node + pnpm versions: not specified
  • Rust version, if relevant: not relevant
  • Remote Runtime URL configured? not relevant
  • Provider, model, or integration, if relevant: not relevant

Logs, screenshots, or video

Manual report: "When editing and agent entry, pressing back closes the entry and agent editor page too. This takes you back to the main chat page instead of just going back to the agent editor"

Source areas inspected:

  • src/features/catalog/agents/components/AgentEditor.tsx
  • src/shared/stores/ui.store.ts
  • src/shared/stores/ui/model.ts
  • src/app/shell/AppShell.tsx

Regression notes

Unknown.

Additional context

Checked upstream issues and PRs for agent editor back navigation/detail route overlap and found no existing issue covering this behavior.

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 @Promansis on GitHub (May 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1554 Originally assigned to: @Romuromylus on GitHub. ## Summary Pressing Back while editing an agent closes both the agent entry and the Agents editor panel, returning to the main chat page instead of the Agents list. Parent smoke test: #1485 ## Expected behavior From an individual Agent Editor page, Back should return to the Agents editor/list first. It should not dismiss the whole catalog editor/right panel unless the user backs out again. ## Actual behavior Manual testing reported that Back closes the agent entry and the agent editor page too, taking the user back to the main chat page. ## Steps to reproduce 1. Open the right-hand Catalog Editors panel. 2. Open Agents. 3. Open an individual agent entry. 4. Press Back. 5. Observe that the app returns to the main chat page instead of just the Agents editor/list. ## Impact area - [x] App shell, navigation, startup, or providers - [x] Catalog resources - [ ] 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 ## Environment - Branch or commit: refactor branch, reported during manual Catalog Editors sweep on 2026-05-29 - Run mode: not specified - OS + version: not specified - Node + pnpm versions: not specified - Rust version, if relevant: not relevant - Remote Runtime URL configured? not relevant - Provider, model, or integration, if relevant: not relevant ## Logs, screenshots, or video Manual report: "When editing and agent entry, pressing back closes the entry and agent editor page too. This takes you back to the main chat page instead of just going back to the agent editor" Source areas inspected: - `src/features/catalog/agents/components/AgentEditor.tsx` - `src/shared/stores/ui.store.ts` - `src/shared/stores/ui/model.ts` - `src/app/shell/AppShell.tsx` ## Regression notes Unknown. ## Additional context Checked upstream issues and PRs for agent editor back navigation/detail route overlap and found no existing issue covering this behavior. ## 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.
bsakaguchi 2026-10-20 17:33:30 +07:00
Author
Owner

@Romuromylus commented on GitHub (May 29, 2026):

Resolved by #1600, merged into refactor.

<!-- gh-comment-id:4580148380 --> @Romuromylus commented on GitHub (May 29, 2026): Resolved by #1600, merged into `refactor`.
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#797
No description provided.