agregar componente HuDrafts: borradores UUID + tabla + push a KAPPA + integracion en dashboard

This commit is contained in:
2026-05-27 23:21:03 -05:00
parent 53c6d4325c
commit fd7a171a72
2 changed files with 241 additions and 1 deletions
+5 -1
View File
@@ -4,7 +4,8 @@ import { useI18n } from 'vue-i18n'
import { useProjectsStore } from '@/stores/projects'
import { useWorkItemsStore } from '@/stores/workitems'
import { getTypeLabel, getTypeColor, getTypeIcon } from '@/services/hierarchy'
import { Activity, FileText, Layers, Clock, Info, AlertTriangle } from 'lucide-vue-next'
import { Activity, FileText, Layers, Clock, Info, AlertTriangle, Plus } from 'lucide-vue-next'
import HuDrafts from '@/components/HuDrafts.vue'
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
import { Badge } from '@/components/ui/badge'
import { Skeleton } from '@/components/ui/skeleton'
@@ -244,6 +245,9 @@ const statusLabel = (status: unknown) => {
</p>
</CardContent>
</Card>
<!-- Borradores -->
<HuDrafts v-if="project" :initiative-id="project.id" />
</div>
<div v-else class="flex flex-1 items-center justify-center">