Merge branch 'main' into web-routes
Resolve the L6 routes against the newer C2/C13/L5/R10 shell: keep both sides (single client imports, the run-alert watch inside the reconnect path, the boot route + popstate wiring alongside loadNotifyAsked, main's L5 row and L6 done).
This commit is contained in:
+141
-2
@@ -1437,7 +1437,76 @@ 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; }
|
||||
|
||||
/* C2: the create pane — the directory picker, the model note and the footer that
|
||||
names the value chat_create will send. */
|
||||
.chat-create { gap: 12px; }
|
||||
.chat-bar.chat-create-bar { align-items: center; justify-content: flex-start; gap: 10px; }
|
||||
.chat-create-back {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
padding: 0;
|
||||
flex: none;
|
||||
}
|
||||
.chat-create-back-glyph { font-size: 16px; line-height: 1; }
|
||||
.detail .chat-create-title { margin: 0; }
|
||||
.chat-create-loading { padding: 18px 4px; }
|
||||
.chat-create-prompt { padding: 2px 2px 0; font-size: 13px; }
|
||||
.chat-create-choices {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.chat-create-choice { cursor: pointer; }
|
||||
.chat-create-choice-path {
|
||||
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
|
||||
font-size: 11px;
|
||||
}
|
||||
.chat-create-directories-error { color: var(--bad); }
|
||||
.chat-create-error { color: var(--bad); font-size: 13px; }
|
||||
.chat-create-model-note { margin: 0; font-size: 12px; line-height: 1.5; max-width: 64ch; }
|
||||
.chat-create-footer {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
margin-top: auto;
|
||||
padding: 12px;
|
||||
background: var(--surface-2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
}
|
||||
.chat-create-start {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 13px;
|
||||
}
|
||||
.chat-create-confirm {
|
||||
min-width: 88px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-color: var(--accent);
|
||||
color: var(--accent);
|
||||
font-weight: 600;
|
||||
}
|
||||
.chat-create-confirm:disabled,
|
||||
.chat-create-cancel:disabled { opacity: 0.55; }
|
||||
.chat-create-spinner { width: 14px; height: 14px; border-width: 2px; }
|
||||
|
||||
.chat-group-header {
|
||||
padding: 8px 12px 4px;
|
||||
@@ -1460,10 +1529,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); }
|
||||
@@ -2031,6 +2157,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 {
|
||||
|
||||
Reference in New Issue
Block a user