Closed
Conversation
…eer authentication
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
1. 작업 내용 (Summary)
기존의 평면적인 구조를 도메인 중심의 'Feature-Based Architecture'로 전환하고,
front_rulesets.md의 **Rule 1.3(관심사의 분리)**를 준수하기 위해 모든 컴포넌트에서 데이터 로직을 Custom Hook으로 분리했습니다. 또한 Husky/Lint-staged를 도입하여 코드 품질을 자동화했습니다.2. 관련 이슈 (Related Issues)
3. 주요 변경 사항 (Key Changes)
src/components→src/features/{chat, graph, share}로 도메인별 응집도 강화use-question-tree.ts: 3개의 역할별 Hook(useTreeData,useTreeInteraction,useQuestionTree)으로 분리ChatPageContent,AppSidebar: React Query 기반의useTopicData,useSidebarDataHook 도입ui-constants.ts) 추출 및 매직 넘버 제거4. 리뷰 포인트 (Review Points)
features폴더 구조의 적절성useQuestionTree훅들의 역할 분배가 명확한지5. 체크리스트 (Checklist)
git_rules.md를 준수했는가?