Allow page versioning in Mahara

Bug #1742347 reported by Roisin Pearson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Roisin Pearson

Bug Description

This new feature will allow Mahara users to save version state of their portfolios and view those previous versions via the new timeline interface. Currently there is no instance of versioning Mahara so by implementing this feature we want to allow users and administrators to track the changes of their portfolio over time.

Being able to visually see how your portfolio has developed will be useful to keep track of progress and see how your portfolio was impacted due to feedback left by others. Users will also find it useful to revisit old work to update it back into the current page.

This timeline feature will be a basic first iteration of versioning due to limitations on what can be versioned and complexity surrounding keeping the extra data.

tags: added: nominatedfeature
removed: nomin
Changed in mahara:
status: New → In Progress
assignee: nobody → Roisin Pearson (roisinpearson)
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/8416

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

Patch for "master" branch: https://reviews.mahara.org/8420

Robert Lyon (robertl-9)
Changed in mahara:
importance: Undecided → Wishlist
milestone: none → 18.04.0
Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "master" branch: https://reviews.mahara.org/8470

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

Patch for "master" branch: https://reviews.mahara.org/8490

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

Patch for "master" branch: https://reviews.mahara.org/8491

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

Patch for "master" branch: https://reviews.mahara.org/8503

Changed in mahara:
milestone: 18.04.0 → none
Revision history for this message
Steven (stevens-q) wrote :
Download full text (3.9 KiB)

Environment tested: Master
Browser tested: Chrome

===========
Manual Test Script
===========

Test Script Scenario: Saving Portfolio page to timeline
-------------------------------------------------------------------

Precondition:

1. User "InstAMember" exists

Test Script: Saving Portfolio page to timeline

1. User creates a Portfolio page
2. User add a text block to page and click Return to pages and collections button
3. User click on the Portfolio page you have just created to view page
4. Click the ellipsis icon (to right of copy button top right of page)
5. Click the Save to timeline link
6. Click the ellipsis icon again
7. Confirm a timeline link is now displayed ✔
8. Click the timeline link
9. Confirm that user is redirected to the Timeline page ✔
10. Confirm that the following is displayed
 a. A "From" date picker field and a "To" date picker field ✔
 b. A horizontal timeline bar with a previous and next arrow icons on either side ✔
 c. A Page display area depicting the page as it was when saved ✔
11. Repeat the above process by adding something to the portfolio page and saving it to timeline
12. Confirm that each time the page is saved to timeline there is a corresponding dot on the timeline along with the date (ie 27 Jun) ✔

Test Script Scenario: Viewing previous page iterations
------------------------------------------------------------------------------------

Precondition:

1. User has a Portfolio page that has been saved to a timeline
2. The Portfolio page has been iterated 10 times (10 versions)
3. The Portfolio page has been iterated over a few days (this will be used to check the date range functionality)
 a. First save on 2018/06/22
 b. 4 more iterations and saves were done on 2018/06/22
 c. 2 more iterations and saves were done on 2018/06/25
 d. 2more iterations
and saves were done on 2018/06/28
 e. and a final
teration and save were done on 2018/06/30

Test Script: Viewing previous page iterations

1. User click on the Portfolio page you have iterated and added to a timeline
2. Click the ellipsis icon again
3. Click the timeline link
4. Confirm that the time line page is displayed ✔
5. Confirm that the time line has 10 dots along the line ✔
6. User click the forward arrow on the right side of the timeline
7. Confirm that the "timeline" moves to display the hidden versions ✔
8. User click the previous arrow on the on the left side of the timeline
9. Confirm that the timeline moves to display the previous versions ✔
10. User click the forward arrow to the right of the "page display area"
11. Confirm the second iteration of the page is displayed
12. Confirm the highlighted dot moves along the timeline above ✔
13. Repeat step 10 to see all iterations of the Portfolio page
14. User click the previous arrow to the left of the page display area
15. Confirm that the previous iterated page is displayed ✔
16. Confirm that clicking on a non highlighted timeline dot will display the corresponding page in the "page display area ✔
17. User select a date range from
2018/06/28 to 2018/06/30
18. Confirm that the timeline displays the correct date range of 28 Jun to 30 Jun ✔

Test Script Scenario: User deletes a...

Read more...

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

Patch for "master" branch: https://reviews.mahara.org/9014

Revision history for this message
Steven (stevens-q) wrote :

[BUG] A hover state is displayed when moving mouse over the page

