From 5eb0945a60c93ee71194a7e18d028adcef46c28b Mon Sep 17 00:00:00 2001 From: vickytechkey Date: Sun, 9 Aug 2026 07:23:57 +0530 Subject: [PATCH] test the job upgrade --- src/App.tsx | 417 ++++++++++++++++++++++++++-------------------------- 1 file changed, 208 insertions(+), 209 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 0693478..a61877f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -22,7 +22,7 @@ interface Order { quantity: number customer: string total: number - status: 'Ready to Ship' | 'Shipped' | 'Delivered' | 'Cancelled' + status: 'Ready to Ship test' | 'Shipped' | 'Delivered' | 'Cancelled' carrier: string tracking: string eta: string @@ -42,7 +42,7 @@ interface ReturnRequest { export default function App() { const [currentPage, setCurrentPage] = useState('home') const [activeTab, setActiveTab] = useState<'login' | 'register'>('login') - + // Registration / Onboarding Form States const [email, setEmail] = useState('') const [phone, setPhone] = useState('') @@ -50,7 +50,7 @@ export default function App() { const [gstin, setGstin] = useState('29AAAAA1111A1Z1') const [isGstinVerified, setIsGstinVerified] = useState(true) const [isVerifyingGstin, setIsVerifyingGstin] = useState(false) - + // Profile Completion States const [storeName, setStoreName] = useState('My Artisan Handloom') const [storeLogo, setStoreLogo] = useState(null) @@ -66,12 +66,12 @@ export default function App() { const [dashTab, setDashTab] = useState('overview') const [dateFilter, setDateFilter] = useState('year') const [customDates, setCustomDates] = useState({ start: '2026-06-01', end: '2026-06-15' }) - + // Lists const [products, setProducts] = useState(CONFIG.dashboardData.initialProducts) const [orders] = useState(CONFIG.dashboardData.initialOrders as Order[]) const [returns, setReturns] = useState(CONFIG.dashboardData.initialReturns as ReturnRequest[]) - + // Forms & Editing const [productForm, setProductForm] = useState({ id: '', @@ -83,7 +83,7 @@ export default function App() { image: 'https://images.unsplash.com/photo-1544022613-e87ca75a784a?auto=format&fit=crop&q=80&w=100' }) const [isEditingProduct, setIsEditingProduct] = useState(false) - + // Payout outstanding states const [wallet, setWallet] = useState({ outstanding: 850.00, @@ -142,7 +142,7 @@ export default function App() { } // --- Dashboard Logic Actions --- - + // Product creation/modification const handleSaveProduct = (e: React.FormEvent) => { e.preventDefault() @@ -181,7 +181,7 @@ export default function App() { if (!e.target.files?.length) return setIsParsingBulk(true) setBulkLog(['Parsing CSV file template...', 'Validating rows against inventory Schema...']) - + setTimeout(() => { const parsedProducts: Product[] = [ { id: String(products.length + 1), title: 'Hand-Carved Walnut Bowl', category: 'Kitchenware', price: 65.00, stock: 15, sku: 'BOWL-WAL-12', image: 'https://images.unsplash.com/photo-1610701596007-11502861dcfa?auto=format&fit=crop&q=80&w=100' }, @@ -253,25 +253,25 @@ export default function App() { {CONFIG.companyName}