[WAUM] Added Loading States for API flows#3272
Closed
woo-ardsouza wants to merge 1 commit intomainfrom
Closed
Conversation
Contributor
|
@woo-ardsouza has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Contributor
📦 Latest Plugin BuildBuilt at: 2025-05-29T22:28:37.556Z Download: Click here to download the plugin To download: Click the link above → Scroll to bottom → Download "facebook-for-woocommerce" artifact |
ed365ed to
9801209
Compare
Contributor
|
@woo-ardsouza has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Contributor
|
@woo-ardsouza merged this pull request in 6ac09a6. |
sharunaanandraj
pushed a commit
that referenced
this pull request
May 29, 2025
Summary: ## Description In this PR, I added loading state to the Connect, Disconnect, Event Configs creation flow to prevent multiple clicks and to update the end-user on the status of the API call. ### Type of change - New feature (non-breaking change which adds functionality) ## Changelog entry Added Loading States to WAUM flows Pull Request resolved: #3272 Test Plan: 1. Open WhatsApp Utility tab 2. Connect WhatsApp Account by clicking Done in the Onboarding view. 3. Create Event Config by clicking Save in the Manage Event view. 4. Disconnect WhatsApp Account by clicking Disconnect in the confirmation modal. 5. Validate Spinner appears for the clicked button and the buttons are not clickable ## Screen Recording https://github.com/user-attachments/assets/96381fc1-0d07-47c1-8327-a26b16b92403 Reviewed By: sharunaanandraj Differential Revision: D75625482 Pulled By: woo-ardsouza fbshipit-source-id: 043e28ae8639ae85861f2f5581028964d5c763ab
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
In this PR, I added loading state to the Connect, Disconnect, Event Configs creation flow to prevent multiple clicks and to update the end-user on the status of the API call.
Type of change
Changelog entry
Added Loading States to WAUM flows
Test Plan
Screen Recording
Screen.Recording.2025-05-29.at.12.21.40.PM.mov