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: fix incorrect error check #98509

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

arcangelini
Copy link
Contributor

@arcangelini arcangelini commented Jan 16, 2025

Related to Automattic/jetpack#40850
Related to #98066

Proposed Changes

  • Fix check for subscriber delete error

Why are these changes being made?

The check was not clear and was inverted. The error was running when it should have continued on.

Testing Instructions

  1. Using local link go to /subscribers.
  2. Delete a user and make sure it removes the subscriber.

@arcangelini arcangelini added the [Feature] Subscriptions All subscription-related things such as paid and unpaid, user management, and newsletter settings. label Jan 16, 2025
@arcangelini arcangelini self-assigned this Jan 16, 2025
@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

  • blaze-dashboard
  • command-palette-wp-admin
  • help-center
  • notifications
  • odyssey-stats
  • whats-new
  • wpcom-block-editor

To test WordPress.com changes, run install-plugin.sh $pluginSlug fix/subscriber-delete-error on your sandbox.

@matticbot
Copy link
Contributor

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

Sections (~1 bytes removed 📉 [gzipped])

name         parsed_size           gzip_size
subscribers        -36 B  (-0.0%)       -1 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 (~0 bytes added 📈 [gzipped])

name                                                 parsed_size           gzip_size
async-load-calypso-my-sites-stats-pages-subscribers        -36 B  (-0.0%)       +0 B

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.

@arcangelini arcangelini merged commit 10b1979 into trunk Jan 17, 2025
16 checks passed
@arcangelini arcangelini deleted the fix/subscriber-delete-error branch January 17, 2025 11:13
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.

2 participants