From fd7a171a72c3e1c4fc95aa4acc70c13ae395e3c0 Mon Sep 17 00:00:00 2001
From: Ricardo Gonzalez
Date: Wed, 27 May 2026 23:21:03 -0500
Subject: [PATCH] agregar componente HuDrafts: borradores UUID + tabla + push a
KAPPA + integracion en dashboard
---
src/components/HuDrafts.vue | 236 ++++++++++++++++++++++++++++++++++++
src/views/DashboardView.vue | 6 +-
2 files changed, 241 insertions(+), 1 deletion(-)
create mode 100644 src/components/HuDrafts.vue
diff --git a/src/components/HuDrafts.vue b/src/components/HuDrafts.vue
new file mode 100644
index 0000000..ef4985c
--- /dev/null
+++ b/src/components/HuDrafts.vue
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+ Borradores · {{ drafts.length }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sin borradores. Creá uno para refinar antes de enviar a KAPPA.
+
+
+
+
+
+
+
+
+ {{ getTypeLabel((d.item_type || 'U') as ItemType) }}
+
+ {{ d.title }}
+
+
+
+
+ Enviada
+
+
+
+ Borrador
+
+
+
+
+ {{ d.story_points }} SP
+ {{ d.sprint }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/DashboardView.vue b/src/views/DashboardView.vue
index 8eacca0..d482f50 100644
--- a/src/views/DashboardView.vue
+++ b/src/views/DashboardView.vue
@@ -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) => {
+
+
+