This commit is contained in:
Timothy Jaeryang Baek committed 2026-11-17 00:31:18 +09:00
1 parent 1712f4fa6c
commit c82ceaf1fc
21 files changed
+285 -154

No files matched your search

+6 -8
View File
@@ -1282,6 +1282,12 @@ ${content}
</button>
</Tooltip>
<CommentButton
className="p-1 bg-transparent hover:bg-white/5 transition rounded-lg"
onComment={(request) => (currentNoteComments = request)}
resource={{ resource_type: 'note', resource_id: note.id }}
/>
{#if note?.write_access}
<RecordMenu
onRecord={async () => {
@@ -1390,14 +1396,6 @@ ${content}
>
<EllipsisHorizontal className="size-5" />
</button>
<svelte:fragment slot="actions" let:close>
<CommentButton
menu
onOpen={close}
onComment={(request) => (currentNoteComments = request)}
resource={{ resource_type: 'note', resource_id: note.id }}
/>
</svelte:fragment>
</NoteMenu>
{#if liveParticipants.length > 0}
@@ -165,8 +165,6 @@
</DropdownSub>
{/if}
<slot name="actions" close={() => (show = false)} />
{#if onPin}
<button
class="select-none flex h-[1.6875rem] w-full cursor-pointer items-center gap-2 rounded-xl bg-transparent px-2 text-[0.8125rem] hover:text-gray-900 dark:hover:text-gray-100"