Skip to Content
Ranlanka CRM documentation — pre-release, subject to change.
Changelog2026-08-02

2026-08-02

  • Refactoring & Code Quality:
    • TaskDetailDrawer Decomposition: Split the 1,100+ line TaskDetailDrawer.tsx file into dedicated modular sub-components (VisaDetailPanel and FlightDetailPanel) for single-responsibility UI layout and maintainability.
    • Error Handling Standardization: Replaced silent error catching in DashboardPage and ServicesPanel with global toast notifications (toast.error()).
    • Centralized Quotation Utilities: Introduced quotationStatus.ts with QUOTATION_STATUS_COLORS and QUOTATION_STATUS_LABELS to standardize quote status representation across the UI.
  • Cross-Stack Parity & Security Alignment:
    • Password Validation Synchronization: Updated frontend isValidPassword in validators.ts to mirror backend PasswordConstraintValidator.java constraints (minimum 6 characters, requiring at least one letter, digit, and special character).
    • Centralized Role Checks: Consolidated isAdminRole() in caseStatus.ts replacing repeated inline checks (role === 'owner' || role === 'manager').
    • Service Type Utilities: Consolidated service type display labels and badge styling into serviceType.ts.
  • API Cleanup & Fleet Management:
    • Unused Endpoint Cleanup: Purged dead/legacy backend endpoints and unused service methods (DELETE /fleet/guiders/{id}, DELETE /fleet/vehicles/{id}, GET /invoices/pricing-preview, and obsolete staff creation endpoints).
    • Fleet Deletion Operations: Wired deletion actions for Guiders and Vehicles with confirmation modal dialogues on the frontend.
  • Subagent & Knowledge Base Infrastructure:
    • Integrated custom subagents (architect_agent, backend_agent, frontend_agent) to enforce strict architectural rules, single sources of truth, and documentation synchronization across the repository.
Last updated on