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

Site error page #445

Merged
merged 16 commits into from
Feb 7, 2024
Merged

Site error page #445

merged 16 commits into from
Feb 7, 2024

Conversation

girish-lokapure
Copy link
Contributor

@girish-lokapure girish-lokapure commented Jan 31, 2024

@girish-lokapure girish-lokapure added the WIP PR is a Work in Progress and not ready for review. label Jan 31, 2024
@girish-lokapure girish-lokapure marked this pull request as draft January 31, 2024 13:53
Base automatically changed from enhance/ai-onboarding to trunk February 1, 2024 08:31
@girish-lokapure girish-lokapure added Code Review The PR is in Code Review and removed WIP PR is a Work in Progress and not ready for review. labels Feb 1, 2024
@girish-lokapure girish-lokapure marked this pull request as ready for review February 1, 2024 15:19
Copy link
Member

@arunshenoy99 arunshenoy99 left a comment

Choose a reason for hiding this comment

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

image
Upon clicking "Continue without AI," should we hide the Back button here?

I believe we will need to trigger the error state for the following:

  1. The flow data API calls.
  2. The site logo upload API call.
  3. The Facebook token API call.
  4. The Editor step customize data fetch API call.
  5. The Editor step global styles API call.
  6. The Editor step regenerate API call, in case it is critical enough to cause a white screen.

Let's also fix the lint? https://github.com/newfold-labs/wp-module-onboarding/actions/runs/7743344597/job/21114554218?pr=445

src/OnboardingSPA/components/SiteGenError/stylesheet.scss Outdated Show resolved Hide resolved
src/OnboardingSPA/components/SiteGenError/index.js Outdated Show resolved Hide resolved
src/OnboardingSPA/store/reducer.js Show resolved Hide resolved
Copy link
Member

@arunshenoy99 arunshenoy99 left a comment

Choose a reason for hiding this comment

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

Looks good, moving to QA

@arunshenoy99 arunshenoy99 added QA This PR is in QA and removed Code Review The PR is in Code Review labels Feb 6, 2024
@sangeetha-nayak
Copy link
Contributor

Verified. Works as expected.

@girish-lokapure
Copy link
Contributor Author

image Upon clicking "Continue without AI," should we hide the Back button here?

I believe we will need to trigger the error state for the following:

  1. The flow data API calls.
  2. The site logo upload API call.
  3. The Facebook token API call.
  4. The Editor step customize data fetch API call.
  5. The Editor step global styles API call.
  6. The Editor step regenerate API call, in case it is critical enough to cause a white screen.

Let's also fix the lint? https://github.com/newfold-labs/wp-module-onboarding/actions/runs/7743344597/job/21114554218?pr=445

The error page is now triggered for the following:

  1. The flow data API calls.
  2. The site logo upload API call.
  3. The Facebook token API call.

@arunshenoy99 arunshenoy99 merged commit 8f07296 into trunk Feb 7, 2024
2 of 5 checks passed
@arunshenoy99 arunshenoy99 deleted the siteErrorPage branch February 7, 2024 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QA This PR is in QA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants