diff --git a/src/app/(modules)/upload/components/AnalysisSettingsSection.tsx b/src/app/(modules)/upload/components/UploadSettingsSection.tsx similarity index 81% rename from src/app/(modules)/upload/components/AnalysisSettingsSection.tsx rename to src/app/(modules)/upload/components/UploadSettingsSection.tsx index f5840dc..47afe12 100644 --- a/src/app/(modules)/upload/components/AnalysisSettingsSection.tsx +++ b/src/app/(modules)/upload/components/UploadSettingsSection.tsx @@ -10,30 +10,30 @@ const options = [ { value: 'combined', label: 'Road Defect Detection with vl' }, ] as const; -interface AnalysisSettingsSectionProps { +interface UploadSettingsSectionProps { value: string; onValueChange: (value: string) => void; disabled?: boolean; } -export function AnalysisSettingsSection({ +export function UploadSettingsSection({ value, onValueChange, disabled = false, -}: AnalysisSettingsSectionProps) { +}: UploadSettingsSectionProps) { return (

- Analysis Settings + Upload Settings

- Select the AI model workflow for this job. + Select the detection workflow for this upload.

- + { if (!session?.chainageId || !videoFile || !gpsFile) { - setError('Complete location and input data before starting analysis.'); + setError('Complete location and input data before upload.'); return; } @@ -63,8 +63,8 @@ export default function UploadPage() { return (
@@ -94,7 +94,7 @@ export default function UploadPage() { - - Starting analysis... + Uploading... ) : ( <> - - Start Analysis + + Upload )} diff --git a/src/components/app-breadcrumb.tsx b/src/components/app-breadcrumb.tsx index c616861..5027432 100644 --- a/src/components/app-breadcrumb.tsx +++ b/src/components/app-breadcrumb.tsx @@ -15,7 +15,7 @@ export function BreadcrumbBasic() { const pathname = usePathname(); const segments = pathname.split('/').filter((segment) => segment !== ''); - // Helper to format segment (e.g., "new-analysis" -> "New Analysis") + // Helper to format segment (e.g., "upload-history" -> "Upload History") const formatSegment = (segment: string) => { return segment .split('-') diff --git a/src/config/menu.config.ts b/src/config/menu.config.ts index c8bf0c2..9dd6a84 100644 --- a/src/config/menu.config.ts +++ b/src/config/menu.config.ts @@ -31,7 +31,7 @@ export const menuItems: MenuItem[] = [ icon: LayoutDashboard, }, { - title: 'New Analysis', + title: 'Upload', path: ROUTES.UPLOAD, icon: Plus, },