Skip to content

New task provider: Check unpublished (draft/pending) content #531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 22 commits into
base: develop
Choose a base branch
from

Conversation

aristath
Copy link
Member

@aristath aristath commented Jun 26, 2025

Context

Sometimes people start writing a post but never finish it.
This task-provider checks for any draft/pending posts that were created more than a week ago, and then adds a new task to remind users they should review that post and maybe publish it.

Task Title

Task title: Publish {POST_TYPE} "{POST_NAME}"
Example: `Publish post "Sample Post"

In case the draft post doesn't have a title yet, the message will be Add a title to {POST_TYPE} {POST_ID} and publish it.
Example: Add a title to post 35 and publish it

Task Description

You started writing %1$s, but never finished it. Perhaps it's time to publish it?
Examples:

  • You started writing "Sample Post", but never finished it. Perhaps it's time to publish it?
  • You started writing post 35, but never finished it. Perhaps it's time to publish it? (in case the post doesn't have a post-title yet

@aristath aristath requested a review from ilicfilip June 26, 2025 07:39
Copy link
Contributor

github-actions bot commented Jun 26, 2025

Test on Playground
Test this pull request on the Playground or download the zip.

@aristath aristath removed the request for review from ilicfilip June 26, 2025 07:48
@aristath aristath requested review from ilicfilip and tacoverdo June 27, 2025 09:29
@aristath aristath marked this pull request as ready for review June 27, 2025 09:29
@tacoverdo
Copy link
Contributor

@aristath Does it only do this for the post types marked as 'valuable content'?

@ilicfilip
Copy link
Collaborator

@tacoverdo , yes

@aristath aristath added this to the 1.7.0 milestone Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants