feat(leads+verification): wire Leads & Lead Verification to be-crm data door #35
Reference in New Issue
Block a user
Delete Branch "integration-lead-and-verification-be"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Integrates the Leads and Lead Verification screens with the live be-crm
backend (crm.lead.* / crm.leadVerification.* / crm.media.*) behind a
mode-agnostic data layer that still falls back to the local mock when the
Shell isn't configured.
Data layer (new)
updateStatus/assign/sendForVerification + media (presign upload/download)
markUnverified/assign/reassign/moveToPending
Backend → FE wiring
net, resolve member ids → real names against crm.team.member.search
(be-crm currently echoes the raw principalId as the name).
crm.lead.attachment.add (per photo, after create), render in the detail
popup via crm.media.presignDownload.
instead of the SDK's opaque "data command failed: 400".
UX
instead of a long inline dropdown.
only renders when the lead carries storm data.
Reference / follow-ups