bon-ui
Chat
A thread of incoming and outgoing messages, with a composer that posts the next one.
Sides
MessageRoot side: incoming, outgoing, or agent.
Ava Chen
The calendar ships Friday.
I’ll review the notes tonight.
Agent
I’ll keep the notes in view and leave the layout as it is.
Loading
Replace the body with MessageStatus. Agent replies also show MessageActivity next to the time.
Ava Chen
Writing…
Writing…
Agent
Writing…
Scroll
Cap the list with maxHeight. MessageScroll jumps to end or a MessageRoot id.
Ava Chen
The calendar ships Friday.
I’ll review the notes tonight.
Ava Chen
Leave a comment if the huge layout still feels tight.
It fits. I’ll check the empty state next.
Ava Chen
Composer is at the bottom. New notes should stay in view.
Scroll up to jump back to the pinned note.
Agent
I’ll keep the notes in view and leave the layout as it is.
MessageScroll to end stays at the newest reply.
Attachments
Two layouts: images alone, or images plus MessageBody. Same thumb size for one or many.
Images only
Ava Chen
Images + body
Updated the cover art.
Ava Chen
Here are a few references.
Pipeline
Agent replies can compose CheckList with interactive=false and size="sm" for chain progress.
In progress
Agent
Plan the change
Pick the files and layout to touch.
Gather context
Read related components and tokens.
Apply the edit
Update the chat playground.
4Verify the result
Check sides, loading, and composer.
Completed
Agent
Plan the change
Pick the files and layout to touch.
Gather context
Read related components and tokens.
Apply the edit
Update the chat playground.
Verify the result
Check sides, loading, and composer.
All steps finished. The notes stay in view.
Error
Agent
Plan the change
Pick the files and layout to touch.
Gather context
Read related components and tokens.
3Apply the edit
Update the chat playground.
4Verify the result
Check sides, loading, and composer.
Stopped after gathering context.
Composer
ComposerAttachments shows selected images as a thumbnail strip. ComposerAttach opens an image picker. Submit sends { text, images }.
One image
Multiple images
Default
Disabled
Live
Ava Chen
Ava Chen
The calendar ships Friday.
I’ll review the notes tonight.
Ava Chen
Leave a comment if the huge layout still feels tight.
It fits. I’ll check the empty state next.
Ava Chen
Composer is at the bottom. New notes should stay in view.
Agent
I’ll keep the notes in view and leave the layout as it is.