fix(fe): assistant icon is inline with chat#7449
Merged
Conversation
fix thinking dots
Contributor
Greptile SummaryRepositioned the assistant avatar to be inline with chat messages instead of in a separate column, saving horizontal space on smaller screens. The avatar now appears next to content in both streaming and completed states. Key changes:
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant AIMessage
participant MultiToolRenderer
participant AgentAvatar
User->>AIMessage: Render AI response
alt No content yet (groupedPackets.length === 0)
AIMessage->>AIMessage: Create flex container with gap-2
AIMessage->>AgentAvatar: Render avatar inline (size 24)
alt User cancelled
AIMessage->>AIMessage: Show "User has stopped generation"
else Streaming
AIMessage->>AIMessage: Show BlinkingDot
end
else Has content (groupedPackets.length > 0)
AIMessage->>AIMessage: Create flex-wrap container with pb-4
AIMessage->>AgentAvatar: Render avatar inline (size 24)
alt Has tool groups
AIMessage->>MultiToolRenderer: Pass tool groups
alt Tools streaming/incomplete
MultiToolRenderer->>MultiToolRenderer: Render bordered timeline (pt-4, border, rounded, shadow)
else Tools complete
MultiToolRenderer->>MultiToolRenderer: Render collapsed state
MultiToolRenderer->>MultiToolRenderer: Add pl-4 for alignment with avatar
MultiToolRenderer->>MultiToolRenderer: Show "X steps" toggle (flex-1)
end
end
AIMessage->>AIMessage: Render display groups (final answer)
end
|
nmgarza5
approved these changes
Jan 16, 2026
rohoswagger
pushed a commit
that referenced
this pull request
Jan 19, 2026
jessicasingh7
pushed a commit
that referenced
this pull request
Jan 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This was bothering me. On my small screen, horizontal real estate is precious.
See also, https://onyx-company.slack.com/archives/C0832RVRVG8/p1767977671998979
How Has This Been Tested?
Additional Options
Summary by cubic
Makes the assistant avatar inline with chat content to free horizontal space, especially on small screens. Also cleans up the tool steps layout for consistent width and smoother expand/collapse.
Written for commit 7df87b5. Summary will update on new commits.