Implement ticket details and worklog editing

This commit is contained in:
2026-03-25 08:23:08 +01:00
parent 7e767b0c6c
commit 1ff8f5d68f
25 changed files with 1585 additions and 11 deletions
+22 -6
View File
@@ -19,6 +19,7 @@ import AppLayout from '@/layouts/AppLayout.vue';
import { index as boardIndex } from '@/routes/projects/board';
import { index as backlogIndex } from '@/routes/projects/backlog';
import { index, show } from '@/routes/projects';
import { show as showTicket } from '@/routes/projects/tickets';
import { metadata as metadataSettings } from '@/routes/projects/settings';
import type { BreadcrumbItem, ProjectBacklogPageProps } from '@/types';
@@ -245,16 +246,31 @@ const hasTicketMetadata =
class="bg-background"
>
<td class="px-4 py-4">
<Badge variant="outline">
{{ ticket.ticket_key }}
</Badge>
<Link
:href="
showTicket({
project: project.id,
ticket: ticket.id,
})
"
>
<Badge variant="outline">
{{ ticket.ticket_key }}
</Badge>
</Link>
</td>
<td class="px-4 py-4">
<div
class="font-medium text-foreground"
<Link
:href="
showTicket({
project: project.id,
ticket: ticket.id,
})
"
class="font-medium text-foreground transition hover:text-primary"
>
{{ ticket.title }}
</div>
</Link>
<div
v-if="ticket.description"
class="mt-1 line-clamp-2 text-muted-foreground"