feat: discussion sub-tab navigation for annotation threads (#60) #63
@@ -126,7 +126,7 @@ $effect(() => {
|
|||||||
<title>{doc.title || doc.originalFilename || 'Dokument'}</title>
|
<title>{doc.title || doc.originalFilename || 'Dokument'}</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<div class="flex h-screen flex-col overflow-hidden bg-white" data-hydrated>
|
<div class="fixed inset-0 z-50 flex flex-col overflow-hidden bg-white" data-hydrated>
|
||||||
<DocumentTopBar
|
<DocumentTopBar
|
||||||
doc={doc}
|
doc={doc}
|
||||||
canWrite={data.canWrite ?? false}
|
canWrite={data.canWrite ?? false}
|
||||||
@@ -149,17 +149,17 @@ $effect(() => {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<DocumentBottomPanel
|
<DocumentBottomPanel
|
||||||
doc={doc}
|
doc={doc}
|
||||||
comments={(data.comments ?? []) as never[]}
|
comments={(data.comments ?? []) as never[]}
|
||||||
canComment={canComment}
|
canComment={canComment}
|
||||||
currentUserId={currentUserId}
|
currentUserId={currentUserId}
|
||||||
canAdmin={canAdmin}
|
canAdmin={canAdmin}
|
||||||
bind:open={panelOpen}
|
bind:open={panelOpen}
|
||||||
bind:height={panelHeight}
|
bind:height={panelHeight}
|
||||||
bind:activeTab={activeTab}
|
bind:activeTab={activeTab}
|
||||||
activeAnnotationId={activeAnnotationId}
|
activeAnnotationId={activeAnnotationId}
|
||||||
activeAnnotationPage={activeAnnotationPage}
|
activeAnnotationPage={activeAnnotationPage}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user