This repository was archived by the owner on Mar 18, 2026. It is now read-only.
[리팩토링] 채팅 컴포넌트 통합 및 모드별 인터페이스 일원화#26
Merged
Merged
Conversation
- Consolidate DefaultChatInterface and NewChatInterface into a single ChatInterface
component with mode prop ('existing', 'new-workflow', 'new-default') to handle all chat
scenarios.
- Introduce ChatHeader, ChatArea, MessageList, EmptyState, and SuggestionChips components
to modularize UI and improve readability.
- Move type definitions to a dedicated types.tsx file for better maintainability.
- Update ChatContent to manage chat modes and workflows consistently.
- Enhance ChatInterface to support loading states, error handling, and mode-specific UI.
- Simplify chat input area with attachment menu and execution state handling.
- Remove unused imports and obsolete components
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
설명
NewChatInterface,DefaultChatInterface,ChatInterface등의 컴포넌트를 하나로 통합하여 모드별(chat mode: 기존, 신규 워크플로우, 일반 채팅) 렌더링을 간소화했습니다.ChatArea,ChatHeader,MessageList,EmptyState,SuggestionChips)를 도입해 재사용성을 높였습니다.mode상태를 기반으로 실행하도록 변경하여 로딩 및 에러 관리를 효율적으로 처리합니다.주요 변경 사항
ChatInterface컴포넌트를 모든 채팅 모드를 지원하도록 수정하고, 모드별 렌더링 분기를 추가함.ChatContent컴포넌트 내 기존, 신규 워크플로우, 기본 채팅 모드 구분 로직을mode상태 관리로 변경 및 간소화.ChatHeader로 분리하여 모드별 타이틀, 부제목, 대화 수 표시 로직 구현.ChatArea컴포넌트로 분리하고, 모드별 메시지 및 빈 상태 처리 로직 통합.MessageList,EmptyState,SuggestionChips컴포넌트로 분리.getWorkflowIOLogs)와 로딩 상태 관리를 모드에 따라 조건부로 실행하도록 개선.types.tsx로 분리해 명확히 관리.NewChatInterface,DefaultChatInterface컴포넌트 삭제 및 사용 중지