[PR #8546] [MERGED] feat(agents): group the Agents sidebar by the store's sections #8661

Closed
opened 2026-11-07 16:46:19 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8546
Author: @Gunterlie
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @Gunterlie

Base: staging ← Head: feat/agents-sidebar-store-sections


📝 Commits (1)

  • f35635f feat(agents): group the Agents sidebar by the store's sections

📊 Changes

2 files changed (+43 additions, -24 deletions)

View changed files

📝 packages/client/src/components/panels/AgentsPanel.tsx (+43 -21)
📝 packages/client/src/localization/locales/en.json (+0 -3)

📄 Description

Linked issue

No linked issue. Maintainer-requested follow-up to #8522 and #8540.

Why this change

The Agents sidebar grouped agents as Writing agents / Tracker agents / Misc agents (the old built-in category). The Agent Organizer and the store use 9 sections (Memory & lore, Writing help, Trackers, Characters come alive, Pictures & sound, Chat games, Adventure tools, Apps, More agents). One agent therefore sat in different groups in the two places.

What changed

  • When no chat is open, the sidebar groups agents with the Organizer's ORGANIZER_SECTIONS, sectionOf() and sectionLabelKey(). Groups and labels now match the store. Empty sections are hidden.
  • Agents missing from the catalog (offline, sideloaded) fall back to their built-in category: writer → Writing help, tracker → Trackers, other → More agents.
  • Each section gets a small icon.
  • The "In this chat" / "Not in this chat" split for an open chat does not change. Custom agents keep their own list.
  • The 3 old labels (writingAgents, trackerAgents, miscAgents) are no longer used and are removed from en.json. No new strings.

Validation

  • pnpm check passes locally. Its one lint warning (serverRun) is in code this PR does not touch.

  • pnpm localization:check passes.

  • Manually verify in the browser: with no chat open, the Agents sidebar shows the store sections, and each agent is in the same section as in the Agent Organizer.

  • Manually verify offline (or with the catalog not loaded): agents still appear, under Writing help / Trackers / More agents.

  • Manually verify that with a chat open, the In this chat / Not in this chat split does not change.

Docs and release impact

  • No docs changes needed

UI evidence

No screenshots yet. See the manual checks above.


🔄 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-Engine/pull/8546 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `feat/agents-sidebar-store-sections` --- ### 📝 Commits (1) - [`f35635f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f35635f535a8f34142f54e27ba294f4fd2b600f2) feat(agents): group the Agents sidebar by the store's sections ### 📊 Changes **2 files changed** (+43 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/panels/AgentsPanel.tsx` (+43 -21) 📝 `packages/client/src/localization/locales/en.json` (+0 -3) </details> ### 📄 Description ## Linked issue No linked issue. Maintainer-requested follow-up to #8522 and #8540. ## Why this change The Agents sidebar grouped agents as **Writing agents / Tracker agents / Misc agents** (the old built-in `category`). The Agent Organizer and the store use 9 sections (Memory & lore, Writing help, Trackers, Characters come alive, Pictures & sound, Chat games, Adventure tools, Apps, More agents). One agent therefore sat in different groups in the two places. ## What changed - When no chat is open, the sidebar groups agents with the Organizer's `ORGANIZER_SECTIONS`, `sectionOf()` and `sectionLabelKey()`. Groups and labels now match the store. Empty sections are hidden. - Agents missing from the catalog (offline, sideloaded) fall back to their built-in category: writer → Writing help, tracker → Trackers, other → More agents. - Each section gets a small icon. - The "In this chat" / "Not in this chat" split for an open chat does not change. Custom agents keep their own list. - The 3 old labels (`writingAgents`, `trackerAgents`, `miscAgents`) are no longer used and are removed from `en.json`. No new strings. ## Validation - `pnpm check` passes locally. Its one lint warning (`serverRun`) is in code this PR does not touch. - `pnpm localization:check` passes. - [ ] Manually verify in the browser: with no chat open, the Agents sidebar shows the store sections, and each agent is in the same section as in the Agent Organizer. - [ ] Manually verify offline (or with the catalog not loaded): agents still appear, under Writing help / Trackers / More agents. - [ ] Manually verify that with a chat open, the In this chat / Not in this chat split does not change. ## Docs and release impact - [x] No docs changes needed ## UI evidence No screenshots yet. See the manual checks above. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:46:19 +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-Engine#8661
No description provided.