From ba69d8147b615e160cf3d2885fc65a0777b78b71 Mon Sep 17 00:00:00 2001 From: Guilhem Date: Wed, 17 Jun 2026 17:50:03 +0200 Subject: [PATCH] fix(frontend): show AI sessions when AI unconfigured, with disabled chat (#9644) Previously the AI sessions sidebar section was hidden entirely when AI was not configured at the workspace level. Now the section stays visible and the per-session chat input is disabled with an explanatory message, mirroring the sidebar AI chat behavior. Co-authored-by: Claude Opus 4.8 (1M context) --- .../src/lib/components/sessions/SessionPicker.svelte | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/src/lib/components/sessions/SessionPicker.svelte b/frontend/src/lib/components/sessions/SessionPicker.svelte index b8c92a85f3..55683b4d96 100644 --- a/frontend/src/lib/components/sessions/SessionPicker.svelte +++ b/frontend/src/lib/components/sessions/SessionPicker.svelte @@ -46,7 +46,6 @@ import DropdownV2 from '$lib/components/DropdownV2.svelte' import { visibleWorkspaceIds } from './sessionScope.svelte' import { isGlobalAiEnabled } from '$lib/components/copilot/chat/global/gate' - import { copilotInfo } from '$lib/aiStore' import { userWorkspaces, usersWorkspaceStore, workspaceStore } from '$lib/stores' import { WorkspaceService } from '$lib/gen' import { sendUserToast } from '$lib/toast' @@ -318,9 +317,11 @@ ) -{#if !globalEnabled || !$copilotInfo.enabled} - +{#if !globalEnabled} + {:else if isCollapsed}