-
Notifications
You must be signed in to change notification settings - Fork 1
POC - User can create "Remind me to review content" task from post edit screen #405
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
base: develop
Are you sure you want to change the base?
Conversation
Test on Playground |
EDIT: I see that's already done, so ignore previous comment |
I have merged development branch and made necessary changes, to sync this PR with the recent CPT refactor. @aristath , I have decided to use meta_query in order not to display tasks until they are available - since we fetch user tasks only on page load it looked like a simplest solution. Alternatively, we can use an |
Reminders should not be hardcoded to 30 days. User should be able to choose if they want a month, 3 months, 6 months, or a year. |
This is just a POC of what can be done now when we have refactored Todos into User tasks.
This PR adds a button on the Post edit screen which generates a new User (todo) task as reminder to review post content in 30 days. The task will not show up in the widget until 30 days pass.
For the purpose of this video I have changed the
available_at
param to betime()
(without the extra 30 days), so task is visible immediately.Screen.Recording.2025-04-03.at.13.12.56.mov