Skip to content

fix(web): 대시보드 시각 KST + CTRS 색 중증도·가시성 + 헤더 텍스트 - #106

Merged
Seohyunjho merged 1 commit into
Masterfrom
feat/dashboard-tz-ctrs-polish
Jul 29, 2026
Merged

Seohyunjho merged 1 commit into
Masterfrom
feat/dashboard-tz-ctrs-polish

Conversation

@Seohyunjho

Copy link
Copy Markdown
Collaborator

3건 통합 (대시보드 폴리시)

  1. 시각 KST — API는 UTC(...Z)인데 DGX 웹 컨테이너 Node TZ=UTC라 9시간 어긋남. lib/datetime.ts formatKST()(timeZone: Asia/Seoul 명시)로 7곳 교체 → 컨테이너 TZ 무관 KST, 하이드레이션 안전.
  2. CTRS 색 — tailwind content에 lib/ 추가(tokens.ts 배지 색 클래스가 스캔 안 돼 CSS 미생성 → CTRS 1 흰배경+흰글씨로 안 보이던 원인). 중증도 그라데이션 재설계: 1 고위험=solid red+흰글씨 → 5 옅은 중립.
  3. 헤더 — "Neuro-Sync 의료진" → "의료진용 대시보드".

검증(로컬)

.bg-state-danger CSS 생성 확인, 헤더 텍스트 반영, formatKST UTC→KST 변환 확인(10:53Z→19:53), tsc 통과.

🤖 Generated with Claude Code

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>
@Seohyunjho
Seohyunjho merged commit a4a532a into Master Jul 29, 2026
2 checks passed
@Seohyunjho
Seohyunjho deleted the feat/dashboard-tz-ctrs-polish branch July 29, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant