feat(input): expand Araso Han/Eng contractions, acronyms, typo recovery, and fast cursor-tail replacement
This commit is contained in:
parent
51bf664302
commit
f403111256
80 changed files with 1449 additions and 458 deletions
|
|
@ -218,7 +218,7 @@ export function ActionRunner(): React.ReactElement {
|
|||
sx={{
|
||||
bgcolor: d3roPalette.tag.purpleBg,
|
||||
color: d3roPalette.tag.purple,
|
||||
fontFamily: 'monospace'
|
||||
fontFamily: 'var(--d3-font-mono)'
|
||||
}}
|
||||
/>
|
||||
</Box>
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ export function ChatPanel(): React.ReactElement {
|
|||
sx={{
|
||||
fontFamily: d3roFontMono,
|
||||
fontSize: '11px',
|
||||
letterSpacing: '0.2em',
|
||||
letterSpacing: 0,
|
||||
fontWeight: 500,
|
||||
color: 'var(--d3-text-label)'
|
||||
}}
|
||||
|
|
@ -232,7 +232,7 @@ export function ChatPanel(): React.ReactElement {
|
|||
animation: 'pulse 1s infinite'
|
||||
}}
|
||||
/>
|
||||
<IconButton size="small" onClick={() => setMessages([])} sx={{ color: 'var(--d3-text-label)', ml: 1 }}>
|
||||
<IconButton aria-label="대화 초기화" size="small" onClick={() => setMessages([])} sx={{ color: 'var(--d3-text-label)', ml: 1 }}>
|
||||
<Trash2 size={15} />
|
||||
</IconButton>
|
||||
</Box>
|
||||
|
|
@ -282,7 +282,7 @@ export function ChatPanel(): React.ReactElement {
|
|||
<Typography
|
||||
sx={{
|
||||
fontFamily: d3roFontMono,
|
||||
fontSize: '9px',
|
||||
fontSize: '11px',
|
||||
color: 'var(--d3-text-label)',
|
||||
mt: 0.5,
|
||||
textAlign: msg.role === 'user' ? 'right' : 'left',
|
||||
|
|
@ -319,11 +319,15 @@ export function ChatPanel(): React.ReactElement {
|
|||
borderRadius: '14px',
|
||||
border: '1px solid var(--d3-border-default)',
|
||||
p: 1,
|
||||
gap: 1
|
||||
gap: 1,
|
||||
'&:focus-within': {
|
||||
borderColor: 'var(--d3-accent-main)'
|
||||
}
|
||||
}}
|
||||
>
|
||||
<input
|
||||
type="text"
|
||||
aria-label="메시지 입력"
|
||||
value={input}
|
||||
onChange={(e) => setInput(e.target.value)}
|
||||
onKeyDown={(e) => {
|
||||
|
|
@ -337,13 +341,13 @@ export function ChatPanel(): React.ReactElement {
|
|||
flex: 1,
|
||||
background: 'transparent',
|
||||
border: 'none',
|
||||
outline: 'none',
|
||||
color: 'var(--d3-text-secondary)',
|
||||
fontSize: '14px',
|
||||
paddingLeft: '12px'
|
||||
}}
|
||||
/>
|
||||
<IconButton
|
||||
aria-label="메시지 보내기"
|
||||
onClick={() => void handleSend()}
|
||||
disabled={busy || !input.trim()}
|
||||
sx={{
|
||||
|
|
@ -351,7 +355,7 @@ export function ChatPanel(): React.ReactElement {
|
|||
height: 36,
|
||||
bgcolor: 'var(--d3-accent-glow)',
|
||||
color: 'var(--d3-accent-main)',
|
||||
'&:hover': { bgcolor: 'var(--d3-accent-main)', color: 'var(--d3-text-inverse)' }
|
||||
'&:hover': { bgcolor: 'var(--d3-accent-solid)', color: 'var(--d3-accent-ink)' }
|
||||
}}
|
||||
>
|
||||
<Send size={16} />
|
||||
|
|
@ -361,11 +365,11 @@ export function ChatPanel(): React.ReactElement {
|
|||
<Box sx={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', mt: 1.5, px: 1 }}>
|
||||
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1 }}>
|
||||
<Box sx={{ width: 6, height: 6, borderRadius: '50%', bgcolor: 'var(--d3-tag-green)', boxShadow: '0 0 5px var(--d3-tag-green)' }} />
|
||||
<Typography sx={{ fontFamily: d3roFontMono, fontSize: '9px', color: 'var(--d3-text-label)' }}>
|
||||
<Typography sx={{ fontFamily: d3roFontMono, fontSize: '11px', color: 'var(--d3-text-label)' }}>
|
||||
CLOUD CLAUDE
|
||||
</Typography>
|
||||
</Box>
|
||||
<Typography sx={{ fontFamily: d3roFontMono, fontSize: '9px', color: 'var(--d3-text-label)', opacity: 0.5 }}>
|
||||
<Typography sx={{ fontFamily: d3roFontMono, fontSize: '11px', color: 'var(--d3-text-label)', opacity: 0.5 }}>
|
||||
PRECISION DATA LINK
|
||||
</Typography>
|
||||
</Box>
|
||||
|
|
|
|||
|
|
@ -115,7 +115,8 @@ export function KnowledgeSearch(): React.ReactElement {
|
|||
borderRadius: 0.5,
|
||||
bgcolor: d3roPalette.tag.greenBg,
|
||||
color: d3roPalette.tag.green,
|
||||
fontSize: 10
|
||||
fontSize: 11,
|
||||
fontVariantNumeric: 'tabular-nums'
|
||||
}}
|
||||
>
|
||||
{Math.round(r.similarity * 100)}%
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
'use client'
|
||||
'use client'
|
||||
|
||||
// apps/web/src/components/layout/sidebar.tsx
|
||||
// D3RO VOICE 대시보드 좌측 사이드바 — 정본 네비게이션
|
||||
|
|
@ -134,11 +134,11 @@ export function Sidebar(): React.ReactElement {
|
|||
}}
|
||||
/>
|
||||
</Box>
|
||||
<PhosphorText variant="heading" sx={{ letterSpacing: '0.1em' }}>
|
||||
<PhosphorText variant="heading">
|
||||
D3RO VOICE
|
||||
</PhosphorText>
|
||||
</Box>
|
||||
<Box sx={{ fontSize: '10px', fontFamily: 'ui-monospace, monospace', color: d3roPalette.text.muted }}>
|
||||
<Box sx={{ fontSize: '11px', fontFamily: 'var(--d3-font-mono)', color: d3roPalette.text.muted }}>
|
||||
v1.11.0
|
||||
</Box>
|
||||
</Box>
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ export function DocumentEditor({ doc }: DocumentEditorProps): React.ReactElement
|
|||
placeholder="제목"
|
||||
sx={{ flex: 1, mr: 2 }}
|
||||
/>
|
||||
<IconButton onClick={() => setOpen(false)} size="small">
|
||||
<IconButton aria-label="닫기" onClick={() => setOpen(false)} size="small">
|
||||
<CloseIcon />
|
||||
</IconButton>
|
||||
</Stack>
|
||||
|
|
@ -153,7 +153,7 @@ export function DocumentEditor({ doc }: DocumentEditorProps): React.ReactElement
|
|||
variant="outlined"
|
||||
slotProps={{
|
||||
input: {
|
||||
style: { fontFamily: 'monospace', fontSize: 13 }
|
||||
style: { fontFamily: 'var(--d3-font-mono)', fontSize: 13 }
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -97,7 +97,8 @@ export function LiveTranscriptList({
|
|||
borderRadius: 0.5,
|
||||
bgcolor: d3roPalette.tag.orangeBg,
|
||||
color: d3roPalette.tag.orange,
|
||||
fontSize: 9
|
||||
fontSize: 11,
|
||||
fontWeight: 500
|
||||
}}
|
||||
>
|
||||
EDITED
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ export function MemoForm({ meetingId, meetingStartedAt }: MemoFormProps): React.
|
|||
{error}
|
||||
</Alert>
|
||||
)}
|
||||
<Box sx={{ color: d3roPalette.text.muted, fontSize: 10, mt: 0.5 }}>
|
||||
<Box sx={{ color: d3roPalette.text.muted, fontSize: 11, mt: 0.5 }}>
|
||||
회의 시작 후 경과 시간으로 timestamp_ms가 자동 계산됩니다.
|
||||
</Box>
|
||||
</Box>
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@ export function MicRecorder(): React.ReactElement {
|
|||
sx={{
|
||||
fontFamily: d3roFontMono,
|
||||
fontSize: '11px',
|
||||
letterSpacing: '0.2em',
|
||||
letterSpacing: 0,
|
||||
fontWeight: 500,
|
||||
color: state === 'recording' ? 'var(--d3-accent-main)' : 'var(--d3-text-label)'
|
||||
}}
|
||||
|
|
@ -376,9 +376,9 @@ export function MicRecorder(): React.ReactElement {
|
|||
<Typography
|
||||
sx={{
|
||||
fontFamily: d3roFontMono,
|
||||
fontSize: '10px',
|
||||
fontSize: '11px',
|
||||
color: state === 'recording' ? 'var(--d3-accent-main)' : 'var(--d3-text-label)',
|
||||
letterSpacing: '0.1em'
|
||||
letterSpacing: 0
|
||||
}}
|
||||
>
|
||||
{state === 'recording' ? 'LISTENING_' : 'STANDBY'}
|
||||
|
|
@ -424,9 +424,9 @@ export function MicRecorder(): React.ReactElement {
|
|||
<Typography
|
||||
sx={{
|
||||
fontFamily: d3roFontMono,
|
||||
fontSize: '9px',
|
||||
fontSize: '11px',
|
||||
color: 'var(--d3-text-label)',
|
||||
letterSpacing: '0.15em',
|
||||
letterSpacing: 0,
|
||||
opacity: 0.6
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue