From 55dffb479a8366fb48b49f1bc893f16a0b9455ea Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Tue, 27 Oct 2026 11:55:40 -0700 Subject: [PATCH] refactor: group shared native-chat empty-state copy (#34503) --- mobile/src/session/mobile-native-chat-render-data.ts | 2 +- .../src/components/native-chat/NativeChatEmptyState.tsx | 2 +- src/shared/{ => native-chat}/native-chat-empty-state.ts | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/shared/{ => native-chat}/native-chat-empty-state.ts (100%) diff --git a/mobile/src/session/mobile-native-chat-render-data.ts b/mobile/src/session/mobile-native-chat-render-data.ts index 7aa4f326958..8ceabf77350 100644 --- a/mobile/src/session/mobile-native-chat-render-data.ts +++ b/mobile/src/session/mobile-native-chat-render-data.ts @@ -2,7 +2,7 @@ import { formatAgentTypeLabel } from '../../../src/shared/agent-type-label' import { formatNativeChatEmptyStateCopy, type NativeChatEmptyStateCopy -} from '../../../src/shared/native-chat-empty-state' +} from '../../../src/shared/native-chat/native-chat-empty-state' import { isRootAgentJournalItem } from '../../../src/shared/agent-session-journal-producer' import { stripNoiseMessages } from '../../../src/shared/native-chat-noise' import { nativeChatStreamingMessage } from '../../../src/shared/native-chat/native-chat-streaming' diff --git a/src/renderer/src/components/native-chat/NativeChatEmptyState.tsx b/src/renderer/src/components/native-chat/NativeChatEmptyState.tsx index a0743faf4fc..e276392edb2 100644 --- a/src/renderer/src/components/native-chat/NativeChatEmptyState.tsx +++ b/src/renderer/src/components/native-chat/NativeChatEmptyState.tsx @@ -1,7 +1,7 @@ import { MessageSquare, TriangleAlert } from 'lucide-react' import { translate } from '@/i18n/i18n' import { formatAgentTypeLabel } from '@/lib/agent-status' -import { NATIVE_CHAT_EMPTY_STATE_COPY } from '../../../../shared/native-chat-empty-state' +import { NATIVE_CHAT_EMPTY_STATE_COPY } from '../../../../shared/native-chat/native-chat-empty-state' import type { NativeChatSession } from '../../../../shared/native-chat-types' export function NativeChatEmptyState({ diff --git a/src/shared/native-chat-empty-state.ts b/src/shared/native-chat/native-chat-empty-state.ts similarity index 100% rename from src/shared/native-chat-empty-state.ts rename to src/shared/native-chat/native-chat-empty-state.ts