Skip to content

Commit d357c24

Browse files
authored
Merge pull request #1379 from Krashnicov/feat/sidebar-chat-item-extension-points
feat: add per-row extension points inside sidebar chat list x-for loop
2 parents d119632 + bd10a66 commit d357c24

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

webui/components/sidebar/chats/chats-list.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ <h3 class="section-header">Chats</h3>
2626
<li>
2727
<div :class="{'chat-container': true, 'chat-selected': context.id === $store.chats.selected}"
2828
@click="$store.chats.selectChat(context.id)">
29+
<x-extension id="sidebar-chat-item-start"></x-extension>
2930
<div class="chat-list-button">
3031
<span :class="{'project-color-ball': true, 'heartbeat': context.running}"
3132
:style="context.project?.color ? { backgroundColor: context.project.color } : { border: '1px solid var(--color-border)' }"></span>
@@ -35,6 +36,7 @@ <h3 class="section-header">Chats</h3>
3536
<button class="btn-icon-action chat-list-action-btn" title="Close chat" @click.stop="$confirmClick($event, () => $store.chats.killChat(context.id))">
3637
<span class="material-symbols-outlined">close</span>
3738
</button>
39+
<x-extension id="sidebar-chat-item-end"></x-extension>
3840
</div>
3941
</li>
4042
</template>

0 commit comments

Comments
 (0)