Add artist/performer information to videos and admin interface

Update database schema and admin UI to include an 'artist' field for videos, and configure agent integrations for database access.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/QfqdFa4
This commit is contained in:
sebastjanartic
2025-09-02 13:27:34 +00:00
parent 3d303ea68a
commit e117f3617b
4 changed files with 17 additions and 2 deletions
+13 -1
View File
@@ -212,6 +212,7 @@ function EditVideoDialog({
const queryClient = useQueryClient();
const [formData, setFormData] = useState({
title: video.title,
artist: video.artist || "",
description: video.description,
contentType: video.contentType,
genre: video.genre,
@@ -222,6 +223,7 @@ function EditVideoDialog({
useEffect(() => {
setFormData({
title: video.title,
artist: video.artist || "",
description: video.description,
contentType: video.contentType,
genre: video.genre,
@@ -331,7 +333,7 @@ function EditVideoDialog({
<form onSubmit={handleSubmit} className="space-y-6">
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
<div className="md:col-span-2">
<div>
<Label className="text-white/90">Title</Label>
<Input
value={formData.title}
@@ -341,6 +343,16 @@ function EditVideoDialog({
/>
</div>
<div>
<Label className="text-white/90">Artist/Izvajalec</Label>
<Input
value={formData.artist}
onChange={(e) => setFormData({ ...formData, artist: e.target.value })}
className="bg-white/10 border-white/20 text-white"
placeholder="Enter artist/band name..."
/>
</div>
<div className="md:col-span-2">
<div className="flex items-center justify-between mb-2">
<Label className="text-white/90">Description</Label>