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

Copy Site: Update design for Copying Progress step #72287

Merged
merged 12 commits into from
Jan 18, 2023

Conversation

sejas
Copy link
Member

@sejas sejas commented Jan 18, 2023

Proposed Changes

Redesign the Copying Progress step:

  • Accept props in ProcessingStep
  • Pass Title and Subtitle from the step builder

I didn't add the < Back to sites button.

Testing Instructions

  • Go to /sites
  • Click on the action menu on a business site
  • Click on Copy Site
  • After purchasing the plan, Observe the new Processing copy screen.

Screenshots

Screenshot 2023-01-18 at 20 43 30

Pre-merge Checklist

  • Has the general commit checklist been followed? (PCYsg-hS-p2)
  • Have you written new tests for your changes?
  • Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
  • Have you checked for TypeScript, React or other console errors?
  • Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
  • Have we added the "[Status] String Freeze" label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
  • For changes affecting Jetpack: Have we added the "[Status] Needs Privacy Updates" label if this pull request changes what data or activity we track or use (p4TIVU-ajp-p2)?

@sejas sejas self-assigned this Jan 18, 2023
@sejas sejas added [Feature] Copy Site The copy site tool. [Feature] Tailored Onboarding Flows All onbaording flows targeted to a specific marketshare / audience. Stepper labels Jan 18, 2023
@matticbot
Copy link
Contributor

matticbot commented Jan 18, 2023

Here is how your PR affects size of JS and CSS bundles shipped to the user's browser:

App Entrypoints (~26 bytes added 📈 [gzipped])

name           parsed_size           gzip_size
entry-stepper        +95 B  (+0.0%)      +26 B  (+0.0%)

Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used.

Sections (~78 bytes added 📈 [gzipped])

name       parsed_size           gzip_size
copy-site       +160 B  (+0.1%)      +78 B  (+0.1%)

Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to.

Legend

What is parsed and gzip size?

Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory.
Gzip Size: Compressed size of the JS and CSS files. This much data needs to be downloaded over network.

Generated by performance advisor bot at iscalypsofastyet.com.

@danielbachhuber
Copy link
Contributor

I didn't add the < Back to sites button.

@sejas I'm not actually convinced this screen should have a 'Back' button:

  • 'Back' almost implies you can exit out of the process.
  • Logically, 'Back' should take you to the checkout.
  • If we send the user to the Sites page, there's the chance they could experience some funkiness as the site copy undergoes transformations.

Maybe we should update the message to "This may take a few minutes. Feel free to close this window and we will email you when the process is complete"?

@javierarce What do you think?

@sejas
Copy link
Member Author

sejas commented Jan 18, 2023

I agree. The back button can also guide the user to the simple site while it migrates to atomic, which can lead to some edge cases for a few minutes.

@sejas sejas marked this pull request as ready for review January 18, 2023 20:45
@sejas sejas added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jan 18, 2023
@sejas
Copy link
Member Author

sejas commented Jan 18, 2023

Maybe we should update the message to "This may take a few minutes. Feel free to close this window and we will email you when the process is complete"?

I prefer the current message: This may take a few minutes. We’ll notify you by email when it’s done.. It actually doesn't take that long, and the user can access will be redirected to the site to start creating/developing.

@danielbachhuber
Copy link
Contributor

It actually doesn't take that long

@sejas Have you tried with a 5 GB site yet? 😁

@sejas
Copy link
Member Author

sejas commented Jan 18, 2023

@sejas Have you tried with a 5 GB site yet? 😁

Updated the text and the screenshot 👍 .
83bf4ed

@danielbachhuber danielbachhuber changed the title Update/copy site processing copy step Copy Site: Update design for Copying Progress setp Jan 18, 2023
@danielbachhuber danielbachhuber changed the title Copy Site: Update design for Copying Progress setp Copy Site: Update design for Copying Progress step Jan 18, 2023
yashwin and others added 7 commits January 18, 2023 14:20
* Fix tracking specs against GB v14.8.x

* Fix editor-tracking__other-block-events.ts

* Fix specs/editor-tracking/editor-tracking__global-styles-events.ts

* Remove accidental skip

* More global styles tracking fixes

* Remove "Details" popover test & related actions
The "Details" popover doesn't exist since v14.5. See WordPress/gutenberg#44788

* Fix editor-tracking__toolbar-events.ts

* Fix editor-tracking__document-actions-events.ts

* Fix editor-tracking__fse-template-events.ts

* Fix editor-tracking__pattern-events.ts

* Fix padding setting in editor-tracking__global-styles-events.ts

* Remove accidental page.close

* Update block names for template conversion

* Update template part deletion for new site editor

* Move page closing to a dedicated step
As per #71572 (comment)

* Update test to match current theme (twenty-twenty-two)

* Skip the whole block since currently tracking is not tested there

* Redesign spec around 2022 theme

Co-authored-by: dpasque <dan.speckhard.pasque@automattic.com>
* Fix pricing display for long prices

* Update copy on comparison to be more clear on mobile
* Stats: Updating CSS for summary details and DRYing it

* Stats: Fixing summary page header for small screens

* Stats: Fixing header spacing for small screens
* add: Add domain step to copy site flow.

* fix: Remove hack as we dont have to deal with eCommerce plans

* update: Add domains to the flow progress

* update: Update domains component text for copy flow

Co-authored-by: Daniel Bachhuber <daniel.bachhuber@automattic.com>
* Update font family, size, weight, and colors for Woo

* Fixed width for progress bar

* Max width for progress bar
Remove handling of the error code `site_blacklisted`, as it's no longer being returned by WPCOM.
@danielbachhuber danielbachhuber removed the request for review from a team January 18, 2023 22:26
@danielbachhuber danielbachhuber removed the request for review from worldomonation January 18, 2023 22:26
Copy link
Contributor

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

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

Looks great, @sejas ! Landing it so I can include it in my weekly update 😁

@danielbachhuber danielbachhuber merged commit 9d53cbe into trunk Jan 18, 2023
@danielbachhuber danielbachhuber deleted the update/copy-site-processing-copy-step branch January 18, 2023 23:26
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jan 18, 2023
@a8ci18n
Copy link

a8ci18n commented Jan 19, 2023

This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/7756359

Thank you @sejas for including a screenshot in the description! This is really helpful for our translators.

@a8ci18n
Copy link

a8ci18n commented Jan 25, 2023

This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/7756359

Thank you @sejas for including a screenshot in the description! This is really helpful for our translators.

@a8ci18n
Copy link

a8ci18n commented Feb 10, 2023

Translation for this Pull Request has now been finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Copy Site The copy site tool. [Feature] Tailored Onboarding Flows All onbaording flows targeted to a specific marketshare / audience. Stepper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet