From a0e6b9643b31137c59543e30fee19050442a4e6e 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 c927a667..7fea9535 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ }, "dependencies": { "@github/hotkey": "2.0.1", + "@infectoone/vue-ganttastic": "^2.0.4", "@kyvg/vue3-notification": "2.3.6", "@sentry/tracing": "7.10.0", "@sentry/vue": "7.10.0", diff --git a/src/components/tasks/gantt-chart.vue b/src/components/tasks/gantt-chart.vue new file mode 100644 index 00000000..af88fa37 --- /dev/null +++ b/src/components/tasks/gantt-chart.vue @@ -0,0 +1,118 @@ + + + + + diff --git a/src/main.ts b/src/main.ts index 3752d5de..aded31dc 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 3373e495..17fda070 100644 --- a/src/views/list/ListGantt.vue +++ b/src/views/list/ListGantt.vue @@ -49,7 +49,7 @@