Create task in a node, wikimedia style
ramoneur - March 5, 2007 - 15:11
| Project: | Tasklist Advanced |
| Version: | 5.x-1.0 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
Description
I liked the way tasks where managed in a wikimedia extension (http://meta.wikimedia.org/wiki/Tasks_Extension).
It allow to create tasks directly in a node text. For example
<tasks>
[ ] Regular task (Owner User)
[1] High priority task.
[2] Medium priority task.
[3] Low priority task (Owner User)
[!] Urgent task.
[x] Closed task.
</tasks>Then each task is linked to the node where it was created.
I find this feature very useful to manage meetings and ToDo lists.

#1
Interesting idea.
Not sure how well this would translate to a drupal setting, though. It would have to parse the tasks' description and automatically create new nodes from the parsed text. Doable, but it's very different from how drupal does this... some more thoughts on this would be welcome.
#2
Drupal already has a Wiki module... Maybe it would be easier to extend/rely on its functionality, and then somehow integrate (as necessary) with Tasklist?
#3
Such a feature should be "generic" so that it can be used in any body area regardless of content type, perhaps even providing an option to choose which content types would offer this.
Here is how I imagine this might work:
Parsing a new or re-edited node, indentifying the task tags from the content and if found, initiate a behind-the-scenes new task post, including the link to the node in the "hidden" task posting.
This must mean that at least for new nodes, the node must be saved first in order to get hold of the node link, and the task will then be posted right after that, perhaps notifying the user about the additional successful task post in the area right avove the node when returning to full node view after the save.
But how simple can that syntax be made?
Should be as simple as for example the Texy filter recognises text.
Thinking of it, perhaps this would indeed be more suitable as its own or part of an existing filter, which could then also be enabled for various user roles.
The Texy filter recognises a bullet list from the following:
A line of text, followed directly without space or empty line between:
- a new line starting with a dash
* or with an asterisk, then giving ordered list instead of unordered list
This task feature could do something of the same, not needing more than one character or the format itself to recognise the elements.
There should also be a way of adding such things as:
- category(ies, plural?!)
- due date
- done date
- etc.
#4
Sounds to me like this would make a good add-on module to tasks. A contrib module.
#5