Repository navigation
feat: 위험도 분석 비동기 응답 형태에 맞춘 타입·결과 상세·이어받기 보완 #94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
5aec3de
feat: 위험도 분석 점수·등급이 처리 중에는 비어 오는 응답을 반영하고 완료된 분석만 결과로 표시 (#93)
hyooeunn c398f0a
feat: 분석 결과 상세의 진행 중·실패 안내 문구 추가 (#93)
hyooeunn b1dab42
feat: 분석 결과 상세에 진행 중이면 안내 후 자동 새로고침, 실패면 사유와 다시 분석하기 표시 (#93)
hyooeunn e39fe2d
feat: 분석 중 다른 페이지에 다녀와도 접수된 위험도 분석을 이어서 조회하고, 조회 제한을 서버 시간 초과(5분)에 맞춤…
hyooeunn 4afaaeb
fix: 분석이 실패하거나 새로 시작할 때 이전 분석 번호를 비워 이어받기가 옛 결과를 조회하지 않도록 수정 (#93)
hyooeunn b3696ce
fix: 결과 상세에서 처리 중 분석을 다시 조회하는 횟수에 상한(약 5분 30초)을 둠 (#93)
hyooeunn 2b9754f
fix: 결과 상세에서 상태가 FAILED일 때만 실패 안내를 보이고, 진행 중 안내를 스크린리더에 전달 (#93)
hyooeunn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기서 저장한
assessmentId가 분석이 실패한 뒤에도 그대로 남습니다(149~168줄의FAILED·!faceDetected·onError경로 어디서도 비우지 않습니다). 그러면 같은 사진으로 다시 분석을 눌러 새 요청을 보내는 동안 다른 페이지로 나갔다 돌아오면, 이어받기 로직이 이전의 실패한 분석을 조회해서 방금 시작한 분석이 아니라 옛 실패 결과를 보여줍니다. 실패·오류 경로와handleAnalyze에서setAssessmentId(null)로 비워 두면 이어받기가 항상 이번 요청만 대상으로 합니다.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4afaaeb커밋에서 반영했습니다.handleAnalyze시작 시,FAILED·얼굴 없음 경로,onError(중단 제외)에서setAssessmentId(null)로 비워서 이어받기가 이번 요청만 대상으로 합니다.