← Back to team overview

mahara-contributors team mailing list archive

[Bug 1723961] Re: Edit plans more easily from a page

 

Preconditions:

1. User plans exist
User has at least 1 task associated with the plan
3. User 
has existing plan block on a portfolio page for the existing plan


Test Steps:

CONFIRM BUTTONS for Create edit and delete
---------------------------------------
1. User browse to a portfolio page that contains a "Plan" block in edit mode 
2. Confirm the following are displayed 
	a. Block title/Plan with gear icon and delete (rubbish bin) icon to the right  ✔  
NOTE: user can user either the plan title for the plan block title or create a new one
	b. Plan description with edit (pencil) icon, add (+) icon and delete (rubbish bin) icon to the right ✔
	c. Tags associated with the plan ✔
	d. Task title with edit (pencil) icon and delete (rubbish bin) icon to the right ✔
	e. The number of tasks (located bottom right of block) ✔
	f. Details link (located bottom left of block)  ✔
3. User click the delete (rubbish bin) icon to the right of Block title/Plan
4. Confirm block is deleted  ✔
5. Confirm Plan is not deleted - (go to Main menu > Content > Plans and confirm plan still exists) ✔

EDIT PLAN
--------------------------------------------
6. User is on  portfolio page that contains a "Plan" block in edit mode 
7. User click the edit (pencil) icon to the right of the plan description
8. Confirm that user is redirected to the plan page in edit mode ✔
9. User makes changed to the plan title and description and click the "Save plan" button
10. Confirm the user is redirected back to the portfolio page in edit mode ✔
11. Confirm that the changes made are now displayed ✔

ADD TASK to PLAN
--------------------------------------------------
12. User is on  portfolio page that contains a "Plan" block in edit mode 
13. User click the add (+) icon to the right of the plan description
14. Confirm the user is redirected to the New Task page in edit mode ✔
15. User fills in all required fields and clicks the "Save Task" button 
16. Confirm the user is redirected back to the portfolio page in edit mode  ✔
17. Confirm that a new task has been added to the bottom of the Plan block and the number of tasks have been updated ✔

DELETE PLAN and CANCEL
---------------------------------------------------
18. User is on  portfolio page that contains a "Plan" block in edit mode 
19. User click the delete (rubbish bin) icon to the right of the plan description
20. Confirm the user is redirected to a delete conformation page with the following ✔
	a. Name of plan to be deleted ✔
	b. Text "Are you sure you wish to delete this plan? Deleting this plan will also remove any tasks it contains."✔
	c. "Delete plan" button✔
	d. Cancel link ✔
21. User click the cancel link 
22. Confirm the user is redirected back to the portfolio page in edit mode ✔
23. Confirm no changes have been made ✔

DELETE PLAN and CONFIRM DELETE
-----------------------------------------------------------------
23. User is on  portfolio page that contains a "Plan" block in edit mode 
24. User click the delete (rubbish bin) icon to the right of the plan description - user is on 
25. Confirm the user is redirected to a delete conformation page with the following ✔
26. User click the "Delete plan" button 
27. Confirm user is redirected back to the portfolio page in edit mode ✘
28. Confirm the plan and plan block has been deleted ✘
29. User browse to Main menu > Content > Plans
30. Confirm that plan has been deleted ✔

EDIT TASK and CANCEL
------------------------------------------------------------------
30. User is on  portfolio page that contains a "Plan" block in edit mode 
31. User click the edit (pencil) icon to the right of the task title 
32. Confirm that user is redirected to the "Editing task" page in edit mode ✔
33. User click the cancel link 
34. Confirm the user is redirected back to the portfolio page in edit mode ✔
35. Confirm that no changes have been made ✔

EDIT TASK
------------------------------------------------------------------
35. User is on  portfolio page that contains a "Plan" block in edit mode 
36. User click the edit (pencil) icon to the right of the Task title
37. Confirm that user is redirected to the "Editing task" page in edit mode ✔
38. User makes changes to the plan title and description and click the "Save plan" button
39. Confirm the user is redirected back to the portfolio page in edit mode ✔
40. Confirm that the Task changes made are now displayed ✔

