Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Feature: My Jetpack Welcome Flow (#38534)
* Set WelcomeFlow structure and update WelcomeBanner (async site-only connection) (#37715) * Enhance TermsOfService component * Update MyJetpack connection hook and its usage * Update WelcomeBanner text and add async site registration on click * changelog * Add events and banner dismissal upon connection success * Update versions * Add WelcomeFlow (separate code) structure * Revert WelcomeBanner code * Update banner * Update versions * Hide notices when welcome banner is active * Code improvements * Prevent reloading on site connection * Introduce Notice templating (unify Notices) * Improve displaying notices when welcome banner is active * Improve styling of disabled 'x' button * Add evaluation form to Welcome Flow (#37790) * Enhance TermsOfService component * Update MyJetpack connection hook and its usage * Update WelcomeBanner text and add async site registration on click * changelog * Add events and banner dismissal upon connection success * Update versions * Add WelcomeFlow (separate code) structure * Revert WelcomeBanner code * Update banner * Update versions * Add evaluation form step * Add evaluation processing step and styles * Add evaluation steps to welcome flow * Replace classnames with clsx * Update image filename * Hide notices when welcome banner is active * Code improvements * Prevent reloading on site connection * Introduce Notice templating (unify Notices) * Add 'currentStep' prop to dismiss Tracks event * Add more info to dismiss Tracks event * Code improvements * Add /recommendations/evaluation endpoint handling (#38011) * Enhance TermsOfService component * Update MyJetpack connection hook and its usage * Update WelcomeBanner text and add async site registration on click * changelog * Add events and banner dismissal upon connection success * Update versions * Add WelcomeFlow (separate code) structure * Revert WelcomeBanner code * Update banner * Update versions * Add evaluation form step * Add evaluation processing step and styles * Add evaluation steps to welcome flow * Replace classnames with clsx * Update image filename * Hide notices when welcome banner is active * Code improvements * Prevent reloading on site connection * Introduce Notice templating (unify Notices) * Add 'currentStep' prop to dismiss Tracks event * Add more info to dismiss Tracks event * Code improvements * Improve mutation hook code * Add recommendations evaluation endpoint handling * Implement saving evaluation recommendations * Delete remaining reference * Code improvements and analytics * Fix code review comments * Fix phan * Fix phan 2 * Surpress other parameters * Fix phan completely * Improve Tracks events * Add Evaluation Recommendations logic (#38171) * Add ValueStore logic * Add Evaluation Recommendations logic * changelog * Fix refactor leftover * Improve querying evaluation endpoints * Code review improvements * Extend ProductCard component and create recommendations UI (#38319) * Refactor ProductCard to ts, add 'recommendation' property * Add price component and purchase button * Refactor and cleanup code * Fix backup card * Revert to short descriptions * Improve recommendation button names * Fix additional actions typing * Fix determining state of the recommended product * Fix literal translation handling (transpilation bug) * Fix checkout link redirect * Fix purchase button * Minor code review improvements * Improve handling checkout urls * Fix nitpicks * Improve handling free offerings and upgrade urls * Don't make admin flag required (as it's not required in every case now) * Fix code splitting issue * Activate plugins on 'start for free' action * Add Evaluation Recommendations context menu (#38378) * Refactor ProductCard to ts, add 'recommendation' property * Add price component and purchase button * Refactor and cleanup code * Fix backup card * Revert to short descriptions * Improve recommendation button names * Fix additional actions typing * Fix determining state of the recommended product * Fix literal translation handling (transpilation bug) * Fix boost card popover * Add delete endpoint, unify with others * Extend functionality of Welcome Banner and Evaluation Recommendations hooks * Add context menu to view layer * Fix checkout link redirect * Fix purchase button * Minor code review improvements * Improve handling checkout urls * Code review improvements * Fix nitpicks * Improve handling free offerings and upgrade urls * Don't make admin flag required (as it's not required in every case now) * Fix code splitting issue * Add recommendations initializer tweaks (#38452) * Refactor ProductCard to ts, add 'recommendation' property * Add price component and purchase button * Refactor and cleanup code * Fix backup card * Revert to short descriptions * Improve recommendation button names * Fix additional actions typing * Fix determining state of the recommended product * Fix literal translation handling (transpilation bug) * Fix boost card popover * Add delete endpoint, unify with others * Extend functionality of Welcome Banner and Evaluation Recommendations hooks * Add context menu to view layer * Add silent redBubble alerts - don't show in menu * Hide recommendations when user purchases the product * Fix checkout link redirect * Fix purchase button * Minor code review improvements * Improve handling checkout urls * Code review improvements * Fix nitpicks * Improve handling free offerings and upgrade urls * Don't make admin flag required (as it's not required in every case now) * Fix code splitting issue * Leftover after merge conflict resolution * Welcome Flow: Various tweaks and fixes (#38536) * Various tweaks and fixes * Improve layout of product card, hide boost tooltip on click * Fix Protect tooltips dependency * Display notices when in survey step * Remove red dot on survey step, don't show survey step when user is not new * Fix condition, and add comment * Improve 'start for free' actions and small fixes * Dismiss recommendations instead of deleting them * Fix condition * Redoing recommendations only happens locally * Limit recommendations to 3 * Code review fixes and disabling 'start for free' functionality * Change placement of Boost tooltip and revert click functionality * Welcome Flow: fixes and improvements pt. 2 (#38589) * Apply min-width 300px to cards * Set loading state of site connection button * Fix parsing active modules array * Update changelogger * Fix Tracks events code * Update projects/packages/my-jetpack/_inc/components/product-card/index.tsx Co-authored-by: Ian Ramos <5714212+IanRamosC@users.noreply.github.com> --------- Co-authored-by: jboland88 <18016357+jboland88@users.noreply.github.com> Co-authored-by: Ian Ramos <5714212+IanRamosC@users.noreply.github.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10169516259 Upstream-Ref: Automattic/jetpack@13650c1
- Loading branch information