first step

Signed-off-by: Jakob <jakob.roehrl@web.de>

1. try

Signed-off-by: Jakob <jakob.roehrl@web.de>

remote calls are working

Signed-off-by: Jakob <jakob.roehrl@web.de>

litte changes

Signed-off-by: Jakob <jakob.roehrl@web.de>

small fixes

Signed-off-by: Jakob <jakob.roehrl@web.de>

incremental fetching

Signed-off-by: Jakob <jakob.roehrl@web.de>

integrated tiptap suggestions for test

Signed-off-by: Jakob <jakob.roehrl@web.de>

Update package-lock after rebase

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Fix various errors

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Cleanup mention plugin use

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Downgrade tippy

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Jakob
2019-09-10 12:31:25 +02:00
committed by Julius Härtl
parent 3adadc23d0
commit 739a92e9a3
9 changed files with 1094 additions and 71 deletions

View File

@@ -21,7 +21,7 @@
-->
<template>
<AppSidebar v-if="currentCard !== null && copiedCard !== null"
<app-sidebar v-if="currentCard !== null && currentBoard && copiedCard !== null"
:actions="toolbarActions"
:title="currentCard.title"
:subtitle="subtitle"
@@ -113,7 +113,12 @@
{{ t('deck', 'Upload attachment') }}
</button>
</AppSidebarTab>
<AppSidebarTab :order="2" name="Timeline" icon="icon-activity">
<AppSidebarTab :order="2" name="Comments" icon="icon-comment">
<CommentsTabSidebar :card="currentCard" />
</AppSidebarTab>
<AppSidebarTab :order="3" name="Timeline" icon="icon-activity">
<div v-if="isLoading" class="icon icon-loading" />
<ActivityEntry v-for="entry in cardActivity"
v-else
@@ -139,6 +144,7 @@ import { ActionButton } from '@nextcloud/vue/dist/Components/ActionButton'
import ActivityEntry from '../ActivityEntry'
import Color from '../../mixins/color'
import { CollectionList } from 'nextcloud-vue-collections'
import CommentsTabSidebar from './CommentsTabSidebar'
export default {
name: 'CardSidebar',
@@ -153,6 +159,7 @@ export default {
ActionButton,
Avatar,
CollectionList,
CommentsTabSidebar
},
mixins: [
Color,
@@ -248,7 +255,6 @@ export default {
},
created() {
setInterval(this.updateRelativeTimestamps, 10000)
this.loadCardActivity()
},
destroyed() {
clearInterval(this.updateRelativeTimestamps)