fix(webui): stabilize earlier-history loading and reclaim space (#6349)

* fix(webui): retain smoothly revealed history loading headers

* refactor(webui): simplify history loading feedback

* fix(webui): keep retained history headers clear of preceding text

* fix(webui): reclaim completed history loading space

* refactor(webui): group history projection handoff with navigation

* test(webui): synchronize history motion observations

* fix(webui): collapse history completion geometry handoff
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-21 13:10:05 +08:00
1 parent 73a55e0b2f
commit 743c51e81f
24 files changed
+1658 -356

No files matched your search

+12 -3
View File
@@ -607,10 +607,16 @@
}
.thread-history-status {
height: calc(48px + var(--history-pull, 0px));
height: 48px;
background: linear-gradient(hsl(var(--background)) 35%, hsl(var(--background) / 0));
color: hsl(var(--muted-foreground));
}
.thread-history-reveal {
transform: translateY(calc(var(--history-pull, 0px) - 100%));
}
.thread-history-reveal:focus-within {
transform: none;
}
.thread-history-control {
display: flex;
width: 120px;
@@ -620,7 +626,7 @@
}
/* loading.dev Blocks, Copyright (c) 2026 Jakub Krehel (MIT); THIRD_PARTY_NOTICES.md. */
.thread-history-blocks {
color: #d35e14;
color: hsl(var(--muted-foreground));
display: grid;
width: 20px;
height: 20px;
@@ -638,7 +644,7 @@
height: 24px;
color: hsl(var(--destructive));
}
.thread-history-status[data-state="error"] .thread-history-blocks > span {
.thread-history-status:not([data-state="loading"]):not([data-state="error"]) .thread-history-blocks > span {
animation: none;
transform: none;
}
@@ -647,6 +653,9 @@
35% { transform: scale(0); }
}
@media (prefers-reduced-motion: reduce) {
.thread-history-feedback {
transform: none;
}
.thread-history-blocks > span {
animation: none;
transform: scale(0.8);