fix(web): 대시보드 시각 KST + CTRS 색 중증도·가시성 + 헤더 텍스트 - #106
Merged
Merged
Conversation
3건 통합(대시보드 폴리시): 1) 시각 타임존 — API는 UTC로 내려주는데 DGX 웹 컨테이너 Node TZ가 UTC라 시각이 9시간 어긋나 보였다. lib/datetime.ts `formatKST()`(timeZone:"Asia/Seoul" 명시, ICU 변환)로 세션 시작/제출·리포트 생성·위험감지·메시지·세션상세 7곳 교체 → 컨테이너 TZ 무관하게 KST, SSR/CSR 동일(하이드레이션 안전). 2) CTRS 색 — tailwind content에 lib/ 추가(tokens.ts의 배지 색 클래스가 스캔 안 돼 CSS 미생성 → CTRS 1이 흰 배경+흰 글씨로 안 보이던 근본 원인). CTRS_META를 중증도 그라데이션으로 재설계: 1 고위험=solid red+흰 글씨(대비 확보) → 2 danger-soft → 3 warn → 4 중립 → 5 옅은 중립. 3) 헤더 — "Neuro-Sync 의료진" → "의료진용 대시보드". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
3건 통합 (대시보드 폴리시)
...Z)인데 DGX 웹 컨테이너 Node TZ=UTC라 9시간 어긋남.lib/datetime.ts formatKST()(timeZone: Asia/Seoul 명시)로 7곳 교체 → 컨테이너 TZ 무관 KST, 하이드레이션 안전.lib/추가(tokens.ts 배지 색 클래스가 스캔 안 돼 CSS 미생성 → CTRS 1 흰배경+흰글씨로 안 보이던 원인). 중증도 그라데이션 재설계: 1 고위험=solid red+흰글씨 → 5 옅은 중립.검증(로컬)
.bg-state-dangerCSS 생성 확인, 헤더 텍스트 반영, formatKST UTC→KST 변환 확인(10:53Z→19:53), tsc 통과.🤖 Generated with Claude Code