Automattic / Automattic/jetpack

Jetpack Stats: add the option to show posts by likes as we do by views

Open
#28,356 3 comments 0 reactions 0 assignees View on GitHub
[Feature] Stats Data [Plugin] Jetpack [Pri] Normal Customer Report [LEGACY] New Feature Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### What

Similar to how popular posts by views are displayed in the Stats UI, show popular posts by likes.

### Why

A user in 38508956-hc received a notification that one of their posts was their most popular post in 2022, and wants to be able to view that notification in context. Right now, we only show how many likes a post or page receives if you click on that post or page, but do nothing with that information.

### How

We can list the top X posts/pages with likes, as we do for posts/pages with views, in the stats UI. Allow them to also be queried by day, month, year etc as the other stats are.

Contributor guide

Open the contributing guide

Research direction

Start by examining the Jetpack Stats UI implementation for popular posts by views and the existing post or page likes data. Trace how the current stats can be queried by day, month, and year, then confirm that the completed work lists top posts or pages by likes with equivalent time filters.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, react, wordpress
Domain
analytics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.