diff --git a/packages/panel/src/components/ActivityMsg.svelte b/packages/panel/src/components/ActivityMsg.svelte new file mode 100644 index 0000000000..16be12e4bf --- /dev/null +++ b/packages/panel/src/components/ActivityMsg.svelte @@ -0,0 +1,102 @@ + + + + +
+
+
+
+ {#if typeof (icon) === 'string'} + + {:else} + + {/if} +
+
+
+
Yesterday, 3:20 PM
+
+ {#if $$slots.content} +
+ {/if} +
+ + diff --git a/packages/panel/src/components/Panel.svelte b/packages/panel/src/components/Panel.svelte index fdfc2fc3dd..ec83a8979f 100644 --- a/packages/panel/src/components/Panel.svelte +++ b/packages/panel/src/components/Panel.svelte @@ -21,8 +21,9 @@ import { getClient, createQuery, Backlink } from '@anticrm/presentation' import type { AnySvelteComponent } from '@anticrm/ui' import { ReferenceInput } from '@anticrm/text-editor' - import { IconClose, IconExpand, IconActivity, ScrollBox, Grid, Label, Icon } from '@anticrm/ui' + import { IconClose, IconExpand, IconActivity, ScrollBox, Grid, Label, Icon, IconToDo } from '@anticrm/ui' import type { Comment } from '@anticrm/chunter' + import ActivityMsg from './ActivityMsg.svelte' import { createEventDispatcher } from 'svelte' @@ -115,6 +116,12 @@
{#if comments} + Task TAS189 was created by Tim Ferris + + Rosamund Chen changed status from IN PROGRESS to ON HOLD + Content + + Task TAS189 was created by Tim Ferris {#each comments as comment} {/each} diff --git a/packages/theme/styles/_layouts.scss b/packages/theme/styles/_layouts.scss index 7098bc2b6d..38d819ffa6 100644 --- a/packages/theme/styles/_layouts.scss +++ b/packages/theme/styles/_layouts.scss @@ -222,6 +222,12 @@ table { } .svg-small, .svg-medium, .svg-large { flex-shrink: 0; } +.scale-75 { + transform-origin: center center; + transform: scale(.75); + pointer-events: none; +} + .hover-trans { color: var(--theme-content-trans-color); cursor: pointer;