mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 01:04:36 +00:00
Improve web-ui message and tool UX
- Add collapsible thinking blocks with shimmer animation during streaming - Update user messages to use orange gradient pill styling (matching sitegeist) - Fix cost display to only show for completed messages, not while streaming - Update tool renderers to use ChevronsUpDown/ChevronUp icons instead of rotating ChevronRight - Export ThinkingBlock component from public API
This commit is contained in:
parent
cac353b3fe
commit
389c80d7a8
6 changed files with 106 additions and 21 deletions
|
|
@ -42,3 +42,26 @@ body {
|
|||
.fixed.inset-0 button[type="button"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Shimmer animation for thinking text */
|
||||
@keyframes shimmer {
|
||||
0% {
|
||||
background-position: -200% 0;
|
||||
}
|
||||
100% {
|
||||
background-position: 200% 0;
|
||||
}
|
||||
}
|
||||
|
||||
.animate-shimmer {
|
||||
animation: shimmer 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
/* User message with fancy pill styling */
|
||||
.user-message-container {
|
||||
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
position: relative;
|
||||
background: linear-gradient(135deg, rgba(217, 79, 0, 0.12), rgba(255, 107, 0, 0.12), rgba(212, 165, 0, 0.12));
|
||||
border: 1px solid rgba(255, 107, 0, 0.25);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue