diff --git a/src/components/admin/DesignerForm.tsx b/src/components/admin/DesignerForm.tsx index bc72b0e9..d3c1dab7 100644 --- a/src/components/admin/DesignerForm.tsx +++ b/src/components/admin/DesignerForm.tsx @@ -10,6 +10,7 @@ import { Textarea } from '@/components/ui/textarea'; import { Label } from '@/components/ui/label'; import { RadioGroup, RadioGroupItem } from '@/components/ui/radio-group'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; +import { Badge } from '@/components/ui/badge'; import { SlugField } from '@/components/ui/slug-field'; import { Ruler, Save, X } from 'lucide-react'; import { useUserRole } from '@/hooks/useUserRole'; @@ -35,6 +36,8 @@ interface DesignerFormInput { founded_date_precision?: 'day' | 'month' | 'year'; headquarters_location?: string; website_url?: string; + source_url?: string; + submission_notes?: string; images?: { uploaded: UploadedImage[]; banner_assignment?: number | null; @@ -77,6 +80,8 @@ export function DesignerForm({ onSubmit, onCancel, initialData }: DesignerFormPr website_url: initialData?.website_url || '', founded_year: initialData?.founded_year ? String(initialData.founded_year) : '', headquarters_location: initialData?.headquarters_location || '', + source_url: initialData?.source_url || '', + submission_notes: initialData?.submission_notes || '', images: initialData?.images || { uploaded: [] } } }); @@ -221,6 +226,61 @@ export function DesignerForm({ onSubmit, onCancel, initialData }: DesignerFormPr )} + {/* Submission Context - For Reviewers */} +
+
+ + For Moderator Review + +

+ Help reviewers verify your submission +

+
+ +
+ + +

+ Where did you find this information? (e.g., official website, news article, press release) +

+ {errors.source_url && ( +

{errors.source_url.message}

+ )} +
+ +
+ +