Skip to content

Conversation

@StevenDufresne
Copy link
Contributor

See context: p1763342512081109-slack-C08JZTRS6NA.

Proposed Changes

On a new site with no logs we show an upsell banner that suggest users upgrade to remove the "20 free" activity logs restriction. It feels a bit premature to upsell on a feature that user's partially have but haven't seen yet.

In my opinion, it make sense to only show the upsell banner after a log(s) exists. While we want users to upgrade we want to reduce the number of "gates" we show the user.

Screenshot

Before After
calypso localhost_3000_v2_sites_abstracting blog_logs_activity (2) calypso localhost_3000_v2_sites_testnewsiteforrecordshow wordpress com_logs_activity (1)

Once records exist they'll get:

calypso localhost_3000_v2_sites_testnewsiteforrecordshow wordpress com_logs_activity (2)

Why are these changes being made?

Testing Instructions

  • On a new free site, check your activity logs, expect to not see a banner.
  • Make a site updates (change the name)
  • Return to the activity log section, expect to see the banner

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

@StevenDufresne StevenDufresne requested a review from a team as a code owner November 17, 2025 02:32
@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 Nov 17, 2025
@github-actions
Copy link

github-actions bot commented Nov 17, 2025

Copy link
Contributor

@arthur791004 arthur791004 left a comment

Choose a reason for hiding this comment

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

The changes look good to me but I'm not sure whether we want to keep upsell even if there is no record.

@StevenDufresne
Copy link
Contributor Author

The changes look good to me but I'm not sure whether we want to keep upsell even if there is no record.

Thanks for the code review. I'll follow up with stakeholders to make sure we want this changes.

@arasaraskocaoglan @lucasmendes-design Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants