Automattic / Automattic/jetpack

Likes: Add ability for Likes to be disabled in the Reader and subscription emails

Open
#20,087 2 comments 2 reactions 0 assignees View on GitHub
[Extension] Likes [Feature] Likes New Feature
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Is your feature request related to a problem? Please describe.

This is the Jetpack-side of the [feature request in wp-calypso](https://github.com/Automattic/wp-calypso/issues/53729) to respect individual per-post Likes settings in Jetpack when displaying the Likes interface in the wpcom Reader and subscription emails: https://github.com/Automattic/wp-calypso/issues/53729

#### Describe the solution you'd like

For users who wish to hide the Likes feature on particular posts, investigate whether we can respect that setting in the wpcom Reader and in subscriber emails. The ability to do this could become important when we create a Like button block (https://github.com/Automattic/jetpack/issues/19659) — in an FSE world, where the presence of a block implementing the feature implicitly switches it "on", as a user, I'd expect what I do in the editor to propagate to other contexts (like the reader and subscription emails).

The main use case at the moment, is users creating posts containing premium content, where they might want the Likes feature to be disabled everywhere so that they logged-out view of their premium content cannot be "liked".

#### Additional context

* The idea was brought up in discussion surrounding premium content (while investigating https://github.com/Automattic/wp-calypso/issues/44554)
* The wp-calypso side of this issue is reported in: https://github.com/Automattic/wp-calypso/issues/53729
* The tracking issue for creating a Like block: https://github.com/Automattic/jetpack/issues/19659

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked wp-calypso issue 53729 and the Jetpack Like block issue 19659, then trace how per-post Likes settings are represented for the Reader and subscriber emails. Done means the setting is respected in both contexts for posts where Likes are disabled, including the premium-content use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
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.