@attribute [Route(Routes.CHAT)] @using AIStudio.Settings.DataModel @inherits MSGComponentBase @* The chat is a drop area: a file dropped anywhere in it hangs itself on the composer, which is what users are used to. *@ @if (this.chatThread is not null && this.chatThread.WorkspaceId != Guid.Empty) { @(T("Chat in Workspace") + $" \"{this.currentWorkspaceName}\"") } else { @T("Disappearing Chat") } @if (this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is WorkspaceStorageBehavior.DISABLE_WORKSPACES) { } @if (this.AreWorkspacesVisible) { @if (this.SettingsManager.ConfigurationData.Workspace.DisplayBehavior is WorkspaceDisplayBehavior.TOGGLE_SIDEBAR && this.SettingsManager.ConfigurationData.Workspace.IsSidebarVisible) { // Case: Sidebar can be toggled and is currently visible @T("Your workspaces") } else { // Case: Sidebar is always visible @T("Your workspaces") } } else if (this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is not WorkspaceStorageBehavior.DISABLE_WORKSPACES && this.SettingsManager.ConfigurationData.Workspace.DisplayBehavior is WorkspaceDisplayBehavior.TOGGLE_SIDEBAR) { // Case: Sidebar can be toggled and is currently hidden @T("Your workspaces") } else { // Case: Workspaces are disabled or shown in an overlay } @if ( this.SettingsManager.ConfigurationData.Workspace.StorageBehavior != WorkspaceStorageBehavior.DISABLE_WORKSPACES && this.SettingsManager.ConfigurationData.Workspace.DisplayBehavior is WorkspaceDisplayBehavior.TOGGLE_OVERLAY) { @T("Your workspaces") }