@if (fixedViewMenuVisible()) {
{{ 'XP.Chat.ClawXpert.FixedViews' | translate: { Default: 'Fixed Views' } }}
@if (loadingFixedViews()) { } @else if (fixedViewError()) { } @else { @for (fixedView of fixedViewMenuItems(); track fixedView.viewKey) { } } }
@if (!overlayDialog() && !isChatMinimizedToPet()) { }
@if (!activeTab()) {
@for (fixedView of fixedViewMenuItems(); track fixedView.viewKey) { }
} @else { @if (fixedViewHostId(); as hostId) { } @if (activeFixedViewTab()) { @if (!fixedViewHostId()) {
{{ 'XP.Chat.ClawXpert.NoFixedViews' | translate: { Default: 'No fixed views' } }}
} } @else if (activeTab()?.kind === 'tasks') {
} @else if (contextLoading() && !resolvedConversationId()) {
{{ 'XP.Chat.ClawXpert.ContextLoading' | translate: { Default: 'Loading conversation workspace...' } }}
} @else { @if (!resolvedConversationId()) {
{{ 'XP.Chat.ClawXpert.DetailPanelEmptyTitle' | translate: { Default: 'Start a conversation to unlock workspace tools' } }}
@if (activeTab()?.kind === 'files') { {{ 'XP.Chat.ClawXpert.FilesEmptyDesc' | translate : { Default: 'Once this ClawXpert thread is created, its server-volume workspace files will appear here.' } }} } @else if (activeTab()?.kind === 'browser') { {{ 'XP.Chat.ClawXpert.PreviewDetailEmptyDesc' | translate : { Default: 'Once this ClawXpert thread is created, its managed sandbox services will appear here for live browsing and element selection.' } }} } @else { {{ 'XP.Chat.ClawXpert.TerminalEmptyDesc' | translate : { Default: 'Once this ClawXpert thread is created, you can run commands here against the current workspace.' } }} }
} @else { @if (contextError()) {
{{ contextError() }}
} @if (activeTab()?.kind === 'files') { } @else if (activeTab()?.kind === 'browser') { } @else { } } } }
@if (!showDetailPanel() && !isChatMinimizedToPet()) { } @if (showChatkitResizeHandle()) { }
@if (facade.loading()) {
{{ 'XP.Chat.ClawXpert.Loading' | translate: { Default: 'Preparing ClawXpert...' } }}
} @else { @switch (facade.viewState()) { @case ('organization-required') {
{{ 'XP.Chat.ClawXpert.OrganizationRequired' | translate: { Default: 'Select an organization to use ClawXpert' } }}
{{ 'XP.Chat.ClawXpert.OrganizationRequiredDesc' | translate: { Default: 'ClawXpert stores one assistant binding per user and per organization.' } }}
} @case ('error') {
{{ 'XP.Chat.ClawXpert.LoadFailed' | translate: { Default: 'Failed to load ClawXpert.' } }}
{{ facade.viewErrorMessage() }}
} @case ('ready') { @for (runtime of chatkitMountEntries(); track runtime.key) { } } @default {
{{ 'XP.Chat.ClawXpert.SetupFirstTitle' | translate: { Default: 'Finish setup in overview first' } }}
{{ 'XP.Chat.ClawXpert.SetupFirstDesc' | translate : { Default: 'Bind a ClawXpert in the overview page before entering the detail chat workspace.' } }}
} } }