fix(webui): add spring feedback at the history boundary (#6322)
* fix(webui): add spring feedback at the history boundary Refs NAN-287. * fix(webui): refine history boundary states and retry feedback * fix(webui): share history loading states with subagents
This commit is contained in:
1 parent
a1bca7dc50
commit
816c9221a0
27 files changed
+910
-209
No files matched your search
@@ -535,6 +535,53 @@
|
||||
.thread-message-end-gap {
|
||||
height: var(--thread-composer-fade-height);
|
||||
}
|
||||
|
||||
.thread-history-status {
|
||||
height: calc(48px + var(--history-pull, 0px));
|
||||
background: linear-gradient(hsl(var(--background)) 35%, hsl(var(--background) / 0));
|
||||
color: hsl(var(--muted-foreground));
|
||||
}
|
||||
.thread-history-control {
|
||||
display: flex;
|
||||
width: 120px;
|
||||
height: 44px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
/* loading.dev Blocks, Copyright (c) 2026 Jakub Krehel (MIT); THIRD_PARTY_NOTICES.md. */
|
||||
.thread-history-blocks {
|
||||
color: #d35e14;
|
||||
display: grid;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-template-rows: repeat(3, 1fr);
|
||||
gap: 2px;
|
||||
}
|
||||
.thread-history-blocks > span {
|
||||
background: currentColor;
|
||||
border-radius: 1.25px;
|
||||
animation: thread-history-blocks 1300ms ease-in-out infinite;
|
||||
}
|
||||
.thread-history-status[data-state="error"] .thread-history-blocks {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
color: hsl(var(--destructive));
|
||||
}
|
||||
.thread-history-status[data-state="error"] .thread-history-blocks > span {
|
||||
animation: none;
|
||||
transform: none;
|
||||
}
|
||||
@keyframes thread-history-blocks {
|
||||
0%, 70%, 100% { transform: scale(1); }
|
||||
35% { transform: scale(0); }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.thread-history-blocks > span {
|
||||
animation: none;
|
||||
transform: scale(0.8);
|
||||
}
|
||||
}
|
||||
.thread-composer-dock {
|
||||
background: hsl(var(--background));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user