Merge branch 'main' into web-chat-create

# Conflicts:
#	web/PARITY.md
#	web/src/app.js
#	web/test/chat.test.mjs
#	web/test/ui-smoke.mjs
This commit is contained in:
2026-10-19 14:31:08 +01:00
11 changed files with 2339 additions and 80 deletions
+77 -2
View File
@@ -1434,6 +1434,11 @@ code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-
--------------------------------------------------------------------------- */
.chat-list { display: flex; flex-direction: column; }
/* A row's Chat actions menu hangs below the button. `.list` clips its children
for the rounded corners, which cut the panel off at the list's bottom edge and
made the final rows' Hide/Rename items unclickable. Unclip only while a menu is
open, mirroring `.list.runs`' filter-menu treatment. */
.chat-list.menu-open { overflow: visible; }
.chat-search { flex: 1 1 auto; min-width: 0; }
.chat-toolbar .chat-new { white-space: nowrap; }
@@ -1521,10 +1526,67 @@ code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-
.chat-row .row-meta { grid-column: 1; }
.chat-row-actions { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.chat-row-actions button { padding: 3px 10px; font-size: 12px; }
.chat-close { border-color: var(--warn); color: var(--warn); }
.chat-reopen { border-color: var(--accent); color: var(--accent); }
.chat-menu-wrap { position: relative; }
.chat-menu-button { min-width: 30px; font-size: 15px; line-height: 1; }
.chat-menu-panel {
position: absolute;
top: calc(100% + 4px);
right: 0;
z-index: 25;
display: grid;
min-width: 190px;
padding: 4px;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 10px;
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.chat-menu-item {
justify-content: flex-start;
padding: 7px 10px;
text-align: left;
font-size: 13px;
border: none;
white-space: nowrap;
}
.chat-menu-item:hover { background: var(--surface); }
.chat-menu-close { color: var(--warn); }
.chat-menu-reopen { color: var(--accent); }
.chat-closed-chip { opacity: 0.8; }
/* The Rename chat dialog (C13): a name kept on this device only. */
.chat-rename-field { display: grid; gap: 4px; }
.chat-rename-label { font-size: 12px; color: var(--muted); }
.chat-rename-helper { margin: 0; line-height: 1.5; font-size: 13px; color: var(--muted); }
.chat-rename-save:disabled { opacity: 0.5; }
/* The one hide report (C13): fixed above the pane, replaced rather than queued. */
.chat-snackbar {
position: fixed;
left: 50%;
bottom: 20px;
z-index: 35;
transform: translateX(-50%);
display: flex;
gap: 16px;
align-items: center;
max-width: min(560px, calc(100vw - 32px));
padding: 12px 16px;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 10px;
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
font-size: 13px;
}
.chat-snackbar-message { line-height: 1.4; }
.chat-snackbar-undo {
flex: none;
border-color: var(--accent);
color: var(--accent);
font-weight: 600;
font-size: 13px;
}
.chat-activity { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
.chat-activity-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chat-activity-streaming { color: var(--accent); }
@@ -2092,6 +2154,19 @@ code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-
}
.settings-warning-title { margin: 0; font-weight: 600; color: var(--bad); }
.settings-warning-body { margin: 0; font-size: 12.5px; color: var(--muted); }
.settings-notify-state {
margin: 0;
border: 1px solid var(--border);
border-radius: 10px;
background: var(--surface-2);
padding: 12px 14px;
font-size: 13px;
color: var(--muted);
}
.settings-notify-granted { border-color: color-mix(in srgb, var(--ok) 45%, var(--border)); color: var(--ok); }
.settings-notify-denied,
.settings-notify-insecure,
.settings-notify-unsupported { color: var(--warn); }
.settings-saved { margin: 0; font-size: 12px; color: var(--muted); }
.settings-save { justify-self: start; }
.settings-card {