web: unify detail headers, queue follow-ups, move thinking outside bubbles

Every detail screen now owns one 44px chevron Back control beside its title.
Sending appends the user's message immediately and keeps Send available beside
Stop so a follow-up can be queued. Reasoning renders above the answer bubble
rather than inside it.
This commit is contained in:
2026-10-20 10:37:57 +01:00
parent 607356702a
commit 3f8eefe06e
9 changed files with 157 additions and 81 deletions
+40 -7
View File
@@ -160,14 +160,24 @@ body {
.pane-back button {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: var(--density-control-height-small);
font-size: 13px;
color: var(--color-muted);
background: transparent;
border-color: transparent;
justify-content: center;
}
.pane-back button:hover { color: var(--color-text); background: var(--tint-hover); }
/* One Back control for every detail screen: a 44px bordered cell and a chevron. */
button.back-button {
width: 44px;
height: 44px;
min-width: 44px;
min-height: 44px;
padding: 0;
align-items: center;
justify-content: center;
border: 1px solid var(--color-border);
border-radius: var(--radius-control);
background: var(--color-surface-2);
color: var(--color-text);
}
button.back-button:hover { background: var(--color-elevated); }
.back-button .back-chevron { width: 22px; height: 22px; flex: none; }
/* ---- Destination rail (wide) ------------------------------------------- */
@@ -653,3 +663,26 @@ body {
.dock-badge { top: 4px; right: 8px; }
.dock-status { min-height: 32px; font-size: 12px; }
}
/* The shared detail header: back control + the screen's own h1. */
.detail-head {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
padding: 10px var(--space-m) 0;
background: var(--color-bg);
}
.detail-head #detailTitle {
min-width: 0;
margin: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.detail-head .back-button { flex: 0 0 auto; }
@media (min-width: 600px) {
.detail-head .back-button { display: none; }
.detail-head { padding-top: var(--space-s); }
}