fix: show codexapp steer insertion status

This commit is contained in:
shiyue
2026-06-15 13:48:40 +08:00
parent ed3238fa49
commit 0849666a6e
5 changed files with 229 additions and 18 deletions

View File

@@ -1901,6 +1901,64 @@ body.session-loading-active {
border-bottom-right-radius: 4px;
padding-right: 42px;
}
.msg.user.codex-steer-message .msg-bubble {
padding-bottom: 10px;
}
.msg.user.codex-steer-pending .msg-avatar,
.msg.user.codex-steer-inserted .msg-avatar,
.msg.user.codex-steer-failed .msg-avatar {
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
color: var(--text-muted);
}
.msg.user.codex-steer-pending .msg-bubble {
background: var(--bg-tertiary);
border: 1px dashed var(--border-color);
color: var(--text-secondary);
}
.msg.user.codex-steer-inserted .msg-bubble {
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
color: var(--text-secondary);
opacity: 0.94;
}
.msg.user.codex-steer-failed .msg-bubble {
background: rgba(220, 53, 69, 0.1);
border: 1px solid rgba(220, 53, 69, 0.32);
color: var(--danger);
}
.codex-steer-status {
display: flex;
align-items: center;
gap: 6px;
margin-top: 6px;
font-size: 11px;
font-weight: 700;
line-height: 1.2;
opacity: 0.88;
}
.codex-steer-status::before {
content: '';
width: 6px;
height: 6px;
border-radius: 999px;
background: currentColor;
opacity: 0.72;
}
.codex-steer-status[data-status='pending'] {
color: var(--text-muted);
}
.codex-steer-status[data-status='inserted'] {
color: var(--success);
}
.codex-steer-status[data-status='failed'] {
color: var(--danger);
}
.msg.user.codex-steer-pending .msg-copy-btn {
background: rgba(255, 255, 255, 0.08);
border-color: var(--border-color);
color: var(--text-muted);
}
.msg-copy-btn {
position: absolute;
top: 8px;
@@ -2082,6 +2140,23 @@ body.session-loading-active {
text-align: center;
white-space: pre-line;
}
.msg.system.transient .msg-bubble {
border-style: solid;
box-shadow: 0 6px 18px rgba(27, 39, 51, 0.08);
}
.msg.system .msg-bubble[data-tone='danger'] {
border-color: rgba(220, 53, 69, 0.34);
color: var(--danger);
}
.msg.system .msg-bubble[data-tone='info'] {
border-color: rgba(58, 134, 255, 0.26);
color: var(--text-secondary);
}
.msg.system.is-dismissing {
opacity: 0;
transform: translateY(-4px);
transition: opacity 0.22s ease, transform 0.22s ease;
}
.msg.system .system-message-text {
display: block;
padding-right: 26px;