Skip to content

fix: update loan officer dropdown (EN-287)

Tom Zhu requested to merge fix/update-loan-officer-dropdown into dev

Summary

Reimplement the loan officer dropdown component to match new designs and implement in list view with API requests.

Changes

  • Change data model of loan officer to match backend
  • Remove deprecated avatar
  • Add colours and numbers for busyness
  • Implement busyness converter, rounding for display
  • Add logic for determining if current user is loan officer
  • Add "Me" option if user is loan officer
  • Create "Unassigned" default rendering if no loan officer assigned
  • Replace currently selected loan officer with "Me" if it is current user
  • CSS changes to match designs
  • Add requests to retrieve all loan officers
  • Add requests to assign loan officer on change
  • Implement in applications table view
  • Created types for loan officer, applications
  • Replaced "any" typing on applications table view with Application
  • Made index field required to be passed into render
  • Unit testing
Edited by Tom Zhu

Merge request reports