Remove all mock data and make leads system production-ready

Featurekamo-internal
Порезанный
4 декабря 2025 г. в 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)

Все изменения

Как вы видите судоходство?

Каждое из этих обновлений автоматически попадает в ваше рабочее пространство. Начните бесплатно и смотрите, как он растет неделю за неделей.

Начните бесплатно навсегдаПосмотреть цены