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.

AC
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.

AC
Ava Chen
Writing…
Writing…
Agent
Writing…

Scroll

Cap the list with maxHeight. MessageScroll jumps to end or a MessageRoot id.

AC
Ava Chen
The calendar ships Friday.
I’ll review the notes tonight.
AC
Ava Chen
Leave a comment if the huge layout still feels tight.
It fits. I’ll check the empty state next.
AC
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

photo-1.png
AC
Ava Chen
photo-1.pngphoto-2.pngphoto-3.png

Images + body

photo-1.png
Updated the cover art.
AC
Ava Chen
photo-1.pngphoto-2.pngphoto-3.pngphoto-4.png
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

photo-1.png

Multiple images

photo-1.png
photo-2.png
photo-3.png
photo-4.png

Default

Disabled

photo-1.png

Live

Ava Chen
AC
Ava Chen
The calendar ships Friday.
I’ll review the notes tonight.
AC
Ava Chen
Leave a comment if the huge layout still feels tight.
It fits. I’ll check the empty state next.
AC
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.