mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-12 13:42:38 +00:00
Layout for Activity (#44)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
parent
1a86784a11
commit
45872a85fa
@ -20,7 +20,7 @@ import type { Doc, Ref, Space } from '@anticrm/core'
|
|||||||
import type { Comment } from '@anticrm/chunter'
|
import type { Comment } from '@anticrm/chunter'
|
||||||
import { ReferenceInput } from '@anticrm/text-editor'
|
import { ReferenceInput } from '@anticrm/text-editor'
|
||||||
import { createQuery, getClient } from '@anticrm/presentation'
|
import { createQuery, getClient } from '@anticrm/presentation'
|
||||||
import { Section, IconComments } from '@anticrm/ui'
|
import { Section, IconComments, Grid } from '@anticrm/ui'
|
||||||
|
|
||||||
import Bookmark from './icons/Bookmark.svelte'
|
import Bookmark from './icons/Bookmark.svelte'
|
||||||
import Backlink from './Backlink.svelte'
|
import Backlink from './Backlink.svelte'
|
||||||
@ -45,20 +45,13 @@ function onMessage(event: CustomEvent) {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="reference"><ReferenceInput on:message={onMessage}/></div>
|
<Section icon={IconComments} label={'Comments'}>
|
||||||
|
<Grid column={1} rowGap={1.5}>
|
||||||
<!-- <Section icon={IconComments} label={'Comments'}>
|
{#if comments}
|
||||||
<CommentViewer />
|
|
||||||
</Section> -->
|
|
||||||
{#if comments}
|
|
||||||
{#each comments as comment}
|
{#each comments as comment}
|
||||||
<Backlink {comment} />
|
<Backlink {comment} />
|
||||||
{/each}
|
{/each}
|
||||||
{/if}
|
{/if}
|
||||||
|
<ReferenceInput on:message={onMessage}/>
|
||||||
<style lang="scss">
|
</Grid>
|
||||||
.reference {
|
</Section>
|
||||||
margin-top: 24px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user