ProjectLibertyLabs / social-app-template

Social Application Template that uses Gateway Services
Apache License 2.0
1 stars 4 forks source link

add referenceId to graph change return in backend #117

Closed claireolmstead closed 4 months ago

claireolmstead commented 4 months ago

Purpose

The goal of this PR is to display the proper loading indicator for follow and unfollow using the webhook endpoint.

Closes #101

Solution

Use the graphOperationStatus to get the status of the graph change operation and display the correct state in the frontend. @JoeCap08055

Change summary

Steps to Verify

  1. Follow
  2. See updating
  3. Wait and and see it automatically change to unfollow
  4. Click unfollow
  5. See updating
  6. Wait and and see it automatically change to follow