Skip to content

Commit 2838753

Browse files
committed
Merge branch 'dmdimitrov/chat-ai-component' of https://github.com/IgniteUI/igniteui-webcomponents into dmdimitrov/chat-ai-component
2 parents da4733d + ad0e2eb commit 2838753

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/components/chat/chat-message.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export default class IgcChatMessageComponent extends LitElement {
188188
}
189189

190190
return html`
191-
<div @click=${this._handleMessageActionClick}>
191+
<div @click=${this._handleMessageActionClick} part="message-actions">
192192
${this._renderActionButton(COPY_CONTENT, resourceStrings.reactionCopy)}
193193
${this._renderActionButton(
194194
this.message?.reactions?.includes(LIKE_ACTIVE)

src/components/chat/chat.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ describe('Chat', () => {
166166
new File(['image data'], 'image.png', { type: 'image/png' }),
167167
];
168168

169-
const messageActions = (likeButtonState = 'inactive') => `<div>
169+
const messageActions = (
170+
likeButtonState = 'inactive'
171+
) => `<div part="message-actions">
170172
<igc-icon-button
171173
id="copy_content-button"
172174
name="copy_content"

0 commit comments

Comments
 (0)