From 7b4acadfe765604c6eb8a12b0ee1a5f3676af2a4 Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Thu, 4 Jun 2026 20:44:22 -0500 Subject: [PATCH] feat(desktop): per-profile "+" to start a session in the all-profiles view Mirror the workspace-group "+": each profile header in the all-profiles session list gets a new-session button. Unlike selecting the profile, it leaves the browse scope untouched (newSessionInProfile keeps $showAllProfiles), so creating a chat doesn't collapse the unified view. --- apps/desktop/src/app/chat/sidebar/index.tsx | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/apps/desktop/src/app/chat/sidebar/index.tsx b/apps/desktop/src/app/chat/sidebar/index.tsx index c84184359..ae5f1e564 100644 --- a/apps/desktop/src/app/chat/sidebar/index.tsx +++ b/apps/desktop/src/app/chat/sidebar/index.tsx @@ -54,7 +54,14 @@ import { SIDEBAR_SESSIONS_PAGE_SIZE, unpinSession } from '@/store/layout' -import { $newChatProfile, $profiles, $profileScope, ALL_PROFILES, normalizeProfileKey } from '@/store/profile' +import { + $newChatProfile, + $profiles, + $profileScope, + ALL_PROFILES, + newSessionInProfile, + normalizeProfileKey +} from '@/store/profile' import { $selectedStoredSessionId, $sessionProfileTotals, @@ -1044,12 +1051,15 @@ function SidebarWorkspaceGroup({ open={open} /> - {onNewSession && ( + {(onNewSession || isProfileGroup) && (