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

Try new earn/stats/marketing navigation structure #76970

Draft
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Draft

Conversation

simison
Copy link
Member

@simison simison commented May 16, 2023

A test branch to play around with few ideas:

  • Changing "Feedback" to "Communication", containing:

    • Newsletter type things
    • Jetpack forms
    • Crowdsignal
    • Subscribers
  • Making "Communication" more like Campaigns dashboard at Squarespace, and more launchpad-like

  • Moving Subscribers to either "Communication" or "Marketing"

  • Add "Marketing" dashboard similar to Squarespace, or similar to "Earn" dashboard, and more launchpad-like

  • Expanding Stats navi to sidebar in addition to section navi

  • Moving Earn stats to Stats

  • Moving "Marketing" to top level from "Tools"

  • Moving "Earn" under (now top level) "Marketing" and renaming "Monetization"

Try it out

Try with Calypso live link below

Screenshot 2023-05-31 at 19 16 16 Screenshot 2023-05-31 at 19 15 51 Screenshot 2023-05-31 at 19 15 45

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)?

@simison simison added Stats Everything related to our analytics product at /stats/ [Status] In Progress [Feature Group] A8C Marketing & Sales Automattic's marketing and sales operations for WordPress.com. Earn labels May 16, 2023
@matticbot
Copy link
Contributor

matticbot commented May 16, 2023

@matticbot
Copy link
Contributor

matticbot commented May 16, 2023

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

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

name                   parsed_size           gzip_size
entry-subscriptions          +70 B  (+0.0%)      +24 B  (+0.0%)
entry-stepper                +70 B  (+0.0%)      +24 B  (+0.0%)
entry-main                   +70 B  (+0.0%)      +24 B  (+0.0%)
entry-login                  +70 B  (+0.0%)      +24 B  (+0.0%)
entry-domains-landing        +70 B  (+0.0%)      +24 B  (+0.0%)
entry-browsehappy            +70 B  (+0.1%)      +24 B  (+0.1%)

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

Sections (~97 bytes added 📈 [gzipped])

name                parsed_size           gzip_size
stats                    +553 B  (+0.1%)      +94 B  (+0.0%)
google-my-business       +268 B  (+0.0%)      +51 B  (+0.0%)
marketing                -219 B  (-0.0%)      -53 B  (-0.0%)
activity                  +12 B  (+0.0%)       +5 B  (+0.0%)

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 (~1118 bytes added 📈 [gzipped])

name                                          parsed_size           gzip_size
async-load-calypso-my-sites-stats-stats-earn      +1493 B    (new)     +752 B    (new)
async-load-calypso-my-sites-sidebar               +1355 B  (+1.3%)     +263 B  (+0.9%)
async-load-store-app-store-stats-listview          +268 B  (+0.4%)      +52 B  (+0.2%)
async-load-store-app-store-stats                   +268 B  (+0.2%)      +51 B  (+0.1%)

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.
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.

@kangzj kangzj removed the Stats Everything related to our analytics product at /stats/ label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Earn [Feature Group] A8C Marketing & Sales Automattic's marketing and sales operations for WordPress.com. [Status] In Progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants