Repository navigation
feat: README AI 평가 UI 개선 및 Django 프록시 추가 - #477
Merged
Merged
Conversation
- AiEvaluation.jsx: 한국어 UI, 인라인 에러 표시, 로딩 안내 메시지 추가 - AiEvaluation.jsx: 기준별 점수 바 차트 및 보너스 체크리스트 렌더링 - AiEvaluation.jsx: README 원문 접기/펼치기, 레포 목록 접기/펼치기 - AiEvaluation.jsx: noReadme 상태 분기 처리 - Ai.css: 신규 UI 요소 스타일 추가 - ai_proxy_views.py: Spring 백엔드 /v2/ai-evaluation/readme 프록시 뷰 추가 - urls.py: AI 평가 프록시 URL 등록
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.
📌 PR 개요
README AI 평가 기능의 프론트엔드 UI를 전면 개선하고, Django에서 Spring 백엔드로 요청을 중계하는 프록시 뷰를 추가합니다.
🛠 작업 내용
UI 개선 (AiEvaluation.jsx / Ai.css)
alert() 제거 → 인라인 경고 메시지(evaluationError 상태)로 교체
로딩 중 안내 문구 추가 ("README 길이에 따라 최대 2분까지 소요될 수 있습니다.")
README 원문 접기/펼치기 토글 추가
레포지토리 목록 접기/펼치기 토글 추가 (결과 영역 확장)
기준별 점수 바 차트 렌더링 (명확성·가독성·재현성 각 0~4점)
보너스 항목 체크리스트 렌더링 (시각 자료·라이선스·협업 ✓/✗)
총점 표시 (X / 15점)
A+ 등급 처리 (score-Aplus 클래스)
README 없는 레포 분기 처리 (noReadme 상태)
"README 수정하러 가기 →" 링크 추가
UI 텍스트 한국어 통일
Django 프록시 (ai_proxy_views.py / urls.py)
AiEvaluationProxyView 추가: 프론트엔드의 /v2/ai-evaluation/readme 요청을 Spring 백엔드로 중계 (GET/POST)
urls.py에 프록시 URL 등록
패키지
react-markdown 의존성 추가 (README 원문 렌더링용)
🖼 스크린샷
🔗 연관된 이슈
closes #이슈번호
❓ 기타 의견
Spring 백엔드(sosd-backend)의 AI 평가 로직 변경(하이브리드 코드+LLM 채점, 2차 호출 구조)과 함께 동작합니다.