blob: 341cc9ba6bb7e601fdd516c831cb3c6de9d2ac80 [file]
#summary Designs for implementing Task-based work flow(GHOP)
#labels Phase-Design,Contents-Draft,Importance-Details
<wiki:toc max_depth="3" />
= Introduction =
This document covers detailed explanation of how we are going to implement Task-based work flow for running GHOP. A more detailed discussion containing requirements for implementing GHOP features in Melange is documented [http://code.google.com/p/soc/wiki/GHOP here].
= Details =
The entire work flow is divided into 5 roles, namely
* Program Admin (PA/LH)
* Organization Admin (OA)
* Mentor
* Student
* Public - This role indicates a general user who has not registered with Melange to access specific views.
== Program Admin ==
* Program Creation View - Already exists (same as GSoC).
* Program Configuration View - Will have options to create new task types and new task states, specify lower age limit, timeline for the program and the maximum number of tasks that the student can work simultaneously during the program. None of these fields will be mandatory, so PA can fill it up whenever she has the relevant details.
* Organization Applications Review View - (Same as GSoC)
* Task Quota Limits - PA will be able to assign tasks-limit quotas to Organizations and will be able tune it whenever required. (GSoC slot allocation interfaces can be re-used?)
== Organization Admin ==
* Add/Edit/Delete New Tasks View - Fields to provide task title, task description are provided. OA will be able to select one of the task types and task states which are defined by PA. There will be a text box to provide arbitrary tags, a field to set the time required to complete the the task(which takes values in hours). A comment box will be provided. The view will also have an option to set the difficulty level(Open question: Should difficulty level be a text box or be selected from a drop down menu containing pre-defined difficulty levels. If it is latter, where and to whom should we provide the option of defining the difficulty levels?). A field to assign mentors to the task will also be provided. If a student has claimed the task, in the edit View there will be an option to either accept or reject the request.
* Tasks Approval View - If mentors add/delete tasks, all such actions will be listed in this view. Bulk Acceptance option will be provided as a check box for each task listed and approve all the selected tasks.
* List of "Tasks with Action Needed" View - This view lists all the tasks that are requested by students to claim, list of tasks for which students have submitted their work. Clicking upon the corresponding task will take him to the edit view of that task.
== Mentor ==
* Add/Edit/Delete New Tasks View - All the options will be same as the one provided for OA, but to add or delete tasks OA should approve the action(Should OAs approve Editing too?). The person who creates the task will be assigned as the mentor automatically.
== Student ==
* Task Description View - All the fields set by OA/Mentors will be displayed. A button to "request to claim" the task will be provided. If the student has already requested to claim this task, we replace the "I request this task" button by "I withdraw".
* In-progress Task View - The contents are exactly the same as the previous view, including "I withdraw" button, with few additions. Firsly it is provided just to give easy access to the task the student is working on. He will be able to submit his work here as a file(Should we allow upload of single file only so student can archive if he has multiple files and upload or should we allow upload multiple files, GMail-attachment style?). It is not yet confirmed that work submissions will be accepted in Melange. It depends on what LH tells us after discussing with the legal team. An additional text box will be provided to specify links to the work done for this task. After the task is completed, the student should be able to change the task state to "NeedReview" which will trigger a notification.
* Completed Tasks View - Provides a list of all the tasks completed by the particular student.
In all the above 3 views, student will be able to add comments to that specific task.
== Public ==
* Task Description View - All the fields mentioned above for student will be visible, but they will be read only. However an option to post comments will be provided.
== Actions common to multiple roles ==
* List Tasks View - This view will be available to all roles. By default all the tasks will be listed. Following filters will be provided to narrow down on the list of tasks. Filter by
# Organization.
# Difficulty level.
# Type of Task.
# State of Task.
# Time required for completing it.
# Newly Added.
# Students (LH should get permission from legal team).
Each task listed will be linked to the specific task description page setup by OA/Mentors.
* All roles will have an option to subscribe to a specific task.
* All the roles except Public role will have a view for signing up.
== Automagic ==
* Whenever something changes on the task page, every one subscribed to the task should get a notification.
* Student will be allowed to work on only one task. If he ever tries to request a second task while he has requested another task, the system will raise an error.
* Once the student requests a task, that task will be locked down, so there will be no button for subsequent students to claim it, until it is reopened.
* (NTH) Once the task is assigned to the student, the student and the mentor should get remainders at specific intervals about the deadline.
* Once the deadline is crossed and the student has not submitted any work, an extended deadline of 24 hrs is automatically provided. After this extended 24 hrs the task automatically re-opens.
== Questions ==