"use client"; import { HelpCircle } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/components/ui/dialog"; import { Badge } from "@/components/ui/badge"; export function SwpUploadHelpDialog() { return ( File Upload Guide Please upload with the correct file name format
{/* 탭 설명 */}

Tab Description

DOCUMENT REGISTRATION TAB

This shows the status of uploaded files. SHI will respond with file acceptance status. You can check the acceptance status of uploaded files, and cancel uploads in Standby status before acceptance.

DOCUMENT LIST TAB

After uploading a file, if SHI accepts the uploaded file, Rev and Activity No are created and added to this table. Activity No is assigned upon acceptance.

{/* 파일명 형식 */}

File Name Format

[DOC_NO]_[REV_NO]_[STAGE].[Extension]

[Note] Must contain at least 2 underscores (_)

[Optional] You can add a file name as the 4th item (e.g. [DOC_NO]_[REV_NO]_[STAGE]_[FileName].[Extension])

{/* 각 항목 설명 - 1라인 형태 */}

Item Description

DOC_NO
Vendor Document Number - Must be unique per project
REV_NO
Revision Number - Usually increments like 01, 02 based on feedback
STAGE
Stage - Please enter stage information. (e.g. IFA, IFC)
File Name
Free File Name (Optional) - Name to identify the document (Underscores allowed, optional)
{/* 예시 */}

Correct Examples

VD-DOC-001_01_IFA.pdf

[O] Basic Format (File Name Omitted)

VD-DOC-001_01_IFA_drawing_final.pdf

[O] File Name Added (Underscores allowed in file name)

TECH-SPEC-002_02_IFC.dwg

[O] Basic Format Used

DOC-003_03_IFA_test_result_data.xlsx

[O] File Name Added (Multiple words allowed)

{/* 잘못된 예시 */}

Incorrect Examples

VD-DOC-001-01-IFA.pdf

[X] Hyphen (-) used instead of Underscore (_)

VD-DOC-001_01.pdf

[X] STAGE info missing (Minimum 3 items required)

VD DOC 001_01_IFA.pdf

[X] Contains spaces (Use underscores)

VD-DOC-001__IFA.pdf

[X] REV_NO empty (Cannot be empty)

{/* 주의사항 */}

[Precautions]

  • File name must be at least in [DOC_NO]_[REV_NO]_[STAGE].[Extension] format
  • DOC_NO must be a document number assigned to the current project
  • The 4th item (File Name) is optional and can be omitted
  • Upload date/time is automatically generated by the system
  • If a file with the same name is already uploaded, it will not be overwritten and will be treated as an error
  • You must select a project first to enable the upload button
); }