Skip to content

Hide backup and scan activities from sites without backup access - #23218

Open
crazytonyli wants to merge 1 commit into
trunkfrom
bugfix/cmm-2130-filter-activity-logs
Open

Hide backup and scan activities from sites without backup access#23218
crazytonyli wants to merge 1 commit into
trunkfrom
bugfix/cmm-2130-filter-activity-logs

Conversation

@crazytonyli

Copy link
Copy Markdown
Contributor

…ccess

WordPress.com backs up Simple sites internally and writes those events to
the activity log regardless of plan, so the activity endpoint returns
backup ("rewind") and scan activities even for sites whose plan does not
include those products. The web Activity Log excludes them by sending
not_group[]=rewind&not_group[]=scan when the site lacks the
backups-self-serve feature, but the apps never did, causing the mobile
Activity Log to show "Backup and scan complete" entries that the web
hides.

This mirrors the web behavior (getActivityLogHiddenGroups in wp-calypso):
a new GetActivityLogHiddenGroupsUseCase decides which groups to hide
based on the backups-self-serve plan feature, falling back to purchased
Jetpack backup/scan products for self-hosted sites, and the activity log
fetch passes them through a new notGroups field on FetchActivityLogPayload
so the server filters them out. The activity type filter picker removes
the hidden groups from its list so they cannot be selected, and the
Backup screen keeps showing rewind events since that is its purpose.
@crazytonyli crazytonyli added this to the 27.1 milestone Aug 14, 2026
@dangermattic

Copy link
Copy Markdown
Collaborator
1 Warning
⚠️ This PR is assigned to the milestone 27.1. This milestone is due in less than 4 days.
Please make sure to get it merged by then or assign it to a milestone with a later deadline.

Generated by 🚫 Danger

@wpmobilebot

Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in Jetpack Android by scanning the QR code below to install the corresponding build.

App NameJetpack Android
Build TypeDebug
Versionpr23218-dbaa518
Build Number1498
Application IDcom.jetpack.android.prealpha
Commitdbaa518
Installation URL39vglur8tgkbo
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in WordPress Android by scanning the QR code below to install the corresponding build.

App NameWordPress Android
Build TypeDebug
Versionpr23218-dbaa518
Build Number1498
Application IDorg.wordpress.android.prealpha
Commitdbaa518
Installation URL7u67kfhb35nvg
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

Copy link
Copy Markdown
Contributor

🤖 Build Failure Analysis

This build has failures. Claude has analyzed them - check the build annotations for details.

@nbradbury

Copy link
Copy Markdown
Contributor

@crazytonyli Overall this looks good, but Claude found a few issues, and checks are failing.

review-pr-23218-issues-2026-08-17.pdf

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