DELETE TASK and CANCEL
------------------------------------------------------------------
41. User is on  portfolio page that contains a "Plan" block in edit mode 
42. User click the delete (rubbish bin) icon to the right of the plan description
43. Confirm the user is redirected to a delete conformation page with the following ✔
	a. Name of Task to be deleted ✔
        b.Text "Are you sure you wish to delete this task?"✔
	c. "Delete plan" button✔
	d. Cancel link ✔
44. User click the cancel link
45. Confirm the user is redirected back to the portfolio page in edit mode  ✘
46. Confirm no changes have been made ✔

DELETE TASK and CONFIRM DELETE
------------------------------------------------------------------
23. User is on  portfolio page that contains a "Plan" block in edit mode 
24. User click the delete (rubbish bin) icon to the right of the Task title - user is on 
25. Confirm the user is redirected to a delete conformation page with the following ✔
26. User click the "Delete task" button 
27. Confirm user is redirected back to the portfolio page in edit mode ✘
28. Confirm the plan and plan block has been deleted ✘
29. User browse to Main menu > Content > Plans
30. Confirm that plan has been deleted ✔
###############################################################################################
          BUGS 
###############################################################################################

[BUG] Error message when DELETE PLAN and CONFIRM DELETE
Summary: deleting a plan and confirming delete plan triggers an error message "Mahara: Site unavailable"

Test Steps:
1. User click the delete (rubbish bin) icon to the right of the plan description - user is on 
2. Confirm the user is redirected to a delete conformation page with the following ✔
3. User click the "Delete plan" button 

Expected Result: User is redirected back to the portfolio page in edit mode 
Actual Result: Error message is displayed as follows "Mahara: Site unavailable"

4. User browse to Main menu > Content > Plans 
5. Confirm the Plan has been deleted and the Plan Block still remain on the Portfolio page ✔
-------------------------------------------------------------------------------------------------

[BUG] Delete task - Error message when DELETE TASK and CONFIRM DELETE 
Summary: deleting a plan and confirming delete plan triggers an error message "Mahara: Site unavailable"

Test Steps:
1. User click the delete (rubbish bin) icon to the right of the Task title - user is on 
2. Confirm the user is redirected to a delete conformation page with the following ✔
3. User click the "Delete Task" button 

Expected Result: User is redirected back to the portfolio page in edit mode 
Actual Result: Error message is displayed as follows "Mahara: Site unavailable"

4. Confirm Task has been deleted ✔
-------------------------------------------------------------------------------------------------

[BUG] Error message when DELETE PLAN and CANCEL
Summary: Deleting a task from plan block on a portfolio page does not return user to the last page they were on when the cancel link is clicked 

Test Steps:
1. User click the delete (rubbish bin) icon to the right of the plan description - user is on 
2. Confirm the user is redirected to a delete conformation page with the following ✔
3. User click the "Cancel" link

Expected Result: User is redirected back to the portfolio page in edit mode 
Actual Result: User is redirected to the <name of plan> Plan Page 

4. No Changes are made

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1723961

Title:
  Edit plans more easily from a page

Status in Mahara:
  In Progress

Bug description:
  We have a client who has identified that end users of their Mahara
  installation need to be able to update a plan or task from within a
  blocktype instance and return to the page that they were on for more
  consistent experience.

  Finding their way to the plan or task itself in their portfolio
  content can be several clicks to get to and then several more to
  return to the page or dashboard they were reviewing. This can also be
  exacerbated if the user has a high number of instances of each content
  or page type.

  Because of the above they have required the following enhancements
  added to the Plans blocktype to improve user experience:

  1. a link to edit a plan instance (description, title, tags etc)
  2. a link to add a new task to a plan instance
  3. the ability to edit a task instance (description, title, tags, completion date etc)
  4. the ability to mark a task as complete or incomplete from 

  Requirements 1-3, upon save or cancel, will redirect back to the page
  the user was on before entering these pages.

  All editing functionality will only be available to the page owner and
  when in the editing page mode.

  In addition they have also requested the following functionality:
  - the ability to select more than one plan instance per blocktype

  to reduce the unique number of blocktypes required on the page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1723961/+subscriptions


References