Simplify thinking state

This commit is contained in:
Jason Zimdars
2025-08-07 12:25:06 -05:00
committed by Stanko K.R.
parent 07f3bcd225
commit de74f8ded0
2 changed files with 7 additions and 18 deletions
+5 -12
View File
@@ -35,6 +35,11 @@
.input--textarea {
--input-padding: 0.5em !important;
}
.conversation:has(.conversation__thinking-indicator--thinking) & {
animation: pulse 1.5s infinite;
pointer-events: none;
}
}
.conversation__message {
@@ -85,18 +90,6 @@
}
}
.conversation__thinking-indicator {
padding: var(--block-space);
}
.conversation__thinking-indicator--ready {
display: none;
}
.conversation__thinking-indicator--thinking {
display: block;
}
.conversation__transcript {
display: flex;
flex-direction: column;
@@ -1,6 +1,2 @@
<%= tag.div(
id: dom_id(conversation, :thinking_indicator),
class: "conversation__thinking-indicator conversation__thinking-indicator--#{conversation.state}"
) do %>
<span class="spinner"></span> Thinking...
<% end %>
<%= tag.div id: dom_id(conversation, :thinking_indicator),
class: "conversation__thinking-indicator conversation__thinking-indicator--#{conversation.state}" %>