feat: replace our home-grown gantt implementation with ganttastic #2180

Merged
konrad merged 78 commits from feature/ganttastic into main 2022-10-27 16:03:27 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 56a25734d7 - Show all commits

View File

@ -108,7 +108,7 @@ const ganttChartWidth = computed(() => {
const canWrite = computed(() => store.state.currentList.maxRight > Rights.READ)
konrad marked this conversation as resolved Outdated

define types

define types

Done.

Done.
const tasks = ref([])
const tasks = ref<Map<number, TaskModel>>([])
const ganttBars = ref([])
const defaultStartDate = format(new Date(), DATE_FORMAT)
@ -142,7 +142,7 @@ function mapGanttBars() {
}
async function loadTasks() {
konrad marked this conversation as resolved Outdated

define types

define types

Done.

Done.
tasks.value = new Map()
tasks.value = new Map<number, TaskModel>()
const params = {
sort_by: ['start_date', 'done', 'id'],