-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Launchpad - add handling for new add_first_subscribers
task.
#99207
Launchpad - add handling for new add_first_subscribers
task.
#99207
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~96 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~13017 bytes added 📈 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~9 bytes added 📈 [gzipped])
React components that are loaded lazily, when a certain part of UI is displayed for the first time. 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. Generated by performance advisor bot at iscalypsofastyet.com. |
add_first_subscribers
task.
I plan to look at adding a small notice to help lead users back to the fullscreen launchpad - https://github.com/Automattic/loop/issues/252#issuecomment-2633705228 |
…aking into calypso
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This tests well and code changes seem reasonable to me 👍
Theres one last thing I want to discuss and figure out, this is in regard to the flow for users with unverified emails (as adding subscribers is restricted to users with verified email addresses). For the my-home launchpad, I don't have any issues with displaying the task as enabled regardless as the /subscribers page will communicate the message of need to verify email first. But Id like to discuss options for the stepper/fullscreen onboarding flow:
![]()
![]()
I wonder if @davemart-in or others have thoughts. Im starting to lean towards the second idea. Although it maybe good to follow up a separate PR on the subscribers form to have a better message than "The user's email..." |
@nuriapenya bringing you into this discussion in case you have thoughts. My thought would be to add the "Verify email" step prior to the "Add your first subscribers" step. @Addison-Stavlo yeah, this stood out to me as well:
I'd go with something like:
|
I was initially concerned that could add more weight and friction to the blogger flow, and potentially have a higher impact on completion rates. But maybe it would be ok as long as its not a blocking requirement for the user (they can still skip over it and carry on to publish posts and launch their site either way). |
Heya @davemart-in @Addison-Stavlo 👋🏼 For this specific PR, the second option seems the most reasonable one but bear in mind we will be soon removing the stepper launchpad in favour of the focused one in my home (#98245). And in this case, yes, this task should be the very first one in the list, before the subscribers one. My copy suggestion was:
I pinged you both on Slack in a convo I started around this task :) |
I saw that! Although I saw it was paused temporarily so wanted to make sure we had the fullscreen stepper flow working well in the mean time. 😄 |
I think I wrote these options in an ambiguous way, and I didn't list having verify email task as an option there originally. But since then I have started coming to the conclusion that having the verify task here will be the right things to do. That seems to be what you are saying here and in slack as well, so im on board! |
The backend code corresponding to this PR was just updated to:
The testing instructions have been updated here. ![]() ![]() ![]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the test cases are working as expected for me, and a general smoke test looks good, too!
Related to # Automattic/loop#252 and Automattic/loop#253 and pe7F0s-2mv-p2
Proposed Changes
Adds handling for a new task on the
write
launchpad ("Publish a blog" goal).add_first_subscriber
task to theTASKS_TO_COMPLETE_ON_CLICK
array, to ensure this task is markes as complete once clicked. This handles the completion from the calypso / my-home side.addFirstSubscribersTask
action to the stepper launchpad task definitions, applying similar handling to the full-screen launchpad in stepper.subscribers
step in the fullscreen/stepper launchpad flow for 'write' to be used with this task in the fullscreen version.On my home:
![new-blog-task](https://private-user-images.githubusercontent.com/28742426/409190145-a24920e9-34b1-4760-93c9-5bb8832cc51c.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMTE3MDQsIm5iZiI6MTczOTExMTQwNCwicGF0aCI6Ii8yODc0MjQyNi80MDkxOTAxNDUtYTI0OTIwZTktMzRiMS00NzYwLTkzYzktNWJiODgzMmNjNTFjLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE0MzAwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQxMjFhY2VlNzQzZjVmNzNjZThlNmU1OTFlMTM5OGFiYmIxMTgxM2IzMTI3NDRmOTlkY2RjMzk1MTUxMWI5Y2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.CprWmth_ywqyymD9HAbWgDE7jDLYHRjD07hEEUQc2N0)
In stepper onboarding:
![fullscreen-blogger-launchpad](https://private-user-images.githubusercontent.com/28742426/409613646-6ab6dd30-923d-4d19-bc17-748321c03344.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMTE3MDQsIm5iZiI6MTczOTExMTQwNCwicGF0aCI6Ii8yODc0MjQyNi80MDk2MTM2NDYtNmFiNmRkMzAtOTIzZC00ZDE5LWJjMTctNzQ4MzIxYzAzMzQ0LmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE0MzAwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTExYWViYzc4ZDNhYTg3OWU3ZTUzNWE5YzA0MmRjNDJmMzkyOTM1NTUwZTlhZDNmYThjODQyYzQwN2IwMGJmODcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.t0z1OunUrFvFs4yabS3-WL0e0bfXqdAedlb4_C2QaX4)
Why are these changes being made?
Testing Instructions
This is the separate subscribers checklist on users->subscribers mentioned in the 2 testing flows above. The point of this in the test is that adding subscribers without use of the launchpad checklist should check off both this task and the new task we added on the my home launchpad, BUT clicking the new my home launchpad task and bailing without adding subscribers should only mark off the my home launchpad task and not this one:
![Screenshot 2025-02-06 at 8 07 12 AM](https://private-user-images.githubusercontent.com/28742426/410471786-bf83882c-9e23-417b-a66d-5f178408a7fd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMTE3MDQsIm5iZiI6MTczOTExMTQwNCwicGF0aCI6Ii8yODc0MjQyNi80MTA0NzE3ODYtYmY4Mzg4MmMtOWUyMy00MTdiLWE2NmQtNWYxNzg0MDhhN2ZkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE0MzAwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2MGVmODk5MjJlZmJmNzNhYzRhMzY0NjJlYjQwYTVlODEzMThhOGU0ZTM5OWJhOTQ5ODQxOGNmODEzMWNmZjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.kyMy5qpaVZXD3WGMZYd_Ac0hvZAMGTa7PXQ6p5myvWE)
Pre-merge Checklist