Automattic / Automattic/jetpack

Newsletter: Make it more clear that Newsletter doesn't work with old posts (or allow it to send old posts)

Open
#37,671 0 comments 1 reaction 0 assignees View on GitHub
[Feature] Subscriptions [Plugin] Jetpack [Pri] Normal Bug New Feature Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### What

Jetpack Newsletter only sends notifications for new posts, yet, the options are active for old posts which gives the impression can Newsletter can be used with them. For these old posts, could we grey out the Newsletter options, and have some verbiage to explain why.

We could also share a workaround or link to a doc for that. (A workaround in mind is to create a new post with a link to the old post). Also, maybe also show the Newsletter options under the Post settings.

### How

Brainstorming an idea:

1. Detect if the post is old, this can be a post that is:
- already published
- was published but switched back to draft, then published again
2. If the post is considered old, then disable the Newsletter settings in the editor (at the pre-publish checks stage)
![image-1](https://github.com/Automattic/jetpack/assets/15944096/c103b438-7602-4487-b272-880d513ec611)

If the Newsletter options could also show under the Post settings, it could help make it more obvious that Newsletter can't be used for old posts. Right now, the Post settings do not list Newsletter.

![image-1](https://github.com/Automattic/jetpack/assets/15944096/2c900667-c5e5-45a0-a55e-7ca3fe8a4166)

---
_Update comment_

Internal discussion: p1717226457719859-slack-C052XEUUBL4

Ideas suggested by @lezama:
- Make it more clear than Newsletter won't work by adding messaging to the Newsletter panel if the post was already published before.
- Allow user to send the email notification by adding tooling to send the newsletter if it was never sent before, like add a button to send the newsletter at a later time if the original publishing decision was to “Post Only.”

---

User report: https://wordpress.org/support/topic/jetpack-newsletter-old-post-dont-send/

Contributor guide

Open the contributing guide

Research direction

Start with the Jetpack Newsletter panel in the editor and its pre-publish checks, as described in the issue. Determine how previously published or republished posts are identified, then clarify whether the desired result is disabled settings with explanatory text, a way to send the newsletter later, or both; done should make the limitation clear and support the agreed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, react, wordpress
Domain
content, frontend
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.