This PR mainly targets on adding the footer option to ChatItems and codeBlockActions to config and ChatItem.
Added
footer to ChatItem which can be a ChatItemContent (which is just the content part of a ChatItem, without the requirement of messageId and type).
codeBlockActions to ChatItem and global config to allow consumer add their own code block actions/buttons depending or not depending on the code block language.
updateLastChatAnswer function to dumb-check if there is no streaming card as the last card, it adds one.
File and Folder icons to fileList items.
Q, File, Folder and Magic icons
DOCS for newly added features
Fixed
Prompt input text field scroll doesn't work properly for multiline insertion
Prompt input removes whole word if it starts with @ character but doesn't have any context picker selection provided.
Followups appear on top without styling if they come nested with a ChatItem which has content already.
Missing styles, broken font-sizes, animations and css custom properties.
New Features:
footer
codeBlockActions
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
This PR mainly targets on adding the
footer
option toChatItem
s andcodeBlockActions
to config andChatItem
.Added
footer
to ChatItem which can be aChatItemContent
(which is just the content part of a ChatItem, without the requirement ofmessageId
andtype
).codeBlockActions
to ChatItem and global config to allow consumer add their own code block actions/buttons depending or not depending on the code block language.updateLastChatAnswer
function to dumb-check if there is no streaming card as the last card, it adds one.fileList
items.Fixed
New Features:
footer
codeBlockActions
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.