cancel
Showing results for 
Search instead for 
Did you mean: 

Developing Task List - a multi-user todo list

turgayz
Champ in-the-making
Champ in-the-making
Hi,
On the wiki page http://www.alfresco.org/mediawiki/index.php/Contribution_Area , there are some suggestions of contributions to Alfresco. Among them, I think that implementing the "Task List" will be one of the easiest. So let's start it as a community effort. If you are interested, please write your ideas, suggestions, code… Any help will be appreciated. In the end, I hope we can have a "Task List" contribution to Alfresco.

To start with, I'll try to gather the use cases I can think of - how will the task list be used?

- As a space: A user can create a "Task List" space within his/her home space. And then he can enter lots of "Task"s in it. (So, "Task" looks like a good candidate for a custom type). Later, he will update tasks, mark some of them  as completed, etc. We will be able to sort and filter tasks. There may also be department and company wide task lists.

- Tasks can be attached to other nodes: For example, we have a PDF document. A user will be able to attach a Task to the document. Like a manager attaching a task to a document, asking her assistant to modify some part of the document.

This is the functionality I can think of right now. For a start, please write any other use cases you think can be included in the functionality list.
13 REPLIES 13

gavinc
Champ in-the-making
Champ in-the-making
It depends on the type you have used for the status property.

If you have used a category to represent the status then you could use the r:categorySelector component, however, currently this will allow you to select  any category in the system i.e. you can't limit it to a particular category.

We will be working to improve this in the 1.3 timeframe as well as working on value constraints for properties which will include "list of available values" functionality.

If the status property is just a text field you can just use a normal drop down box represented by the standard JSF h:selectOneMenu component. An example of this is in /projects/web-client/source/web/jsp/wizard/new-rule/details.jsp. The component in this case calls getTypes() in NewRuleWizard to retrieve the values. This method has to return a List of SelectItem objects.

Hope this helps.

turgayz
Champ in-the-making
Champ in-the-making
Hi,
I have added some more functionality:
- The properties "TaskStatus" and "TaskPercentCompleted" are added to Task.
- In the GUI, the above mentioned properties can be updated by editing a task, or when entering a new comment.

New file added to JIRA, and also some screenshots are added.

Things to do:
- Get the list of "task status" definitions from a category definition. Currently, the list is
defined statically in the method NewCommentWizard.getTaskStatusDefinitions(), and also in
NewTaskWizard.getTaskStatusDefinitions().
- Put in some consistency checks for taskPercentCompleted. For example:
  - TaskPercentCompleted cannot be changed to some value other than 0, if the TaskStatus is "NOT STARTED".
  - TaskPercentCompleted should be 100 if the TaskStatus is changed as "FINISHED"
- Introduce a property "AssignedTo" to Task items.
- Create a page for a user to see "Tasks Assigned To Me". This page can list all the tasks assigned to the
current user which are not finished yet.
- (BUG) When the properties of a Task is updated, or a new comment is added, the "task.jsp" page does not get refreshed.
  This causes for the task to show previous values for TaskStatus and TaskPercentCompleted. The change should update the
  values for the task.jsp page.
- Make it possible to attach files to Tasks.

http://www.alfresco.org/jira/browse/AWC-500

jdfreier
Champ in-the-making
Champ in-the-making
Hello,
    Has anyone updated the task list code to work with the latest code in svn?

Thanks,
Joshua

turgayz
Champ in-the-making
Champ in-the-making
Hello,
    Has anyone updated the task list code to work with the latest code in svn?

Thanks,
Joshua
I am afraid I could not find the time to modify the code yet.

I guess that a "Task List Space" is being added to Alfresco for release 1.3. But I don't know about the latest status. There is not much info on JIRA: http://www.alfresco.org/jira/browse/AWC-56