Conversation
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.
🎯 알고리즘 감지 시스템 개선 및 예제 추가
📝 변경 사항 요약
🗂️ 수정된 파일
새로 추가된 파일
src/components/ide/mockData/codeExamples/selectionSort.jssrc/components/ide/mockData/codeExamples/insertionSort.jssrc/components/ide/mockData/codeExamples/factorial.jssrc/components/ide/mockData/jsonExamples/selectionSort.jsonsrc/components/ide/mockData/jsonExamples/insertionSort.jsonsrc/components/ide/mockData/jsonExamples/factorial.json수정된 파일
src/components/ide/mockData/index.jssrc/components/ide/visualization/AnimationFactory.jssrc/components/ide/visualization/VisualizationModal.jsx🔍 주요 개선 내용
1. 새로운 알고리즘 예제 추가
2. AnimationFactory 감지 로직 강화
3. VisualizationModal 리팩토링
detectAlgorithmFromEvents함수 제거AnimationFactory.detectAnimationType()직접 활용4. index.js 패턴 매칭 확장
📊 개선 효과
🧪 테스트 방법
📌 기술적 세부사항
AnimationFactory 감지 우선순위
viz.type명시적 지정 (최우선)ds_op.target으로 자료구조 감지재귀 감지 로직
Co-authored-by: Claude (Anthropic)