Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHI-2138: Removed twilio sync based transfers #1955

Merged
merged 2 commits into from
Dec 21, 2023

Conversation

stephenhand
Copy link
Collaborator

Description

  • Removed legacy form transfer method using twilio sync
  • Deleted associated legacy types
  • Reorganised transfer code a little
  • Updated transfer form state tests to match updated functionality

Checklist

  • Corresponding issue has been opened
  • New tests added
  • N/A Feature flags added
  • N/A Strings are localized
  • Tested for chat contacts
  • Tested for call contacts

Related Issues

Fixes CHI-2138:

Verification steps

  • Regression test chat & call transfers 2.12.x -> 2.13.x 2.13.x -> 2.12.x, 2.13.x -> 2.13.x

Copy link
Contributor

@murilovmachado murilovmachado left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just one question

Comment on lines +38 to +40
if (savedContact.caseId) {
await asyncDispatcher(connectToCaseAsyncAction(savedContact.id, undefined));
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not very clear to me why we disconnect the contact from the case. Are we doing this because:

  • that's the expected business rule we've agreed on; or
  • just to keep the exact same behaviour that we previously had (when using twilio sync)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because there are issues around transferring cases, because the case is owned by the original creator, so there are permissions issues so we are avoiding the problem by disconnecting cases on transfer for now, but we plan to bring transferring cases in once we know what to do in the various permission scenarios

@stephenhand stephenhand merged commit c5c4b96 into master Dec 21, 2023
8 checks passed
@stephenhand stephenhand deleted the SJH-remove_2-10_compatibility branch December 21, 2023 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants