refactor(site): move AgentChatPageView to correct directory (#23770)

This commit is contained in:
Danielle Maywood
2026-03-30 10:49:21 +01:00
committed by GitHub
parent f2a7fdacfe
commit 0b07ce2a97
3 changed files with 20 additions and 17 deletions
+3 -3
View File
@@ -37,13 +37,13 @@ import {
import { isMobileViewport } from "#/utils/mobile";
import { pageTitle } from "#/utils/page";
import { rewriteLocalhostURL } from "#/utils/portForward";
import type { AgentsOutletContext } from "./AgentsPage";
import type { ChatMessageInputRef } from "./components/AgentChatInput";
import {
AgentChatPageLoadingView,
AgentChatPageNotFoundView,
AgentChatPageView,
} from "./components/AgentChatPageView";
} from "./AgentChatPageView";
import type { AgentsOutletContext } from "./AgentsPage";
import type { ChatMessageInputRef } from "./components/AgentChatInput";
import {
getParentChatID,
getWorkspaceAgent,
@@ -10,14 +10,14 @@ import {
withAuthProvider,
withDashboardProvider,
} from "#/testHelpers/storybook";
import type { ChatDetailError } from "../utils/usageLimitMessage";
import {
AgentChatPageLoadingView,
AgentChatPageNotFoundView,
AgentChatPageView,
} from "./AgentChatPageView";
import { createChatStore } from "./ChatConversation/chatStore";
import type { ModelSelectorOption } from "./ChatElements";
import { createChatStore } from "./components/ChatConversation/chatStore";
import type { ModelSelectorOption } from "./components/ChatElements";
import type { ChatDetailError } from "./utils/usageLimitMessage";
// ---------------------------------------------------------------------------
// Shared constants & helpers
@@ -13,20 +13,23 @@ import type { ChatDiffStatus, ChatMessagePart } from "#/api/typesGenerated";
import { Button } from "#/components/Button/Button";
import { cn } from "#/utils/cn";
import { pageTitle } from "#/utils/page";
import type { ChatDetailError } from "../utils/usageLimitMessage";
import { AgentChatInput, type ChatMessageInputRef } from "./AgentChatInput";
import {
AgentChatInput,
type ChatMessageInputRef,
} from "./components/AgentChatInput";
import {
ChatConversationSkeleton,
RightPanelSkeleton,
} from "./AgentsSkeletons";
import type { useChatStore } from "./ChatConversation/chatStore";
import type { ModelSelectorOption } from "./ChatElements";
import { DesktopPanelContext } from "./ChatElements/tools/DesktopPanelContext";
import { ChatPageInput, ChatPageTimeline } from "./ChatPageContent";
import { ChatTopBar } from "./ChatTopBar";
import { GitPanel } from "./GitPanel/GitPanel";
import { RightPanel } from "./RightPanel/RightPanel";
import { SidebarTabView } from "./Sidebar/SidebarTabView";
} from "./components/AgentsSkeletons";
import type { useChatStore } from "./components/ChatConversation/chatStore";
import type { ModelSelectorOption } from "./components/ChatElements";
import { DesktopPanelContext } from "./components/ChatElements/tools/DesktopPanelContext";
import { ChatPageInput, ChatPageTimeline } from "./components/ChatPageContent";
import { ChatTopBar } from "./components/ChatTopBar";
import { GitPanel } from "./components/GitPanel/GitPanel";
import { RightPanel } from "./components/RightPanel/RightPanel";
import { SidebarTabView } from "./components/Sidebar/SidebarTabView";
import type { ChatDetailError } from "./utils/usageLimitMessage";
type ChatStoreHandle = ReturnType<typeof useChatStore>["store"];