Remove all mock data and make leads system production-ready

Featurekamo-internal
ส่งแล้ว
4 ธันวาคม 2568 เวลา 22:19 UTC
ผู้เขียน
snadjafinia
ตั้งค่า
a51f1d7

- Remove all mock data generation from leadsApi.ts (mockStore, ensureMock, faker.js) - Remove withMock wrapper function and all fallback logic - Remove generateMockLeads() function from LeadManager.tsx - Update all API methods to throw errors instead of falling back to mocks - Improve error handling in MortgageFieldsComponent and CustomFormFieldsComponent - Add proper Snackbar error notifications instead of alert() calls - Ensure all endpoints properly propagate errors for UI error handling - Note: Files tab uses DocManager, Communications uses MediaStream (both fully functional)

เปลี่ยนแปลงทั้งหมด

เหมือนที่คุณเห็นการขนส่ง?

ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.

เริ่ม เป็น อิสระ ตลอด ไปแสดงพริ้นซ์