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
|
|
@ -372,7 +372,7 @@ export default function ServiceModelsPage(): React.ReactElement {
|
|||
fontFamily: FONT_MONO,
|
||||
fontSize: '11px',
|
||||
color: C.dim,
|
||||
letterSpacing: '0.04em',
|
||||
letterSpacing: 0,
|
||||
mt: 0.25,
|
||||
}}
|
||||
>
|
||||
|
|
@ -457,7 +457,7 @@ export default function ServiceModelsPage(): React.ReactElement {
|
|||
width: 44,
|
||||
height: 44,
|
||||
borderRadius: '12px',
|
||||
bgcolor: 'var(--d3-tag-cyan)',
|
||||
bgcolor: 'var(--d3-tag-cyanBg)',
|
||||
border: '1px solid var(--d3-tag-cyan)',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
|
|
@ -483,7 +483,7 @@ export default function ServiceModelsPage(): React.ReactElement {
|
|||
</Box>
|
||||
|
||||
<Box sx={{ display: 'flex', alignItems: 'center', gap: 2 }}>
|
||||
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.cyanLight, bgcolor: 'var(--d3-tag-cyan)', px: 1.5, py: 0.75, borderRadius: '8px', border: `1px solid ${C.borderHl}` }}>
|
||||
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.cyanLight, bgcolor: 'var(--d3-tag-cyanBg)', px: 1.5, py: 0.75, borderRadius: '8px', border: `1px solid ${C.borderHl}` }}>
|
||||
🛡️ Auto Failover Route: {sttEndpoints.map((e) => e.providerType).join(' ➔ ')}
|
||||
</Typography>
|
||||
</Box>
|
||||
|
|
@ -536,7 +536,7 @@ export default function ServiceModelsPage(): React.ReactElement {
|
|||
</Box>
|
||||
<Box component="td" sx={{ fontWeight: 600, color: C.bright }}>
|
||||
{ep.name}
|
||||
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim, mt: 0.25, maxWidth: 220, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
|
||||
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim, mt: 0.25, maxWidth: 220, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
|
||||
{ep.endpointUrl}
|
||||
</Typography>
|
||||
</Box>
|
||||
|
|
@ -556,7 +556,7 @@ export default function ServiceModelsPage(): React.ReactElement {
|
|||
</Box>
|
||||
<Box component="td">
|
||||
{ep.isDefault ? (
|
||||
<Box component="span" sx={{ px: 1, py: 0.3, borderRadius: '4px', bgcolor: 'var(--d3-status-success)', color: C.green400, fontSize: '10px', fontWeight: 500 }}>
|
||||
<Box component="span" sx={{ px: 1, py: 0.3, borderRadius: '4px', bgcolor: 'var(--d3-status-successBg)', color: C.green400, fontSize: '11px', fontWeight: 500 }}>
|
||||
⭐ DEFAULT
|
||||
</Box>
|
||||
) : (
|
||||
|
|
@ -574,12 +574,12 @@ export default function ServiceModelsPage(): React.ReactElement {
|
|||
onClick={() => handleSetDefaultStt(ep.id)}
|
||||
sx={{
|
||||
fontFamily: FONT_SANS,
|
||||
fontSize: '10px',
|
||||
fontSize: '11px',
|
||||
color: C.green400,
|
||||
borderColor: 'var(--d3-status-success)',
|
||||
px: 1,
|
||||
py: 0.25,
|
||||
'&:hover': { bgcolor: 'var(--d3-status-success)', borderColor: C.green400 },
|
||||
'&:hover': { bgcolor: 'var(--d3-status-successBg)', borderColor: C.green400 },
|
||||
}}
|
||||
>
|
||||
Set Default
|
||||
|
|
@ -591,7 +591,7 @@ export default function ServiceModelsPage(): React.ReactElement {
|
|||
onClick={() => handlePingStt(ep.id)}
|
||||
sx={{
|
||||
fontFamily: FONT_MONO,
|
||||
fontSize: '10px',
|
||||
fontSize: '11px',
|
||||
color: C.bright,
|
||||
borderColor: C.borderHl,
|
||||
px: 1,
|
||||
|
|
@ -607,7 +607,7 @@ export default function ServiceModelsPage(): React.ReactElement {
|
|||
onClick={() => openEditSttModal(ep)}
|
||||
sx={{
|
||||
fontFamily: FONT_SANS,
|
||||
fontSize: '10px',
|
||||
fontSize: '11px',
|
||||
color: C.dim,
|
||||
borderColor: C.border,
|
||||
px: 1,
|
||||
|
|
@ -621,7 +621,7 @@ export default function ServiceModelsPage(): React.ReactElement {
|
|||
size="small"
|
||||
color="error"
|
||||
onClick={() => handleDeleteStt(ep.id)}
|
||||
sx={{ fontFamily: FONT_MONO, fontSize: '10px', px: 1, py: 0.25 }}
|
||||
sx={{ fontFamily: FONT_MONO, fontSize: '11px', px: 1, py: 0.25 }}
|
||||
>
|
||||
Delete
|
||||
</Button>
|
||||
|
|
@ -676,7 +676,7 @@ export default function ServiceModelsPage(): React.ReactElement {
|
|||
<Box component="td" sx={{ fontFamily: FONT_MONO, fontSize: '12px', color: C.bright, fontWeight: 600 }}>
|
||||
{ep.modelId}
|
||||
{ep.isDefault && (
|
||||
<Box component="span" sx={{ ml: 1, px: 0.75, py: 0.1, borderRadius: '4px', bgcolor: 'var(--d3-accent-glow)', color: C.cyanLight, fontSize: '9px' }}>
|
||||
<Box component="span" sx={{ ml: 1, px: 0.75, py: 0.1, borderRadius: '4px', bgcolor: 'var(--d3-accent-glow)', color: C.cyanLight, fontSize: '11px' }}>
|
||||
DEFAULT
|
||||
</Box>
|
||||
)}
|
||||
|
|
@ -711,7 +711,7 @@ export default function ServiceModelsPage(): React.ReactElement {
|
|||
onClick={() => handleDeleteLlm(ep.id)}
|
||||
sx={{
|
||||
fontFamily: FONT_MONO,
|
||||
fontSize: '10px',
|
||||
fontSize: '11px',
|
||||
color: C.bright,
|
||||
borderColor: C.borderHl,
|
||||
px: 1,
|
||||
|
|
@ -740,8 +740,7 @@ export default function ServiceModelsPage(): React.ReactElement {
|
|||
fullWidth
|
||||
PaperProps={{
|
||||
sx: {
|
||||
bgcolor: 'var(--d3-bg-card-soft)',
|
||||
backdropFilter: 'blur(32px)',
|
||||
bgcolor: C.card,
|
||||
border: `1px solid ${C.borderHl}`,
|
||||
borderRadius: '20px',
|
||||
boxShadow: '0 24px 60px var(--d3-scrim)',
|
||||
|
|
@ -1013,8 +1012,7 @@ export default function ServiceModelsPage(): React.ReactElement {
|
|||
fullWidth
|
||||
PaperProps={{
|
||||
sx: {
|
||||
bgcolor: 'var(--d3-bg-card-soft)',
|
||||
backdropFilter: 'blur(32px)',
|
||||
bgcolor: C.card,
|
||||
border: `1px solid ${C.borderHl}`,
|
||||
borderRadius: '20px',
|
||||
boxShadow: '0 24px 60px var(--d3-scrim)',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue