Skip to content

Add "View Progress" Link for "Update" Page After Importing Products from Square #357

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

Draft
wants to merge 3 commits into
base: trunk
Choose a base branch
from

Conversation

faisal-alvi
Copy link
Collaborator

@faisal-alvi faisal-alvi commented May 22, 2025

All Submissions:

  • Does your code follow the WooCommerce Sniffs variant of WordPress coding standards?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully run tests with your changes locally?
  • Will this change require new documentation or changes to existing documentation?

Changes proposed in this Pull Request:

  • Adds a "View Progress" link after triggering a product import from Square, allowing users to easily navigate to the Update page and monitor import progress.
image
  • The link is only shown on the settings page, not during the onboarding flow, for a better user experience.
Image

Closes https://linear.app/a8c/issue/SQUARE-97/add-view-progress-button-link-to-the-update-page-after-importing.
Closes #174.

Steps to test the changes in this Pull Request:

  1. Go to WooCommerce > Settings > Square > Sync Settings.
  2. Trigger a product import from Square.
  3. After the import is triggered, confirm that a "View Progress" link appears below the import notice.
  4. Click the "View Progress" link and verify it takes you to the Update page, where you can monitor the import progress.
  5. Go through the onboarding flow and confirm that the "View Progress" link does not appear after importing products.

Changelog entry

Add - A "View Progress" Link for "Update" Page After Importing Products from Square

@faisal-alvi faisal-alvi self-assigned this May 22, 2025
@dkotter dkotter requested a review from qasumitbagthariya May 22, 2025 20:01
@qasumitbagthariya
Copy link
Collaborator

QA Update ✅


I have verified this PR in the feature/add-view-progress-link-after-square-import branch, which has been fixed and is functioning as intended.

I tested the following on this branch:

  • Navigated to WooCommerce > Settings > Square > Sync Settings
  • Triggered product import from Square
  • Confirmed that the "View Progress" link appeared below the import notice
  • Clicked the link and verified it redirected to the Update page, where the import progress was visible
    Also went through the onboarding flow and confirmed that the "View Progress" link did not appear after importing products
Screen.Recording.2025-06-24.at.5.35.26.PM.mov

Testing Environment

  • WordPress: 6.8
  • Theme: Storefront 4.6.1
  • Theme: Twenty Twenty-Four 1.3
  • WooCommerce - 9.9.5
  • PHP: 8.0.30
  • Web Server: Nginx 1.20.2
  • Browser: Chrome
  • OS: macOS 15.2
  • Branch: feature/add-view-progress-link-after-square-import

Steps to Test- As mentioned in the PR description.
Test Results - It is working as expected.
Functional Demo / Screencast -
Special Notes - Ready for code review (Woo)
Testing Document status:
Cases related to this Issue/PR are added to the Critical Flow Wiki pages:

  • Yes
  • Not Required/Applicable for this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "View Progress" Button Link to the "Update" Page After Importing Products from Square
3 participants