User Tools

Site Tools


ch:fields:contactstatus

One of the RegenCHOICE fields

ContactStatus

my contact status with candidate; displayed as StatusLabel.

Permitted values

(unclear about whether these are OK as strings, or whether they should represent integers.)

  • UNKNOWN (default)
  • UNINVITED
  • BLOCKED
  • INVITEDBYME
  • INVITINGME
  • CONNECTED
  • THEYBREAK
  • IBREAK
  • BROKEN

Transition rules

  • ContactStatus start off UNKNOWN
  • When a CanNum is assigned to a new candidate, ContactStatus = UNINVITED
  • On the candidate page,
    • (un)blocking UNINVITED ←→ BLOCKED
    • withdrawing invitation: INVITEDBYME → UNINVITED
  • When I change ContactStatus to BLOCKED:
    • CanProps are erased, if they were stored
  • On the Candidate page
    • accepting invitation: INVITINGME → CONNECTED
    • creating invitation: UNINVITED → INVITEDBYME
  • When the other party changes ContactStatus to BLOCKED
    • ContactStatus UNINVITED or INVITEDBYME → UNKNOWN
      • to stay there blocklisted, need to check results every time against blocklist
  • When either party accepts an invitation from the other, ContactStatus → CONNECTED
  • On the Break contact page,
  • I can ask to break: CONNECTED → IBREAK
  • I can cancel that: IBREAK → CONNECTED
  • If they want to break: THEYBREAK → BROKEN
  • The other party can change CONNECTED → IBREAK (for them) = THEYBREAK (for me)
  • If ContactStatus becomes BROKEN,
  • CoChannels and CoMyChannels are erased

A function of

Commentary


see also

ch/fields/contactstatus.txt · Last modified: 2024-12-22 20:25 by simongrant