chore(data): purge residual placeholder name in docs; normalize sub_001 trade + owner email

This commit is contained in:
Satyam Rastogi
2026-05-29 05:00:22 +05:30
parent 55ede33c2f
commit f794ec28b4
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -719,7 +719,7 @@ const MOCK_USERS = [
empId: 'LUP-2001', empId: 'LUP-2001',
name: 'Carlos Mendoza', name: 'Carlos Mendoza',
companyName: 'Electric Pro Services', companyName: 'Electric Pro Services',
tradeType: 'electrical', tradeType: 'Electrical',
phone: '469-555-9012' phone: '469-555-9012'
}, },
{ {
@@ -6181,7 +6181,7 @@ export const MockStoreProvider = ({ children }) => {
const [orgMembers, setOrgMembers] = useState([ 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_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_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_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 }, { 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 },
+4 -4
View File
@@ -97,14 +97,14 @@ function getDocType(filename) {
function seedDocsMock(projectId) { function seedDocsMock(projectId) {
const all = [ 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_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_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_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_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; const seed = projectId.charCodeAt(projectId.length - 1) % 4;
return all.slice(0, 4 + seed); return all.slice(0, 4 + seed);