1. When viewing the page in the page display area
2. Move the mouse over areas of the page (ie. images, files download, collection pages, add comment links, navigation block, plan block, social media block )

Actual Result: Mouse pointer changes shape indication that the icon is clickable, some page elements are clickable (ie images)
Expected Result: Page block icons should not display a hover state or be functional as this is only a visual display of page iterations

Revision history for this message
Steven (stevens-q) wrote :

[BUG] The timeline page is not representitive of the actual page

1. When viewing the page in the page display area
2. Compare it with positions of blocks on the actual page being saved to timeline
3. Confirm that both the snapshot (timeline page view) is exactly how the actual page looks at the time of the save

Actual Result: The timeline page is not representitive of the actual page content in respect to the positions of blocks on the page
Expected Result: The timeline saves should be representitive of what is displayed on the Portfolio page being saved to the timeline

Revision history for this message
Steven (stevens-q) wrote :
Revision history for this message
Steven (stevens-q) wrote :
Changed in mahara:
milestone: none → 18.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "master" branch: https://reviews.mahara.org/9140

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

Patch for "master" branch: https://reviews.mahara.org/9142

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

Patch for "master" branch: https://reviews.mahara.org/9143

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

Patch for "master" branch: https://reviews.mahara.org/9148

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

Patch for "master" branch: https://reviews.mahara.org/9152

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

Reviewed: https://reviews.mahara.org/9148
Committed: https://git.mahara.org/mahara/mahara/commit/5d8ab5f7304bc483d0fb5b9ac42da5084683004c
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 5d8ab5f7304bc483d0fb5b9ac42da5084683004c
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Sep 26 15:15:47 2018 +1200

Bug 1742347: block styles/ignore notFound error/set unique ids in blocks

- methods in theme.js need to be retriggered for timeline view
because all the versions are ajax loaded
- also patching video js style
- tidy up a few lines
- ignore not artefact not found exception
when displaying view version
- add version number in block target ids
to be able to collapse retractable blocks

behatnotneeded

Change-Id: Id081b63987f282d4c3580c97890676b6cf3e0356

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

Reviewed: https://reviews.mahara.org/9142
Committed: https://git.mahara.org/mahara/mahara/commit/e4747fa20b98a824f05b6a854de6557fd67051f2
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit e4747fa20b98a824f05b6a854de6557fd67051f2
Author: Cecilia Vela Gurovic <email address hidden>
Date: Tue Sep 25 09:49:52 2018 +1200

Bug #1742347: display correct block content when dislaying version

inlcudes:
- allow to display pdf in old versions of view
that are no longer part of the view
- tagged journals && recent forum posts blocks:
show the block content
- allow pagination in the block when displaying
version of the page (for example, tasks in plan block)

behatnotneeded

Change-Id: I74af39b15f5165a1ed9916329c23051897b8463a

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

Reviewed: https://reviews.mahara.org/9140
Committed: https://git.mahara.org/mahara/mahara/commit/a42623001e9cde5978cf03a478bba680e4f8f058
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit a42623001e9cde5978cf03a478bba680e4f8f058
Author: Cecilia Vela Gurovic <email address hidden>
Date: Mon Sep 24 17:29:10 2018 +1200

Bug #1742347 : save Note & Annotation text in version

behatnotneeded

Change-Id: I11e15b3bb79a413f0d99d46ab38f5d7555eec315

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

Reviewed: https://reviews.mahara.org/9134
Committed: https://git.mahara.org/mahara/mahara/commit/4228bdac0fcd261f31270ea35f1618d0cfd26143
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 4228bdac0fcd261f31270ea35f1618d0cfd26143
Author: Roisin Pearson <email address hidden>
Date: Fri Sep 14 09:54:09 2018 +1200

Bug 1742347 Style Changes for versioning page

behatnotneeded

Change-Id: Idf483327d41365f1776dd0043e798553f74e5947
Signed-off-by: Roisin Pearson <email address hidden>

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

Reviewed: https://reviews.mahara.org/8503
Committed: https://git.mahara.org/mahara/mahara/commit/4aa41f44d0c84e6ca84cb6927c8db22455fbbf51
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 4aa41f44d0c84e6ca84cb6927c8db22455fbbf51
Author: Roisin Pearson <email address hidden>
Date: Mon Feb 5 12:02:51 2018 +1300

Bug #1742347 Next and Previous arrows added to the timeline viewport

Change-Id: Ia5e26f7791a1aec90cd26d3092f7542881456255

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

Reviewed: https://reviews.mahara.org/9014
Committed: https://git.mahara.org/mahara/mahara/commit/b3bdbdc9975dc9ce80b04be687e10105538a58cc
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit b3bdbdc9975dc9ce80b04be687e10105538a58cc
Author: Robert Lyon <email address hidden>
Date: Mon Jul 16 11:18:24 2018 +1200

Bug 1742347: Allow $versioning variable for block rendering

To allow us to restrict things being shown for block when in older
version.

behatnotneeded

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

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

Reviewed: https://reviews.mahara.org/9143
Committed: https://git.mahara.org/mahara/mahara/commit/d86be907e419a7ef7d4870c8697701180922a043
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit d86be907e419a7ef7d4870c8697701180922a043
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Sep 26 08:52:54 2018 +1200

Bug #1742347: show correct column width in timeline

behatnotneeded

Change-Id: Id2ded987bc602e5c62c319866f726e4cd646f1cf

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

Reviewed: https://reviews.mahara.org/8491
Committed: https://git.mahara.org/mahara/mahara/commit/6e25089e3098996b3a9b9b8cc621dd4c18fc2807
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 6e25089e3098996b3a9b9b8cc621dd4c18fc2807
Author: Roisin Pearson <email address hidden>
Date: Thu Feb 1 12:12:10 2018 +1300

Bug #1742347 Editing overall style of timeline

Change-Id: Ia33e77d4892b6599c6533f165c18a244f8fad849
Signed-off-by: Roisin Pearson <email address hidden>

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

Reviewed: https://reviews.mahara.org/8470
Committed: https://git.mahara.org/mahara/mahara/commit/65337cd7971c9a82c159caeaa22cd3ca32c75d67
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 65337cd7971c9a82c159caeaa22cd3ca32c75d67
Author: Roisin Pearson <email address hidden>
Date: Thu Jan 25 13:45:40 2018 +1300

Bug #1742347 Adding the timeline bar

Removed demo example files

behatnotneeded

Change-Id: If6bdf0aa3ab3aaa354c9234d45e58b40c79936a3

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

Reviewed: https://reviews.mahara.org/8490
Committed: https://git.mahara.org/mahara/mahara/commit/3e5c72e887103c84d46877d455c49f70e50117f1
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 3e5c72e887103c84d46877d455c49f70e50117f1
Author: Roisin Pearson <email address hidden>
Date: Thu Feb 1 10:57:55 2018 +1300

Bug #1742347 Added functionality for params

when using jTLine in ajax mode we can pass in a "params" object
containing variables e.g. sesskey

behatnotneeded

Change-Id: Id8c1ce149ec30b267aa8c98a2d16e6690bdac4fa
Signed-off-by: Roisin Pearson <email address hidden>

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

Reviewed: https://reviews.mahara.org/8420
Committed: https://git.mahara.org/mahara/mahara/commit/83beaaab3e6579f3aa2b1c040ca3438c247b40db
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 83beaaab3e6579f3aa2b1c040ca3438c247b40db
Author: Roisin Pearson <email address hidden>
Date: Thu Jan 11 14:53:01 2018 +1300

Bug 1742347 initial setup of versioning page

Setup a new page to display version information with a link from the view page

Change-Id: Ib3cd69ba69a463f1a297e8c924a28b98755f8fbe

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

Reviewed: https://reviews.mahara.org/9152
Committed: https://git.mahara.org/mahara/mahara/commit/3eec9dc0be5888abce2420b89ec112a44d709a8a
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 3eec9dc0be5888abce2420b89ec112a44d709a8a
Author: Cecilia Vela Gurovic <email address hidden>
Date: Fri Sep 28 12:05:29 2018 +1200

Bug 1742347: Updating filling line to match theme style

Editing SASS to change the filling line so that the colour matches each different theme

behatnotneeded

Change-Id: Ib13b9fd1758b25ed5f193454322c5d9cf17d3fff

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

Reviewed: https://reviews.mahara.org/8416
Committed: https://git.mahara.org/mahara/mahara/commit/a36c09852cee0b16205d0f7102495b8487ae9219
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit a36c09852cee0b16205d0f7102495b8487ae9219
Author: Roisin Pearson <email address hidden>
Date: Wed Jan 10 15:22:09 2018 +1300

Bug 1742347 Adding new view_versioning table

This table will hold the views block and artefact data for a particular version
merge of other patches.
behatnotneeded

Change-Id: I6821b5ee39a508c35bc85d3ce53b8e24d2a78a7b

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

Remote bug watches

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