feat(video-upload): add global drag-and-drop uploader with project selection and permission gating

This commit is contained in:
Yusuf İpek
2026-02-26 10:31:51 +03:00
parent 15fa9452a4
commit 6dd44953a3
6 changed files with 606 additions and 10 deletions
+1 -1
View File
@@ -218,7 +218,6 @@ export function VideoCard({ video, projectId, canManage, onDeleted }: VideoCardP
<Play className="h-12 w-12 text-white" fill="white" />
</div>
)}
<Badge className="absolute bottom-2 right-2 bg-black/70">{video.duration}</Badge>
</div>
</Link>
@@ -231,6 +230,7 @@ export function VideoCard({ video, projectId, canManage, onDeleted }: VideoCardP
<Badge variant="secondary" className="text-xs">
v{video.currentVersion}
</Badge>
<span className="text-xs">{video.duration}</span>
</span>
<span className="flex items-center gap-1">
<MessageSquare className="h-3.5 w-3.5" />