세션 평가·라이브코치·교수자 분석 라운드 마감 + 문서 정리 + 코드품질 리팩터
- 누적 작업트리 커밋: 회기 평가 복구·durable 저장, 라이브 코치 이력/근거, 교수자 학생분석, 음성 비언어 메타, PII 마스킹, 운영 티켓/헬스 등 - 문서: 완료 기록 docs/archive/ 냉동 보관, docs/ 단일 인덱스(docs/README.md)+통합 TODO(docs/TODO.md)로 정리 - 리팩터(행위 보존): Stage enum SSOT(taxonomy 소유·state_machine re-export), store recent/masked_turns 중복 제거, speaker_ko_label 단일 헬퍼, _list_sessions N+1 제거(state/turns 배치 + 턴평가 하이드레이션 배치) - 검증: 백엔드 pytest 352 passed, _list_sessions E2E chromium-single-run 2 passed
This commit is contained in:
parent
7c41c3ce79
commit
778e8526d4
108 changed files with 6457 additions and 455 deletions
|
|
@ -1030,6 +1030,11 @@
|
|||
border-color: color-mix(in srgb, var(--warn-solid) 48%, transparent);
|
||||
color: var(--warn-text);
|
||||
}
|
||||
.sx-utt__coach-mark.is-degraded {
|
||||
border-color: color-mix(in srgb, var(--clay-deep) 55%, transparent);
|
||||
background: color-mix(in srgb, var(--clay-tint) 68%, var(--paper));
|
||||
color: var(--clay-deep);
|
||||
}
|
||||
.sx-utt__coach-mark:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 8px 18px rgba(35, 42, 48, 0.16);
|
||||
|
|
@ -1052,6 +1057,25 @@
|
|||
.sx-utt.is-partial .sx-utt__line {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.sx-utt.is-failed .sx-utt__line {
|
||||
background: color-mix(in srgb, var(--warn-tint) 74%, var(--paper));
|
||||
border: 1px dashed color-mix(in srgb, var(--warn-solid) 46%, transparent);
|
||||
color: var(--text-strong);
|
||||
}
|
||||
.sx-utt__status {
|
||||
align-self: center;
|
||||
display: inline-flex;
|
||||
flex: 0 0 auto;
|
||||
white-space: nowrap;
|
||||
border-radius: 999px;
|
||||
border: 1px solid color-mix(in srgb, var(--warn-solid) 34%, transparent);
|
||||
background: color-mix(in srgb, var(--warn-tint) 72%, var(--paper));
|
||||
color: var(--warn-text);
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
padding: 4px 7px;
|
||||
}
|
||||
.sx-utt.is-thinking .sx-utt__line {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
|
@ -1427,6 +1451,19 @@
|
|||
.sx-coach-card.is-warn .sx-coach-bubble {
|
||||
border-color: color-mix(in srgb, var(--warn-solid) 42%, transparent);
|
||||
}
|
||||
.sx-coach-card.is-degraded .sx-coach-avatar {
|
||||
background: color-mix(in srgb, var(--clay-tint) 76%, var(--paper-2));
|
||||
border-color: color-mix(in srgb, var(--clay-deep) 40%, transparent);
|
||||
}
|
||||
.sx-coach-card.is-degraded .sx-coach-bubble {
|
||||
border-color: color-mix(in srgb, var(--clay-deep) 42%, transparent);
|
||||
background: color-mix(in srgb, var(--clay-tint) 22%, var(--paper-2));
|
||||
}
|
||||
.sx-coach-card.is-degraded .sx-coach-bubble::before {
|
||||
background: color-mix(in srgb, var(--clay-tint) 22%, var(--paper-2));
|
||||
border-left-color: color-mix(in srgb, var(--clay-deep) 42%, transparent);
|
||||
border-bottom-color: color-mix(in srgb, var(--clay-deep) 42%, transparent);
|
||||
}
|
||||
.sx-coach-bubble__meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -1439,6 +1476,78 @@
|
|||
color: var(--text-strong);
|
||||
font-size: 12px;
|
||||
}
|
||||
.sx-coach-degraded-note {
|
||||
padding: 8px 9px;
|
||||
border-radius: 7px;
|
||||
border: 1px solid color-mix(in srgb, var(--clay-deep) 30%, transparent);
|
||||
background: color-mix(in srgb, var(--clay-tint) 38%, transparent);
|
||||
color: var(--clay-deep) !important;
|
||||
font-size: 11.5px !important;
|
||||
line-height: 1.45 !important;
|
||||
}
|
||||
.sx-coach-persistence-note {
|
||||
padding: 8px 9px;
|
||||
border-radius: 7px;
|
||||
border: 1px solid color-mix(in srgb, var(--warn-solid) 30%, transparent);
|
||||
background: color-mix(in srgb, var(--warn-tint) 58%, transparent);
|
||||
color: var(--warn-text) !important;
|
||||
font-size: 11.5px !important;
|
||||
font-weight: 700;
|
||||
line-height: 1.45 !important;
|
||||
}
|
||||
.sx-coach-quota {
|
||||
min-height: 26px;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto auto;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 6px 8px;
|
||||
border-radius: 7px;
|
||||
background: color-mix(in srgb, var(--paper) 72%, var(--accent-tint));
|
||||
color: var(--text-muted);
|
||||
font-size: 11px;
|
||||
}
|
||||
.sx-coach-quota b {
|
||||
color: var(--accent-deep);
|
||||
font-family: var(--font-num);
|
||||
font-size: 11.5px;
|
||||
font-weight: 800;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.sx-coach-quota__dots {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
.sx-coach-quota__dots i {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: color-mix(in srgb, var(--text-muted) 24%, transparent);
|
||||
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text-muted) 18%, transparent);
|
||||
}
|
||||
.sx-coach-quota__dots i.is-filled {
|
||||
background: var(--accent-deep);
|
||||
box-shadow: 0 0 0 3px var(--accent-tint);
|
||||
}
|
||||
.sx-coach-credit-pulse {
|
||||
justify-self: start;
|
||||
min-height: 24px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 5px 8px;
|
||||
border-radius: 999px;
|
||||
background: var(--paper);
|
||||
color: var(--text-body);
|
||||
border: 1px solid color-mix(in srgb, var(--text-muted) 22%, transparent);
|
||||
font: 760 11px/1 var(--font-num);
|
||||
animation: sxCoachCreditPulse 900ms var(--ease-out) both;
|
||||
}
|
||||
.sx-coach-credit-pulse.is-recharge {
|
||||
color: var(--pos-solid);
|
||||
border-color: color-mix(in srgb, var(--pos-solid) 34%, transparent);
|
||||
background: color-mix(in srgb, var(--pos-solid) 11%, var(--paper));
|
||||
}
|
||||
.sx-coach-bubble strong {
|
||||
display: block;
|
||||
color: var(--text-strong);
|
||||
|
|
@ -1494,6 +1603,20 @@
|
|||
opacity: 0.9;
|
||||
}
|
||||
}
|
||||
@keyframes sxCoachCreditPulse {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateY(4px) scale(0.96);
|
||||
}
|
||||
35% {
|
||||
opacity: 1;
|
||||
transform: translateY(0) scale(1.03);
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: translateY(0) scale(1);
|
||||
}
|
||||
}
|
||||
.sx-coach-history {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
|
|
@ -1535,6 +1658,26 @@
|
|||
font-size: 12.5px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
.sx-coach-credit-log {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin-top: 9px;
|
||||
}
|
||||
.sx-coach-credit-log span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 24px;
|
||||
padding: 4px 8px;
|
||||
border-radius: 999px;
|
||||
background: var(--paper-2);
|
||||
color: var(--text-muted);
|
||||
font: 720 11px/1 var(--font-num);
|
||||
}
|
||||
.sx-coach-credit-log span.is-recharge {
|
||||
background: color-mix(in srgb, var(--pos-solid) 12%, var(--paper));
|
||||
color: var(--pos-solid);
|
||||
}
|
||||
.sx-coach-history__head button {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
|
|
@ -1568,6 +1711,10 @@
|
|||
.sx-coach-history__item.is-warn {
|
||||
border-color: color-mix(in srgb, var(--warn-solid) 40%, transparent);
|
||||
}
|
||||
.sx-coach-history__item.is-degraded {
|
||||
border-color: color-mix(in srgb, var(--clay-deep) 42%, transparent);
|
||||
background: color-mix(in srgb, var(--clay-tint) 18%, var(--paper));
|
||||
}
|
||||
.sx-coach-history__item-top {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
|
|
@ -1576,6 +1723,18 @@
|
|||
color: var(--text-muted);
|
||||
font-size: 11.5px;
|
||||
}
|
||||
.sx-coach-degraded-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 22px;
|
||||
padding: 4px 7px;
|
||||
border-radius: 999px;
|
||||
background: color-mix(in srgb, var(--clay-tint) 70%, transparent);
|
||||
color: var(--clay-deep);
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.sx-coach-history__item-top time {
|
||||
font-family: var(--font-num);
|
||||
font-variant-numeric: tabular-nums;
|
||||
|
|
@ -1623,6 +1782,23 @@
|
|||
font-size: 13px;
|
||||
text-align: center;
|
||||
}
|
||||
.sx-coach-history__empty.is-error {
|
||||
border: 1px solid color-mix(in srgb, var(--warn-solid) 34%, transparent);
|
||||
background: color-mix(in srgb, var(--warn-tint) 68%, var(--paper));
|
||||
color: var(--warn-text);
|
||||
font-weight: 700;
|
||||
}
|
||||
.sx-coach-history__source-alert {
|
||||
margin-top: 8px;
|
||||
display: inline-flex;
|
||||
padding: 6px 8px;
|
||||
border-radius: 7px;
|
||||
border: 1px solid color-mix(in srgb, var(--warn-solid) 28%, transparent);
|
||||
background: color-mix(in srgb, var(--warn-tint) 54%, var(--paper));
|
||||
color: var(--warn-text);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.sx-coach-source-list--compact {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
|
@ -2124,6 +2300,10 @@
|
|||
padding: 7px 12px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
transition:
|
||||
background var(--dur-fast) var(--ease-out),
|
||||
color var(--dur-fast) var(--ease-out);
|
||||
|
|
@ -2138,6 +2318,28 @@
|
|||
font-weight: 600;
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
.sx-segmented__badge {
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
border-radius: 999px;
|
||||
background: var(--accent-deep);
|
||||
color: #fff;
|
||||
font: 800 10.5px/1 var(--font-num);
|
||||
font-variant-numeric: tabular-nums;
|
||||
box-shadow: 0 0 0 2px var(--accent-tint);
|
||||
}
|
||||
.sx-segmented button:not(.is-on) .sx-segmented__badge {
|
||||
background: color-mix(in srgb, var(--accent-deep) 72%, var(--text-muted));
|
||||
box-shadow: none;
|
||||
}
|
||||
.sx-segmented__badge.is-empty,
|
||||
.sx-segmented button:not(.is-on) .sx-segmented__badge.is-empty {
|
||||
background: color-mix(in srgb, var(--text-muted) 38%, transparent);
|
||||
color: var(--text-muted);
|
||||
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text-muted) 25%, transparent);
|
||||
}
|
||||
|
||||
.sx-cb-spacer {
|
||||
flex: 1;
|
||||
|
|
@ -3722,6 +3924,8 @@
|
|||
.sx-mic.is-on::after,
|
||||
.sx-utt__caret,
|
||||
.sx-utt__dots i,
|
||||
.sx-coach-credit-pulse,
|
||||
.sx-coach-card.is-loading .sx-coach-avatar__lens,
|
||||
.sx-transcript__live-dot.is-live {
|
||||
animation: none !important;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue