Outcomes portfolio (5): Checkpoint block infrastructure

Bug #1991605 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Doris Tam

Bug Description

Part of the outcomes portfolio blueprint: https://blueprints.launchpad.net/mahara/+spec/outcomes-portfolio

This is especially closely linked to bug #1991604

Better formatting: https://wiki.mahara.org/wiki/Proposals/Outcomes_portfolio/Checkpoint_block_infrastructure

# Checkpoint block infrastructure

## High level overview

* Create a new block type
* Pull information through from the activity page setup for levels of achievement
* Deal with achievements and rules of what shall happen once a checkpoint has been achieved
* Resembles the peer assessment block
    * No restriction though who can add comments
    * No draft option
    * No instructions

* Page comments are still kept separate and could still be used.

## Details

### Mock-up reference: 'Edit activity page – group tutor and group admin'

**Who?** As group tutor or group admin...

**What?** I want to add content to the activity page...

**Why?** To assist the learner with their evidence collection and mark checkpoints as completed to illustrate progress.

The numbered list refers to the bullets in the mock-up 'Edit activity page – group tutor and group admin'. This page is accessible to group tutors, group admins, and learners.

Items 1-13 are part of the 'Activity page infrastructure' (see section there for details). Here are only the items listed that pertain to the 'Checkpoint' block, which is a new block type.

14. Checkpoint block is added in full width. When a checkpoint block is deleted by a group tutor or group admin, there is logic that renames all subsequent blocks.
15. Click 'Add comment' to add a comment to the checkpoint. Comments are displayed in reverse chronological order.
16. When a comment was made, the profile picture, the name, the time the comment was made and the comment itself are displayed.
Comments can be saved as draft and then published, similarly to the 'Peer assessment'. Comments can be added no matter whether a checkpoint has been achieved or not.
17. [no change] Additional blocks can be pulled onto the page.
18. Set the achievement level with the drop-down menu. The help icon displays the long-form text for the levels. The menu itself only displays 'Level 1', 'Level 2', 'Level 3', and 'Level 4'.
19. Once the level has been set, a number icon represents the achievement level and below it is a help icon that contains the name of the person who set the level and when they did it. It also contains the long description of the achieved level.
20. Group tutors and group admins can delete comments. Editing of comments is possible for 10 minutes after posting or until somebody adds a new comment, whichever comes first. Group members cannot delete comments.

> Note: It is possible to add new comments no matter whether an achievement level has been set or not.

* New block type but block config is just the normal things that we record for blocks: block type, view, config data, dimensions
* new table: ID, blockID, achievement level ID, userID, ctime
* New table to record checkpoint results for future proofing in case things do need to be reported over it
* Fetches achievement levels from the view_activity_achievement_level table
* Levels: Lang string 'Level' added automatically to the priority number of the level
* Actual name of the levels is in the help icon
* New artefact table similar to peer assessment table

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Mock-up reference: 'Edit activity page – group tutor and group admin'

description: updated
description: updated
Doris Tam (doristam)
Changed in mahara:
assignee: nobody → Doris Tam (doristam)
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review
Revision history for this message
Mahara Bot (dev-mahara) wrote :
Doris Tam (doristam)
Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote :
tags: added: newfeature
Revision history for this message
Mahara Bot (dev-mahara) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/c/mahara/+/13525
Committed: https://git.mahara.org/mahara/mahara/commit/6ed670648e6ca9990ff9bf6fe86ef57fb7a8d74d
Submitter: "Robert Lyon <email address hidden>"
Branch: main

commit 6ed670648e6ca9990ff9bf6fe86ef57fb7a8d74d
Author: Doris Tam <email address hidden>
Date: Wed Nov 30 18:07:55 2022 +1300

Bug 1991605: Outcomes portfolio (5) - Checkpoint block feedback

