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

Subscriptions: Add the Subscriber Login navigation placement toggle #90037

Merged
merged 4 commits into from May 9, 2024

Conversation

pkuliga
Copy link
Contributor

@pkuliga pkuliga commented Apr 29, 2024

Related to peKye1-EA-p2

Proposed Changes

It adds the Subscriber Login navigation placement toggle.

Screenshot 2024-04-29 at 14 48 26

Blocked by Automattic/jetpack#37123

Testing Instructions

  1. Go to Newsletter Settings
  2. Make sure the toggle and "Preview and edit" link works as expected

Pre-merge Checklist

  • Has the general commit checklist been followed? (PCYsg-hS-p2)
  • https://wpcalypso.wordpress.com/devdocs/docs/testing/index.md 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-aUh-p2)?

@matticbot
Copy link
Contributor

matticbot commented Apr 29, 2024

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

Sections (~141 bytes added 📈 [gzipped])

name                  parsed_size           gzip_size
settings-newsletter        +952 B  (+0.2%)     +124 B  (+0.1%)
settings-reading           +281 B  (+0.1%)      +39 B  (+0.0%)
settings-writing           +181 B  (+0.0%)      +22 B  (+0.0%)
settings-security          +181 B  (+0.0%)      +22 B  (+0.0%)
settings-podcast           +181 B  (+0.0%)      +22 B  (+0.0%)
settings-performance       +181 B  (+0.0%)      +22 B  (+0.0%)
settings-discussion        +181 B  (+0.0%)      +22 B  (+0.0%)
settings                   +181 B  (+0.0%)      +22 B  (+0.0%)
people                     +181 B  (+0.0%)      +22 B  (+0.0%)
marketing                  +181 B  (+0.0%)      +22 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.

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.

@pkuliga pkuliga added [Feature] Subscriptions All subscription-related things such as paid and unpaid, user management, and newsletter settings. [Status] In Progress labels Apr 29, 2024
@pkuliga pkuliga marked this pull request as ready for review May 3, 2024 06:14
@pkuliga pkuliga requested a review from a team May 3, 2024 06:15
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label May 3, 2024
@lezama
Copy link
Contributor

lezama commented May 3, 2024

Looks good!

Screenshot 2024-05-03 at 9 02 49 AM

The "Preview and Edit" link takes me here:

Screenshot 2024-05-03 at 9 08 37 AM

I don't see any Login Block there 😅

@pkuliga pkuliga added the [Status] String Freeze Add the [Status] String Freeze label to your PR to ensure new strings are translated before merging label May 3, 2024
@pkuliga
Copy link
Contributor Author

pkuliga commented May 3, 2024

Ah, in this case, the navigation is hidden by default. You need to click the icon in the top-right corner to see it.

Screenshot 2024-05-03 at 14 21 43

It's not that obvious, I know...

Copy link
Contributor

@lezama lezama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@matticbot
Copy link
Contributor

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

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

  • wpcom-block-editor

To test WordPress.com changes, run install-plugin.sh $pluginSlug update/subscriber-login-toggle on your sandbox.

@pkuliga pkuliga merged commit 270e72e into trunk May 9, 2024
11 checks passed
@pkuliga pkuliga deleted the update/subscriber-login-toggle branch May 9, 2024 07:22
@github-actions github-actions bot removed [Status] String Freeze Add the [Status] String Freeze label to your PR to ensure new strings are translated before merging [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. [Status] In Progress labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Subscriptions All subscription-related things such as paid and unpaid, user management, and newsletter settings.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants