feat(kanban): add debug option to show task position on card

This will hopefully help debugging heisenbugs which only happen in production
This commit is contained in:
kolaente
2024-10-30 15:44:36 +01:00
parent 796199827e
commit e766b63d99

View File

@@ -32,6 +32,9 @@
<template v-else>
{{ task.identifier }}
</template>
<span class="tw-text-red-600 tw-pl-2" v-if="showTaskPosition">
{{ task.position }}
</span>
</div>
<div v-if="projectTitle">
{{ projectTitle }}
@@ -146,6 +149,8 @@ const projectTitle = computed(() => {
return project?.title
})
const showTaskPosition = computed(() => window.DEBUG_TASK_POSITION)
async function toggleTaskDone(task: ITask) {
loadingInternal.value = true
try {