wp-calypso icon indicating copy to clipboard operation
wp-calypso copied to clipboard

A4A: Add VIP Agency partner program form in the Marketplace.

Open jkguidaven opened this issue 7 months ago • 4 comments

This PR includes the VIP agency program form on the Marketplace hosting page.

Screenshot 2025-06-16 at 10 12 43 PM

NOTE: The form submission is not functional yet. I will be making changes to the backend endpoints so this can be tested later.

Closes https://linear.app/a8c/issue/A4A-1033/build-vip-referral-form-into-a4a

Proposed Changes

  • Add a VIP form within the Enterprise hosting section.

Why are these changes being made?

  • This is part of the VIP Agency Program Transition project.

Testing Instructions

  • Use the A4A live link and navigate to /marketplace/hosting page.
  • Click the 'Enterprise' tab.
  • Confirm that the VIP form is rendered properly.
  • Verify that the Form validation is working.

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 tested accessibility for your changes? Ensure the feature remains usable with various user agents (e.g., browsers), interfaces (e.g., keyboard navigation), and assistive technologies (e.g., screen readers) (PCYsg-S3g-p2).
  • [ ] 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 UI changes, have we tested the change in various languages (for example, ES, PT, FR, or DE)? The length of text and words vary significantly between languages.
  • [ ] 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-aUh-p2)?

jkguidaven avatar Jun 16 '25 11:06 jkguidaven

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

App Entrypoints (~155 bytes removed 📉 [gzipped])

name                    parsed_size           gzip_size
entry-main                   -652 B  (-0.0%)     -155 B  (-0.0%)
entry-subscriptions          -357 B  (-0.0%)     -146 B  (-0.0%)
entry-stepper                -357 B  (-0.0%)     -146 B  (-0.0%)
entry-reauth-required        -357 B  (-0.0%)     -146 B  (-0.0%)
entry-login                  -357 B  (-0.0%)     -146 B  (-0.0%)
entry-domains-landing        -357 B  (-0.1%)     -146 B  (-0.1%)
entry-dashboard-dotcom       -357 B  (-0.0%)     -146 B  (-0.0%)
entry-dashboard-a4a          -357 B  (-0.0%)     -146 B  (-0.0%)
entry-browsehappy            -357 B  (-0.2%)     -146 B  (-0.2%)

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

Sections (~15086 bytes added 📈 [gzipped])

name                                parsed_size           gzip_size
a8c-for-agencies-marketplace           +27107 B  (+2.7%)    +8473 B  (+2.8%)
a8c-for-agencies-referrals               +966 B  (+0.1%)      +44 B  (+0.0%)
a8c-for-agencies-reports                 +953 B  (+0.1%)      +74 B  (+0.0%)
a8c-for-agencies-sites                   +902 B  (+0.0%)     +217 B  (+0.0%)
a8c-for-agencies-overview                +746 B  (+0.1%)      -29 B  (-0.0%)
a8c-for-agencies-migrations              +668 B  (+0.1%)      +30 B  (+0.0%)
a8c-for-agencies-woopayments             +525 B  (+0.0%)      +32 B  (+0.0%)
a8c-for-agencies-team                    +485 B  (+0.0%)     -794 B  (-0.3%)
a8c-for-agencies-signup                  +390 B  (+0.2%)      +74 B  (+0.1%)
a8c-for-agencies-partner-directory       +292 B  (+0.1%)    -1128 B  (-0.6%)
jetpack-cloud-agency-dashboard           +226 B  (+0.0%)     +201 B  (+0.1%)
backup                                   +226 B  (+0.0%)     -431 B  (-0.1%)
scan                                     +214 B  (+0.0%)      +22 B  (+0.0%)
a8c-for-agencies-purchases               +187 B  (+0.0%)     -503 B  (-0.2%)
a8c-for-agencies-agency-tier             -186 B  (-0.1%)     +544 B  (+0.5%)
a8c-for-agencies-settings                -173 B  (-0.1%)     +541 B  (+0.6%)
a8c-for-agencies-feedback                +111 B  (+0.0%)      -62 B  (-0.1%)
jetpack-cloud-partner-portal             +103 B  (+0.0%)      -25 B  (-0.0%)
jetpack-social                            +45 B  (+0.0%)      +22 B  (+0.0%)
jetpack-search                            +45 B  (+0.0%)      +22 B  (+0.0%)
a8c-for-agencies-plugins                  +45 B  (+0.0%)      +20 B  (+0.0%)
a8c-for-agencies-landing                  +45 B  (+0.0%)      +20 B  (+0.0%)
a8c-for-agencies-client                   +45 B  (+0.0%)      +10 B  (+0.0%)
a8c-for-agencies                          +45 B  (+0.0%)      +20 B  (+0.0%)
jetpack-cloud-agency-signup               -13 B  (-0.0%)     -113 B  (-0.4%)

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.

matticbot avatar Jun 16 '25 12:06 matticbot

This PR modifies the release build for the following Calypso Apps:

For info about this notification, see here: PCYsg-OT6-p2

  • blaze-dashboard
  • notifications
  • odyssey-stats
  • wpcom-block-editor

To test WordPress.com changes, run install-plugin.sh $pluginSlug add/a4a/marketplace-vip-form on your sandbox.

matticbot avatar Jun 16 '25 12:06 matticbot

There are some ongoing discussions on Slack about this PR.

cleacos avatar Jun 18 '25 07:06 cleacos

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

Some locales (Brazilian Portuguese, Hebrew) have been temporarily machine-translated due to translator availability. All other translations are usually ready within a few days. Untranslated and machine-translated strings will be sent for translation next Monday and are expected to be completed by the following Friday.

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

a8ci18n avatar Jul 03 '25 14:07 a8ci18n