ЮИ - фикс кодировки + порядок в карточках автопрогонов
This commit is contained in:
+11
-11
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -4,8 +4,8 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>NDC AI Normalizer Playground</title>
|
||||
<script type="module" crossorigin src="/assets/index-DWgwfAPc.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-sbJz56_k.css">
|
||||
<script type="module" crossorigin src="/assets/index-6meEannb.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BURU4_Sm.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -3076,7 +3076,6 @@ export function AutoRunsHistoryPanel({
|
||||
<header>
|
||||
<strong>{formatAutoGenGenerationTitle(item)}</strong>
|
||||
<div className="autoruns-autogen-card-actions">
|
||||
<span>{formatDateTime(item.created_at)}</span>
|
||||
<button
|
||||
type="button"
|
||||
className="autoruns-autogen-delete-btn"
|
||||
@@ -3092,8 +3091,15 @@ export function AutoRunsHistoryPanel({
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
<div className="autoruns-run-meta autoruns-run-id-row">
|
||||
<span>{item.generation_id}</span>
|
||||
<div className="autoruns-saved-session-meta">
|
||||
<strong className="autoruns-saved-session-meta-label">Дата и время</strong>
|
||||
<span className="autoruns-saved-session-meta-value">| {formatDateTime(item.created_at)}</span>
|
||||
</div>
|
||||
<div className="autoruns-saved-session-meta autoruns-saved-session-meta-id">
|
||||
<div className="autoruns-saved-session-meta-id-main">
|
||||
<strong className="autoruns-saved-session-meta-label">ID</strong>
|
||||
<span className="autoruns-saved-session-meta-value">| {item.generation_id}</span>
|
||||
</div>
|
||||
<span
|
||||
role="button"
|
||||
tabIndex={0}
|
||||
@@ -3111,14 +3117,22 @@ export function AutoRunsHistoryPanel({
|
||||
<CopyOutlineIcon />
|
||||
</span>
|
||||
</div>
|
||||
<div className="autoruns-run-meta">
|
||||
режим={formatAutoGenModeLabel(item.mode)}
|
||||
<div className="autoruns-saved-session-meta">
|
||||
<strong className="autoruns-saved-session-meta-label">Режим</strong>
|
||||
<span className="autoruns-saved-session-meta-value">| {formatAutoGenModeLabel(item.mode)}</span>
|
||||
</div>
|
||||
<div className="autoruns-run-meta">
|
||||
тип={isAgentSemanticGeneration(item) ? "АГЕНТНЫЙ ПРОГОН" : "АВТОПРОГОН"}
|
||||
<div className="autoruns-saved-session-meta">
|
||||
<strong className="autoruns-saved-session-meta-label">Тип</strong>
|
||||
<span className="autoruns-saved-session-meta-value">
|
||||
| {isAgentSemanticGeneration(item) ? "АГЕНТНЫЙ ПРОГОН" : "АВТОПРОГОН"}
|
||||
</span>
|
||||
</div>
|
||||
{isSavedUserSessionsMode ? (
|
||||
<>
|
||||
<div className="autoruns-saved-session-meta">
|
||||
<strong className="autoruns-saved-session-meta-label">Количество вопросов</strong>
|
||||
<span className="autoruns-saved-session-meta-value">| {item.questions.length}</span>
|
||||
</div>
|
||||
<div className="autoruns-saved-session-footer">
|
||||
<button
|
||||
type="button"
|
||||
|
||||
@@ -1558,6 +1558,57 @@ button:disabled {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.autoruns-saved-session-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
flex-wrap: wrap;
|
||||
font-size: 0.74rem;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.autoruns-saved-session-meta-label {
|
||||
font-size: inherit;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.autoruns-saved-session-meta-value {
|
||||
color: rgba(255, 255, 255, 0.82);
|
||||
}
|
||||
|
||||
.autoruns-saved-session-meta-id {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
flex-wrap: nowrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.autoruns-saved-session-meta-id-main {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
flex: 1 1 auto;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.autoruns-saved-session-meta-id-main .autoruns-saved-session-meta-value {
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.autoruns-saved-session-meta-id .autoruns-copy-run-id-btn {
|
||||
color: rgba(255, 255, 255, 0.82);
|
||||
margin-left: auto;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.autoruns-saved-session-meta-id .autoruns-copy-run-id-btn:hover {
|
||||
color: rgb(var(--rgb-active));
|
||||
}
|
||||
|
||||
.autoruns-saved-session-topbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -1570,6 +1621,7 @@ button:disabled {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
gap: 10px;
|
||||
min-height: 20px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user