Skip to content

Conversation

@jkguidaven
Copy link
Contributor

Follow up on #102629
Closes https://linear.app/a8c/issue/A4A-670/add-clarity-to-revoking-licenses-in-a-bundle-and-how-to-revoke-a-whole

Proposed Changes

This pull request updates the license revocation flow to better handle "child licenses" within the agency dashboard. The main enhancement is that when a child license is being revoked, the user is now informed that a replacement license will be automatically added to the bundle, making the process clearer for users managing multiple licenses. Additionally, the relevant components and props have been updated to support this new logic.

Screenshot 2026-01-23 at 11 59 50 PM

Why are these changes being made?

  • This adds clarity on what to expect when revoking a child license.

Testing Instructions

  • Use the A4A live link and navigate to /purchases.
  • Revoke a license from a bundle.
  • Confirm you see additional text about what happens when revoking a child license.

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 jkguidaven requested a review from a team January 23, 2026 16:03
@jkguidaven jkguidaven self-assigned this Jan 23, 2026
@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 Jan 23, 2026
@jkguidaven jkguidaven marked this pull request as ready for review January 23, 2026 16:04
@jkguidaven jkguidaven requested a review from madebynoam January 23, 2026 16:04
@matticbot
Copy link
Contributor

matticbot commented Jan 23, 2026

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

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

  • agents-manager
  • help-center
  • notifications
  • wpcom-block-editor

To test WordPress.com changes, run install-plugin.sh $pluginSlug add/a4a/clarity-on-revoking-child-license on your sandbox.

@matticbot
Copy link
Contributor

matticbot commented Jan 23, 2026

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

Sections (~92 bytes added 📈 [gzipped])

Details
name                        parsed_size           gzip_size
a8c-for-agencies-purchases       +294 B  (+0.0%)      +92 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.

@jkguidaven jkguidaven force-pushed the add/a4a/clarity-on-revoking-child-license branch from c069f4f to c90bee2 Compare January 29, 2026 14:37
@jkguidaven jkguidaven force-pushed the add/a4a/clarity-on-revoking-child-license branch from c90bee2 to 4f51768 Compare February 4, 2026 06:06
@jkguidaven jkguidaven merged commit e79e5e5 into trunk Feb 4, 2026
13 checks passed
@jkguidaven jkguidaven deleted the add/a4a/clarity-on-revoking-child-license branch February 4, 2026 07:04
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants