From 718dad9bd20be3d0c8239961c3e36235f512c674 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 19 Jul 2022 22:55:38 +0200 Subject: [PATCH] feat: add basic implementation of ganttastic --- package.json | 1 + src/components/tasks/gantt-chart.vue | 118 +++++++++++++++++++++++++++ src/main.ts | 3 + src/views/list/ListGantt.vue | 4 +- yarn.lock | 12 +++ 5 files changed, 136 insertions(+), 2 deletions(-) create mode 100644 src/components/tasks/gantt-chart.vue diff --git a/package.json b/package.json index d590811af..3fef455a1 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ }, "dependencies": { "@github/hotkey": "2.0.0", + "@infectoone/vue-ganttastic": "^2.0.4", "@kyvg/vue3-notification": "2.3.5", "@sentry/tracing": "7.7.0", "@sentry/vue": "7.7.0", diff --git a/src/components/tasks/gantt-chart.vue b/src/components/tasks/gantt-chart.vue new file mode 100644 index 000000000..af88fa378 --- /dev/null +++ b/src/components/tasks/gantt-chart.vue @@ -0,0 +1,118 @@ + + + + + diff --git a/src/main.ts b/src/main.ts index 3752d5de7..aded31dc6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -124,6 +124,9 @@ if (window.SENTRY_ENABLED) { import('./sentry').then(sentry => sentry.default(app, router)) } +import ganttastic from '@infectoone/vue-ganttastic' +app.use(ganttastic) + app.use(store) app.use(router) app.use(i18n) diff --git a/src/views/list/ListGantt.vue b/src/views/list/ListGantt.vue index 3373e4950..17fda0705 100644 --- a/src/views/list/ListGantt.vue +++ b/src/views/list/ListGantt.vue @@ -49,7 +49,7 @@