[PR #52] [MERGED] feat: Add persona group support to quick switchers #4422

Closed
opened 2026-10-22 04:07:29 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/52
Author: @LukaTheHero
Created: 4/3/2026
Status: ✅ Merged
Merged: 4/3/2026
Merged by: @LukaTheHero

Base: main ← Head: feature/quick-switcher-persona-groups


📝 Commits (1)

  • 525df40 feat: add persona group support to quick switchers

📊 Changes

2 files changed (+312 additions, -82 deletions)

View changed files

📝 packages/client/src/components/chat/QuickPersonaSwitcher.tsx (+161 -34)
📝 packages/client/src/components/chat/QuickSwitcherMobile.tsx (+151 -48)

📄 Description

Adds persona group support to both the desktop QuickPersonaSwitcher and mobile QuickSwitcherMobile components.

Changes

  • Fetches persona groups via usePersonaGroups() hook
  • Groups personas by their group membership (from the persona_groups table)
  • Displays groups as collapsible folder rows with the first member's avatar
  • Clicking a group expands/collapses to show member personas indented underneath
  • Ungrouped personas display below the groups as normal flat list
  • Works on both desktop (inline dropdown) and mobile (tabbed chevron menu)
  • If no groups exist, behavior is identical to before (flat persona list)

🔄 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/52 **Author:** [@LukaTheHero](https://github.com/LukaTheHero) **Created:** 4/3/2026 **Status:** ✅ Merged **Merged:** 4/3/2026 **Merged by:** [@LukaTheHero](https://github.com/LukaTheHero) **Base:** `main` ← **Head:** `feature/quick-switcher-persona-groups` --- ### 📝 Commits (1) - [`525df40`](https://github.com/Pasta-Devs/Marinara-Engine/commit/525df408ab54c51ee03e7dcedad41208b813bbd1) feat: add persona group support to quick switchers ### 📊 Changes **2 files changed** (+312 additions, -82 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/chat/QuickPersonaSwitcher.tsx` (+161 -34) 📝 `packages/client/src/components/chat/QuickSwitcherMobile.tsx` (+151 -48) </details> ### 📄 Description Adds persona group support to both the desktop QuickPersonaSwitcher and mobile QuickSwitcherMobile components. ## Changes - Fetches persona groups via `usePersonaGroups()` hook - Groups personas by their group membership (from the `persona_groups` table) - Displays groups as collapsible folder rows with the first member's avatar - Clicking a group expands/collapses to show member personas indented underneath - Ungrouped personas display below the groups as normal flat list - Works on both desktop (inline dropdown) and mobile (tabbed chevron menu) - If no groups exist, behavior is identical to before (flat persona list) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:07:29 +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#4422
No description provided.