fix(web): clinician RiskEventCard 동시발생 category 배지 렌더 + 계약 정렬 - #82
Merged
Merged
Conversation
CVR-051/REV-015 RiskEventCard 동시발생 category 배지 렌더 수정 + 회귀 테스트(RiskEventCard.test.tsx), HandoffReportView/lib/api.ts 클라이언트 계약 정렬(BUG-062~066 후속).
…e shape toEmrText still read the pre-fix chief_complaint/present_illness/... fields (never produced by ai-server) after HandoffReportView.tsx moved to the report_markdown/evidence_packets shape — broke `tsc --noEmit` on rebase onto Master c0622ce. Mirrors the same fields HandoffReportView renders.
dhkim-kr
force-pushed
the
fix/web-clinician-riskevent
branch
from
July 25, 2026 14:03
2f8bead to
e8fc03f
Compare
This was referenced Jul 25, 2026
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.
개요
CVR-051/REV-015에서 지적된 clinician 웹의 RiskEventCard 동시발생(concurrent) category 배지 렌더
결함을 수정하고, 회귀 테스트를 추가한다. BUG-062~066 후속으로 클라이언트 계약도 정렬한다.
관심사별 변경
File changes
제외: apps/web/tsconfig.tsbuildinfo (빌드 아티팩트, 어떤 브랜치에도 포함하지 않음)
검증
의존/머지 순서
contracts(#77) → backend-api(#79) → web(본 PR). mobile(#81)과 병행 가능.
2026-07-25 재중재 — Master c0622ce 리베이스
사용자 확정 결정에 따라
HandoffReportView.tsx는 본 PR의 재구조화(ai-server 실제 출력report_markdown/evidence_packets 기반, BUG-066 필드 정합)를 유지하고 Master의 디자인 토큰
개선(#85 모노크롬 재디자인 — rounded-xl/faint/danger-soft/tabular-nums 등)을 그 위에 흡수했다.
RiskEventCard.tsx도 동일 원칙 — 본 PR의AiCategoryBadges(CVR-051 동시발생 category 배지)기능을 유지하고 Master의 토큰 스타일(
font-semibold tracking-tight등)을 적용했다.lib/api.ts는Master의
PatientDetail/getReportTrend와 본 PR의HandoffNarrative/EvidencePacket재정의가충돌 없이 병존.
병합 중 별도 발견:
ReportActions.tsx(EMR 복사, FR-020)가 여전히 구HandoffNarrative필드(chief_complaint/present_illness 등, BUG-066으로 폐기된 미생산 필드)를 참조해
tsc --noEmit이깨졌다 —
report_markdown/missing_slots/evidence_packets기반으로 갱신하는 후속 수정 커밋을추가했다(
e8fc03f)..env.example충돌은 실제로 발생하지 않았다(리베이스 시 무충돌).pnpm install --frozen-lockfile,pnpm --filter @neuro-sync/web typecheck,jest(RiskEventCard 5건 + RiskBadge 2건, 총 7 passed)통과, Platform CI(apps/api + apps/{web,mobile}) green 확인.