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

Launchpad: Mark "Select a design" as pending if users have not explicitly picked a theme #93901

Closed
taipeicoder opened this issue Aug 26, 2024 · 4 comments · Fixed by Automattic/jetpack#39189
Assignees
Labels
[Pri] High Address as soon as possible after BLOCKER issues [Status] Priority Review Triggered Quality squad has been notified of this issue in #dotcom-triage-alerts [Type] Bug When a feature is broken and / or not performing as intended [Type] Fit and Finish Issues related to the fit, finish and overall polish of WordPress.com

Comments

@taipeicoder
Copy link
Contributor

Description

See context.

Currently, the "Select a design" task is marked as completed even in cases where the user hasn't explicitly switched to a new theme. Which is confusing, since they didn't really select anything.

Image

@Automattic Automattic deleted a comment Aug 26, 2024
@mmtr
Copy link
Member

mmtr commented Aug 26, 2024

Looks like this comes from here: https://github.com/Automattic/jetpack/blob/39b42750147c491d52ef22b4a238b442bc4f349b/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php#L68

The task is always assumed to be completed, but not every onboarding flow ensures that the task is completed.

For instance, in the write flow we show this screen:

Screenshot 2024-08-26 at 17 58 20

After writing the first with the "Draft your first post" post, we don't redirect users back to this screen. Instead we show the launchpad and the "Select a design" task will be already inaccurately completely.

Seems that we have a similar design_completed task for that reason: https://github.com/Automattic/jetpack/blob/39b42750147c491d52ef22b4a238b442bc4f349b/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php#L54

However the write flow currently uses design_selected: https://github.com/Automattic/jetpack/blob/abb0eda7c453c99c676c2cecc9f84136ed99143a/projects/packages/jetpack-mu-wpcom/src/features/launchpad/launchpad.php#L123

Whoever picks this issue should audit all the launchpad tasks definitions using the design_selected task and ensure that the design_completed task is used instead if the flow does not guarantee that a design is selected.

@mmtr mmtr added [Type] Bug When a feature is broken and / or not performing as intended [Pri] High Address as soon as possible after BLOCKER issues [Type] Fit and Finish Issues related to the fit, finish and overall polish of WordPress.com labels Aug 26, 2024
@mmtr mmtr changed the title Launchpad: Consider marking "Select a design" as done when users have explicitly picked a theme Launchpad: Mark "Select a design" as pending if users have not explicitly picked a theme Aug 26, 2024
@github-actions github-actions bot added the [Status] Priority Review Triggered Quality squad has been notified of this issue in #dotcom-triage-alerts label Aug 26, 2024
@retnonindya retnonindya moved this from Needs Triage to Triaged in Automattic Prioritization: The One Board ™ Aug 27, 2024
@dsas dsas self-assigned this Aug 28, 2024
@dsas
Copy link
Contributor

dsas commented Aug 28, 2024

Flows with design_selected:

Task list Code Entrypoint Design selected guarantee?
Link in Bio tld code via w.link Yes - its own unskippable lib selector
Link in Bio code Dunno Yes, as above
Writing code Go through the /start flow, choose write goal, then choose to create post NO needs fix as it is pretty visible in the normal flow
Readymade templates code Go here and pick site layout (not in prod) Design selected guaranteed
AI Assembler code here then New site (not in prod) NO, first step is to use bigsky designer but can just go to wordpress.com/home/:siteSlug
Build (code) Go through the /start flow, choose build goal (?) Yes
Free (code) Any CTA on here NO - leave the design step and go to wordpress.com/home/:siteSlug

@dsas
Copy link
Contributor

dsas commented Sep 2, 2024

Will look at the AI assembler flow separately - that will require changes in Calypso to mark the step as done once the generated design is saved

await updateLaunchpadSettings( siteId, {
	checklist_statuses: { plan_completed: true },
} );

@dsas
Copy link
Contributor

dsas commented Sep 2, 2024

Actually it sounds like there's some fairly intensive changes planned to the UI given that it's not available in prod anyway and it's not completely broken if you do what you're supposed to do, I'm just going to leave AI assembler alone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] High Address as soon as possible after BLOCKER issues [Status] Priority Review Triggered Quality squad has been notified of this issue in #dotcom-triage-alerts [Type] Bug When a feature is broken and / or not performing as intended [Type] Fit and Finish Issues related to the fit, finish and overall polish of WordPress.com
Development

Successfully merging a pull request may close this issue.

3 participants