Move @import statements to top of globals.css to comply with CSS parsing rules
Update dependencies to fix Docker build (next@16.0.10, react@19.2.3)
Properly separate personal and work phone sections on different rows
Widen prefix/suffix fields and lead info dropdowns to show full content
Ensure email on own row, improve dropdown widths, enhance country selector visibility
Email on own row, widen lead info dropdowns, improve country selector with flags
Redesign lead creation form with complete name fields, proper dropdown sizing, country field, and improved phone layout
Enhance lead creation form with modern UI, validation, error handling, and improved UX
Add type assertion for mortgageFields.isRepresented boolean check
Add extension property to Phone interface to support phone extensions
Add LeadProspectType, vendor/product, bestContactTime, phone extension/isText, and residential mortgage fields to lead creation form
Replace secondary color with primary color variations and gradients
Add salesSubType to LeadMarket interface and use it in edit form
- Added salesSubType field to LeadMarket interface to match DTO - Updated handleEditClick to use salesSubType from DTO when setting parent/child types - This fi...
Type error: Block-scoped variable 'getAgentFilterMemberId' used before its declaration.
Use passed systemFields for field mapping interface grouping
- FieldMappingInterface: Fixed getSystemFieldsByCategory to use passed-in systemFields prop instead of default BASE_SYSTEM_FIELDS - FieldMappingInterface: Added...
Reset state on market data load failure to prevent stale data
- Added state reset in else block when response.ok is false - Ensures selectedMarketConfig and customFields are cleared on failed market load - Maintains consis...
Fix syntax error and add debug logging for market field loading
- Fixed syntax error in complex type assertion by breaking into proper interfaces - Added debug logging to track market data, salesSubType, and custom form load...
Use salesSubType for mortgage field detection in manual import
- Updated LeadMarket interface to match DTO structure (customForms only has basic info initially) - Fixed comment to clarify salesSubType is used for mortgage d...
Add missing Next.js API routes for leads endpoints
- Added /api/security/leads route for GET (all leads) and POST (create lead) - Added /api/security/leads/[id] route for GET, PUT, DELETE operations - Added ****...
Remove 'name' property reference in updateLead function
- Lead interface only has 'primaryContact', not 'name' - Removed fallback to patch.name in updateLead - Completes the fix for type safety
Remove non-existent 'name' property references in leadsApi
- Lead interface only has 'primaryContact', not 'name' - Removed fallback to leadData.name in createLead and updateLead - Ensures type safety and correct API be...
Replace remaining Grid closing tags with GridLegacy in CreateLeadClient
- Fixed all remaining </Grid> tags that should be </GridLegacy> - Ensures proper closing of GridLegacy item components - Resolves JSX syntax error
Replace Grid with GridLegacy for item prop in CreateLeadClient
- MUI v7 moved 'item' prop to GridLegacy component - Updated all Grid item instances to GridLegacy - Required for compatibility with MUI v7
Add missing 'email' property to Lead interface
- leadsApi.createLead expects email as a separate property - Email is also available in primaryContact.email but API needs it at Lead level - Required for lead ...
Cast customFormData to correct type in CreateLeadClient
- TypeScript was complaining about type mismatch between Record<string, Record<string, unknown>> and Record<string, CustomFormData> - Added type assertion to ma...
Add missing 'vendorLeadID' property to Lead interface
- Property exists in Java Lead bean but was missing from TypeScript interface - Required for lead creation and import functionality
Add missing 'languages' property to primaryContact in CreateLeadClient
- Contact interface requires 'languages' property - Initialize with empty array to satisfy type requirements
Use GridLegacy for Grid component with item prop in MortgageFieldsComponent
- MUI v7 moved Grid with item prop to GridLegacy - Update import to use GridLegacy to fix TypeScript error
Use GridLegacy for Grid component with item prop in CustomFormFieldsComponent
- MUI v7 moved Grid with item prop to GridLegacy - Update import to use GridLegacy to fix TypeScript error
Replace all 'any' types with proper TypeScript types
- Replace Record<string, any> with Record<string, unknown> - Replace any parameter types with unknown or specific types - Remove unused imports (authenticatedFe...
Resolve compilation errors in CustomFormFieldsComponent and LeadManager
- Remove stray fragment closing tag (</>) in CustomFormFieldsComponent.tsx - Remove duplicate leadId declaration in LeadManager.tsx IdRenderer
Add validation for required fields in lead imports
- Mark email, firstName, and lastName as required fields in leadFields.ts - Add validation in handleStartImport to check all required fields are mapped - Add va...
Add dynamic field mapping for lead imports based on market configuration
- Update leadFields.ts to include mortgage fields and getAllSystemFields function - Add MORTGAGE_FIELDS array with all LeadClaimMortgage fields - Update LeadMan...
Remove all mock data and make leads system production-ready
- Remove all mock data generation from leadsApi.ts (mockStore, ensureMock, faker.js) - Remove withMock wrapper function and all fallback logic - Remove generate...
เหมือนที่คุณเห็นการขนส่ง?
ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.