Change-Id: I3601c9fc0a67ff5c43bfb8aa47872818a1526f29

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review
Revision history for this message
Mahara Bot (dev-mahara) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/c/mahara/+/13547
Committed: https://git.mahara.org/mahara/mahara/commit/3fc21e351c9552b93335e8137155c3c88a2b63bf
Submitter: "Robert Lyon <email address hidden>"
Branch: main

commit 3fc21e351c9552b93335e8137155c3c88a2b63bf
Author: Doris Tam <email address hidden>
Date: Thu Dec 8 15:56:51 2022 +1300

Bug 1991605: Outcomes portfolio (5) - Checkpoint block achiev. level interaction

Change-Id: Ia1e6b8eaa5664795c5587edd7575e9fffc8c4055

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/c/mahara/+/13665
Committed: https://git.mahara.org/mahara/mahara/commit/06def3bdbcb9204baa8e9cc788ad95ecd79638ab
Submitter: "Robert Lyon <email address hidden>"
Branch: main

commit 06def3bdbcb9204baa8e9cc788ad95ecd79638ab
Author: Doris Tam <email address hidden>
Date: Thu Jan 26 10:55:02 2023 +1300

Bug 1991605: Outcomes portfolio (5) - Checkpoint block achievement form on edit page

Change-Id: I7abd6ea25fa494fcc75b0f2150636066aae89c16

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/c/mahara/+/13667
Committed: https://git.mahara.org/mahara/mahara/commit/7b4b83e4776cd76c14820c6c45b5dcdcd2b9991e
Submitter: "Robert Lyon <email address hidden>"
Branch: main

commit 7b4b83e4776cd76c14820c6c45b5dcdcd2b9991e
Author: Robert Lyon <email address hidden>
Date: Thu Jan 26 19:33:30 2023 +1300

Bug 1991605: Outcomes portfolio - Tidying up of some earlier mistakes

From various sections

- outcome portfolios now show in group views block
- can edit the group homepage because now we set lockblocks to true by
default only on 'activity' pages instead of the outcome group so the
group homepage doesn't get loked too
- removing a double up of smarty assignments
- adjusted the return message from saving support content to mention
which one was saved
- removed a duplicate file that had same content as
activitysupport.json.php that was not referenced anywhere
- Allow adding outcome block to activity template page in Admin section
- getting the help modal to overflow the grid stack item if within
grid stack item rather than setting block height

Also adjust some code to be more compatible with older PHP

Change-Id: Ie3dad083c15cc6bb82144cebf9a9d0ed529bfae0
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/c/mahara/+/13669
Committed: https://git.mahara.org/mahara/mahara/commit/112c04a092b116b5536993ccb294639c38dd8cdd
Submitter: "Robert Lyon <email address hidden>"
Branch: main

commit 112c04a092b116b5536993ccb294639c38dd8cdd
Author: Kristina Hoeppner <email address hidden>
Date: Sun Jan 29 16:27:56 2023 +1300

Bug 1991605: Outcomes portfolio - lang string updates

Update various language strings

Change-Id: I8eb9f7805a3006b82c74bdd35b4a651f60503c19

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/c/mahara/+/13742
Committed: https://git.mahara.org/mahara/mahara/commit/76fe9beedd8c0fbf72dafdefaf57bf4d11da6afc
Submitter: "Doris Tam <email address hidden>"
Branch: main

commit 76fe9beedd8c0fbf72dafdefaf57bf4d11da6afc
Author: Robert Lyon <email address hidden>
Date: Thu Feb 9 13:06:19 2023 +1300

Bug 1991605: Outcomes portfolio (5) - Checkpoint deleting

Fixes the following:
- Can add a checkpoint comment after deleteing one without needing to reload page
- added in missing lang strings
- added ability to delete a non-last feedback to make it say 'comment
deleted' rather than actually deleting it
-- note: when it becomes the last comment again it can be fully deleted

Change-Id: I97ebbc22d9448577957224c6dea8e89ee4c2ab14
Signed-off-by: Robert Lyon <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.