feat(projects) : add per-project task statuses and split project detail into sub-pages

Move project detail from [id].vue to [id]/ directory with Kanban, Groups
and Statuses sub-pages. Add project filter on task statuses service and
drawer. Remove global statuses tab from admin.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 21:58:35 +01:00
parent 95450e3b5f
commit 50ae9ef549
10 changed files with 763 additions and 4 deletions

View File

@@ -38,6 +38,7 @@ import { useTaskStatusService } from '~/services/task-statuses'
const props = defineProps<{
modelValue: boolean
item: TaskStatus | null
projectId: number
}>()
const emit = defineEmits<{
@@ -90,6 +91,7 @@ async function handleSubmit() {
label: form.label.trim(),
position: Number(form.position),
color: form.color,
project: `/api/projects/${props.projectId}`,
}
if (isEditing.value && props.item) {