Automattic / Automattic/jetpack

Subscriptions: Option to filter what is included in subscription count

Open
#7,657 3 comments 0 reactions 0 assignees View on GitHub
[Feature] Subscriptions [Pri] Low Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

After #800, I can understand the suggestion to make the combined count optional. I don't think it is something (at this time at least) to make a UI feature, but I think a filter is worth consideration.

Idea:
1. Add filter to jetpack to default to combined or subscriptions only. I do not want to make it more complicated than that because of the level of code complication that could develop on the API side.
2. Add an argument to the API to accept the type of request, default to combined for BC, and return as such.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by tracing how Jetpack currently computes the combined subscription count and how the API handles that request; done means supporting a filter for combined versus subscriptions-only results while preserving the combined default for backward compatibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.