I often find myself commenting on a task and, moments later, changing its status to completed. In project_issue, used on drupal.org issue queues, a nice feature is allowing commenters to change certain attributes of the issue while making a comment.
I am proposing a simple node_alter to the comment form for stormtask which would allow a commenter to make changes to the category, status and priority of the task while commenting on it (see attached image)
(Note that the comment_cck can change cck data during commenting, but it does not really apply to storm tasks because fields are not implemented through cck.)
Comments
Comment #1
alberto56 commentedHere is the first version of a patch that works for me. Perhaps it might be nice to align the selection fields, and maybe even allow the user to disable the feature entirely if anyone finds it intrusive.
Comment #2
Magnity commentedI'd really like to get this sort of feature in.
I know there are others who have ideas about this type of feature, so will leave to see if anyone else comments on it before getting down to the detail of the patch.
Comment #3
JGonzalez commentedWas this commited to -dev? I currently have option for "task status" and "assign task to".
I think if priority and category were also added, it'd be nicer to float then all onto one line (like the ones on drupal.org)
Comment #4
Magnity commentedIt hasn't been committed yet - needs review.
Comment #5
Magnity commentedActivating testbot.
Comment #6
Magnity commentedIncomplete comment?
Simply say "Category"
Simply say Status
Simply say Priority
Simply 'end if' would suffice
Also: indentation for comments should be at the same level as the code it is in. Comments generally could be made a little more concise if possible.
It'd be great if we could put all of the dropdowns on one horizontal line.
Powered by Dreditor.
Comment #7
alberto56 commentedWith the patch in #1, a problem occurs if the comment body is empty. This causes a validation error, and the fields to change attributes disappear.
Comment #8
corydorning commentedAny further work done on this? I'd be willing to donate $15-$20 to get this started. (it isn't much, but it's a start) ;)
Comment #9
mmilo commentedSubscribing ...
Hopefully sometime in the future I can give a shot at this.
I think it'd be better to use something like http://drupal.org/project/driven (I haven't taken a look at the API yet tbh), which would remove the need for Storm to use a custom implementation.
Comment #10
francewhoaRelated to #1873992: Enter time via comment
Comment #11
kfritscheIn D6 this is possible with Storm Contrib Common. In comments you can change Status and assigned Person.
I'm not sure right now, but I think this should be moved to D7, as D6 is bugfix only. (?)
Comment #12
juliangb commentedYes, this will be a Drupal 7 feature (if anything), but is not a priority right now due to the basic port.