From f794ec28b4f497a61bca2bf1b658e948d3e0296b Mon Sep 17 00:00:00 2001 From: Satyam Rastogi Date: Fri, 29 May 2026 05:00:22 +0530 Subject: [PATCH] chore(data): purge residual placeholder name in docs; normalize sub_001 trade + owner email --- src/data/mockStore.jsx | 4 ++-- src/pages/owner/OwnerProjectDetail.jsx | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/data/mockStore.jsx b/src/data/mockStore.jsx index 316536f..99f5994 100644 --- a/src/data/mockStore.jsx +++ b/src/data/mockStore.jsx @@ -719,7 +719,7 @@ const MOCK_USERS = [ empId: 'LUP-2001', name: 'Carlos Mendoza', companyName: 'Electric Pro Services', - tradeType: 'electrical', + tradeType: 'Electrical', phone: '469-555-9012' }, { @@ -6181,7 +6181,7 @@ export const MockStoreProvider = ({ children }) => { const [orgMembers, setOrgMembers] = useState([ { id: 'om_001', userId: 'own_001', name: 'Justin Johnson', email: 'justin@lynkeduppro.com', roleKey: 'OWNER', status: 'active', joinedAt: '2024-01-15', lastActivity: '2025-05-12', assignedJobsCount: 14 }, - { id: 'om_002', userId: 'own_002', name: 'Diana Reeves', email: 'maria@lynkeduppro.com', roleKey: 'OWNER', status: 'active', joinedAt: '2024-01-15', lastActivity: '2025-05-10', assignedJobsCount: 8 }, + { id: 'om_002', userId: 'own_002', name: 'Diana Reeves', email: 'diana@lynkeduppro.com', roleKey: 'OWNER', status: 'active', joinedAt: '2024-01-15', lastActivity: '2025-05-10', assignedJobsCount: 8 }, { id: 'om_003', userId: 'a1', name: 'Wade Hollis', email: 'admin1@lynkeduppro.com', roleKey: 'ADMIN', status: 'active', joinedAt: '2024-02-10', lastActivity: '2025-05-11', assignedJobsCount: 6 }, { id: 'om_004', userId: 'a2', name: 'Darlene Brooks', email: 'admin2@lynkeduppro.com', roleKey: 'ADMIN', status: 'active', joinedAt: '2024-03-01', lastActivity: '2025-05-09', assignedJobsCount: 4 }, { id: 'om_005', userId: 'a3', name: 'Roy Schaefer', email: 'admin3@lynkeduppro.com', roleKey: 'ADMIN', status: 'active', joinedAt: '2024-04-20', lastActivity: '2025-05-08', assignedJobsCount: 3 }, diff --git a/src/pages/owner/OwnerProjectDetail.jsx b/src/pages/owner/OwnerProjectDetail.jsx index cf180a7..36d3e79 100644 --- a/src/pages/owner/OwnerProjectDetail.jsx +++ b/src/pages/owner/OwnerProjectDetail.jsx @@ -97,14 +97,14 @@ function getDocType(filename) { function seedDocsMock(projectId) { const all = [ - { id: 'doc_1', name: 'Insurance Claim Form.pdf', uploadedBy: 'Sarah Owner', uploadedDate: '2026-01-15', size: '245 KB', notes: 'Original claim submitted. Claim #TX-9920-881.' }, + { id: 'doc_1', name: 'Insurance Claim Form.pdf', uploadedBy: 'Justin Johnson', uploadedDate: '2026-01-15', size: '245 KB', notes: 'Original claim submitted. Claim #TX-9920-881.' }, { id: 'doc_2', name: 'Roof Inspection Report.pdf', uploadedBy: 'Cody Tatum', uploadedDate: '2026-01-18', size: '1.2 MB', notes: 'Hail damage confirmed on north face. See page 7.' }, - { id: 'doc_3', name: 'Adjuster Notes.docx', uploadedBy: 'Sarah Owner', uploadedDate: '2026-01-22', size: '38 KB', notes: '' }, + { id: 'doc_3', name: 'Adjuster Notes.docx', uploadedBy: 'Justin Johnson', uploadedDate: '2026-01-22', size: '38 KB', notes: '' }, { id: 'doc_4', name: 'Signed Contract.pdf', uploadedBy: 'Cody Tatum', uploadedDate: '2026-02-01', size: '512 KB', notes: 'Fully executed. Watch payment schedule on page 4.' }, { id: 'doc_5', name: 'Before Photo - Front.jpg', uploadedBy: 'Cody Tatum', uploadedDate: '2026-02-03', size: '3.1 MB', notes: 'Taken before work started.' }, - { id: 'doc_6', name: 'Material Spec Sheet.md', uploadedBy: 'Sarah Owner', uploadedDate: '2026-02-05', size: '12 KB', notes: 'Owens Corning Duration — Class 4 IR.' }, + { id: 'doc_6', name: 'Material Spec Sheet.md', uploadedBy: 'Justin Johnson', uploadedDate: '2026-02-05', size: '12 KB', notes: 'Owens Corning Duration — Class 4 IR.' }, { id: 'doc_7', name: 'Site Sketch.png', uploadedBy: 'Cody Tatum', uploadedDate: '2026-02-08', size: '890 KB', notes: '' }, - { id: 'doc_8', name: 'Work Order.txt', uploadedBy: 'Sarah Owner', uploadedDate: '2026-02-10', size: '4 KB', notes: 'Internal work order #WO-2026-044.' }, + { id: 'doc_8', name: 'Work Order.txt', uploadedBy: 'Justin Johnson', uploadedDate: '2026-02-10', size: '4 KB', notes: 'Internal work order #WO-2026-044.' }, ]; const seed = projectId.charCodeAt(projectId.length - 1) % 4; return all.slice(0, 4 + seed);