ChatHistoryItem
One saved-conversation row in ChatHistory, with a truncating title over a date and one trailing control.
ChatHistoryItem
One saved-conversation row in ChatHistory, with a truncating title over a date and one trailing control. It renders no button of its own. ChatHistory lays a stretched button over the row and puts the actions menu, or the rename confirm, in the trailing slot. The hover fill keys off an ancestor augds:group, so a host that drops that class loses the hover. The chat SDK styles the trailing slot through [data-list-row-trailing], so that attribute must stay.
Storybook
Loading
Props
Prop
Type
Also takes the attributes of the element it renders.
Tokens
Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.
--augds-foreground-primary--augds-foreground-tertiary--augds-interaction-hover-light--augds-radius-primitive-12--augds-type-label-md-medium-line-height--augds-type-label-sm-regular-line-height
Source
src/components/ui/chat-history-item/chat-history-item.tsx