Comment 9 for bug 1044878

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

TITLE: Make the info on copying text box (text block = Note block) more obvious

BUG SUMMARY: The text for re-using a Note block "If you edit the text of this block, it will also be changed in 1 other block(s) where it appears. Make a copy (link to make a copy)" is not obvious enough for some users and may be overlooked.

ACCEPTANCE CRITERIA:
Added a new feature that the user has to choose yes to
start editing copy. This will force users to interact with the
form before editing with the choice that they are editing
all copies of this content.

When selecting to use content from another note, the
form will update based on their choice. The editor will
remain open if yes has been selected. The editor will
be hidden and only the content will show if 'Yes' has
not be selected.
==============================================

Commit hash: 0df38c69d7cc8076502c717b693cf75179e22ac0
Environment tested: Master
Browser tested: Chrome
Theme used: Primary school

PRECONDITIONS:
------------------------
1) Mahara User exists (no roles)
2) Note block exists (title=Note1) on portfolio page "Version 1"

TEST STEPS:
------------------------
1) Log in as Mahara user (no roles)
2) Create a portfolio page (portfolio page "Version 2")
3) Add a Note block to the page
4) In the Note block modal, click the "Use content from another note" button
5) Select the note "Note1" as mentioned in the preconditions
6) Once a note has been selected
7) Verify that the following text is displayed: "If you edit the text of this block, it will also be changed in 0 other block(s) where it appears. Make a copy" ✔
8) Verify that the make a copy link is displayed in the above text ✔
9) Verify that the "Edit all copies of this note" yes/No toggle is displayed ✔
10) Verify that the Tiny MCE editor is hidden (user cannot edit the text) ✔

**** OPTION 1 : If the "Edit all copies of this note" yes/No toggle is set to Yes

11) Verify that the Tiny MCE editor is displayed and the note text is editable ✔
12) Edit the note text and edit the title for the note block
13) Click the save button
14) Verify that the changes have been made for the page
15) Browse to the portfolio page that contains the original note block (portfolio page "Version 1")
16) Verify that the Note text and title have the new changed made after the edit ✔

**** OPTION 2 : if the Make a copy link is clicked

11) Verify that the Tiny MCE editor is displayed and the note text is editable ✔
12) Verify that the "Edit all copies of this note" yes/No toggle is hidden ✔
13) Edit the note text and edit the title for the note block
14) Click the save button
15) Verify that the changes have been made for the page ✔
16) Browse to the portfolio page that contains the original note block (portfolio page "Version 1")
17) Verify that the original note block title and note text have not been changed ✔

Catalyst QA Approved ✔