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

Document existing architecture #25

Open
3 tasks done
Tracked by #19
pranavrajs opened this issue Apr 27, 2022 · 1 comment
Open
3 tasks done
Tracked by #19

Document existing architecture #25

pranavrajs opened this issue Apr 27, 2022 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@pranavrajs
Copy link
Member

pranavrajs commented Apr 27, 2022

Todo:

  • Document the existing API calls in the SDK and the overall flow.
  • Create a flow chart of the existing flow
  • Update the flow based on missing pieces
@pranavrajs pranavrajs mentioned this issue Apr 27, 2022
6 tasks
@pranavrajs pranavrajs added the documentation Improvements or additions to documentation label Apr 27, 2022
@pranavrajs pranavrajs moved this to Todo in Engineering Board Apr 27, 2022
@iamsivin
Copy link
Member

iamsivin commented May 3, 2022

Document the existing API calls in the SDK and the overall flow.

  1. ChatwootChatDialog.show() opens the widget and will create a new contact.
  2. Sending a messsage will call action createMessage().
  3. Message received will call getContact() and getConversations().
  4. Opennig SDK with previous conversation will call getAllMessages() and getContact().
  5. updateContact() and updateMessage() actions is there but i think it is not used.

Create a flow chart of the existing flow

New conversation
Screenshot 2022-05-09 at 11 28 13 AM

Previous conversation
Screenshot 2022-05-09 at 11 38 55 AM

Update the flow based on missing pieces

After merging this #20 PR, the flow LGTM.

@iamsivin iamsivin moved this from Todo to In Progress in Engineering Board May 3, 2022
@iamsivin iamsivin moved this from In Progress to Done in Engineering Board May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: Done
Development

No branches or pull requests

2 participants