The interface for this module seems really slick when it comes to scheduling actions for nodes.
Have you considered having it work with Rules actions (and maybe even Rules Scheduler)?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

slashrsm’s picture

Support for Rules actions would be great. I imagine it would be even better to think even about more in-depth integration with Rules. I'm unfortunately not very familiar with Rules Scheduler. Could you describe how you see this two modules working together?

I have to focus on my GSoC project until end of summer, but I'd love to dedicate some time to this after that.

Itangalo’s picture

Rules Scheduler is kind of complex to explain without getting the whole Rules machinery too – but basically it goes like this:

  • A "component" – a set of actions or conditions-and-actions – is created with the Rules UI. Each component can have any number of parameters, being the input with which it is evaluated. (The parameters could be nodes, users, text strings, and other data types supported by Rules.)
  • Usually these components are scheduled from "reaction rules" – similar but more flexible than Drupal core's triggers. When setting up a scheduled component, each parameter must be specified – as well as the time for evaluation.

I would imagine the integration with Scheduled Actions like so:

  • Rules components having at least one node parameter may be selected as actions for Node scheduled actions.
  • When adding these components as actions, the time is set in the same way as for other actions – but any additional parameters are also configured. (This may or may not impose restrictions on which parameters can be used – providing a text string is much easier than, say, an array of user objects.)
  • The scheduled components are treated as other tasks managed by Rules Scheduler, but also appear as tasks listed on the node form. (Scheduled tasks are available as Views objects, which might make this easier.)

I hope this kind of makes sense, and is possibe to understand.
A more in-depth integration with Rules makes sense to me too, and personally I wouldn't exclude turning Scheduled actions more or less into an alternative/additional interface for Rules. (The interface is pluggable.)

An introduction to Rules Scheduler can be found in this screencast, and more can be found here. Unfortunately they are only for Drupal 6, but the concepts are 90% the same in Drupal 7.

I hope to record a new screencast series about Rules in D7 before the end of the summer, but I have some other screencasts I want to record first. Hopefully I can have it done before GSOC is over. (Reading a bit more about your project I realize that you've spent some time with Rules already…) Good luck with your project!

mitchell’s picture

Title: Integration with Rules » Improve date/time selector
Project: Scheduled actions (D7) » Rules
Version: 7.x-1.x-dev » 7.x-2.x-dev
Component: Miscellaneous » Scheduler

Cool module! Good eye, Itangalo!

Since the two modules are based on different APIs, the only things that are transferable are the concepts.
- make absolute and relative separate options
- add a date picker

mitchell’s picture

Almost forgot these screenshots of the two different interfaces.

mitchell’s picture

Issue tags: +ux

tagging

TR’s picture

Version: 7.x-2.x-dev » 8.x-3.x-dev
Issue summary: View changes

At this point, new features should be going into 8.x-3.x first, then be backported to D7 if there is sufficient community interest.