feat(web, server): 적용사항 대시보드 개선 - #14
Open
ggamnunq wants to merge 17 commits into
Open
Conversation
프론트에서 커밋 카드에 작성자와 변경 라인 수를 표시하려면 별도 조회 없이 바로 쓸 수 있는 필드가 필요해 RecommendedCommitDTO·ConnectedCommitDTO에 authorName/addedLines/deletedLines를 추가했다. mock.sql은 직접 연결 목록의 무한 스크롤(PAGE_SIZE=10) 검증을 위해 repository 1의 커밋을 10건에서 16건으로 늘렸다.
서버가 추천/연결 커밋에 작성자·라인 수를 직접 내려주므로 직접 연결 목록과 해시를 매칭해 값을 채우던 우회 로직을 제거했다. 연결 해제 실패 메시지도 연결 실패 메시지와 같은 스타일로 화면에 표시하고, CommitCard의 삭제 라인 색상을 임의 팔레트 값 대신 다른 화면과 같은 시맨틱 토큰(--color-status-error)으로 통일했다.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
WhyLog AI 리뷰결과: ✅ 차단 항목 없음 · 모델: Google 적용사항 대시보드 탭 재구성 및 원문 맥락(context_items) 백엔드, AI, 프론트엔드 연동이 저장소 규칙에 맞게 차단 요소 없이 잘 구현되었습니다. PR 리뷰 문서: 차단없음 제안없음 이 코멘트는 새 실행 때 갱신됩니다. 차단 항목은 사람이 타당성을 확인한 뒤 수정하세요. |
원문 맥락 화면에서 발화 하나하나마다 요약을 보여주려면 대표 3단계만 추리는 기존 timeline으로는 부족해서, 적용사항과 관련된 발화를 빠짐없이 담는 context_items를 추출 결과에 추가했다. member_id 보정 로직도 timeline과 context_items 양쪽에 공통 적용되도록 확장했다.
FastAPI가 내려주는 context_items(적용사항과 관련된 발화별 요약)를 저장할 decision_context/application_context 테이블을 decision_timeline과 같은 구조로 추가했다. 원문 맥락 API는 이제 이 테이블에서 조회하며 발화별 content(요약)를 함께 내려준다. 재분석 시 정리 누락으로 FK 위반이 나지 않도록 replaceApplications의 삭제 순서에도 반영했다.
서버가 원문 맥락 항목마다 content(발화 요약)를 내려주므로, 선택된 메시지의 제목과 관련 맥락 목록에서 이 요약을 우선 표시하고 없을 때만 기존 결정근거/원문으로 대체한다. 적용사항이 바뀌어 메시지 목록이 바뀌면 선택 인덱스를 리셋하고, 배열이 짧아지는 프레임에서도 클램핑해 빈 상태가 깜빡이지 않게 했다.
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 생성 시 작성)
결과 (머지 전 작성)
리뷰 요청
x
메모
x