Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-66539

Non intuitive action for atto link button

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Initial setup

      1. Create a course.
      2. Create a Forum activity (Or anything else).

      Insert a link without providing text to display (Case 1)

      1. Login as admin. (Or any other user).
      2. Go to the created Course.
      3. Go to the created Forum.
      4. Click on Add a new topic button.
      5. In the Atto editor, click on the Link button.
      6. Verify that there is a new label called Text to display.
      7. Verify that there is a new text field that allows the user to input the text to display value.
      8. Type http://moodle.org/ in the Enter a URL text field.
      9. Verify that the Text to display text field will have the same value as the Enter a URL text field.
      10. Click Create link button.
      11. Verify that you will see http://moodle.org/ in the Atto editor.
      12. Click on Show more buttons button.
      13. Click on HTML button.
      14. Verify that you will see <a href="http://moodle.org/" ...  >http://moodle.org/</a>

      Insert a link without providing text to display (Case 2)

      1. Repeat the steps from 1-9 in Case 1.
      2. Delete all the value in the Text to display text field.
      3. Click Create link button.
      4. Verify that you will see http://moodle.org/ in the Atto editor.
      5. Click on Show more buttons button.
      6. Click on HTML button.
      7. Verify that you will see <a href="http://moodle.org/" ...  >http://moodle.org/</a>

      Insert a link with providing text to display

      1. Login as admin. (Or any other user).
      2. Go to the created Course.
      3. Go to the created Forum.
      4. Click on Add a new topic button.
      5. In the Atto editor, click on the Link button.
      6. Set the Text to display text field with this value: Moodle - Open-source learning platform.
      7. Set the Enter a URL text field with this value: https://moodle.org/.
      8. Click Create link button.
      9. Verify that you will see Moodle - Open-source learning platform in the Atto editor.
      10. Click on Show more buttons button.
      11. Click on HTML button.
      12. Verify that you will see <a href="http://moodle.org/" ...  >Moodle - Open-source learning platform</a>

      Edit a link that already had a custom text to display

      1. Login as admin. (Or any other user).
      2. Go to the created Course.
      3. Go to the created Forum.
      4. Click on Add a new topic button.
      5. Click on Show more buttons button.
      6. Click on HTML button.
      7. Delete all the content in the editor.
      8. Set the Atto editor content to: <a href="https://moodle.org/">Moodle - Open-source learning platform</a>.
      9. Click on HTML button.
      10. Verify that you will see Moodle - Open-source learning platform in the Atto editor.
      11. Select the Moodle - Open-source learning platform in the Atto editor.
      12. Click on the Link button.
      13. Verify that the Text to display text field value is: Moodle - Open-source learning platform.
      14. Verify that the Enter a URL text field value is: https://moodle.org/
      Show
      Initial setup Create a course. Create a Forum activity (Or anything else). Insert a link without providing text to display (Case 1) Login as admin. (Or any other user). Go to the created Course. Go to the created Forum. Click on  Add a new topic button. In the Atto editor, click on the Link button. Verify that there is a new label called  Text to display . Verify that there is a new text field that allows the user to input the text to display value. Type http://moodle.org/  in the  Enter a URL text field. Verify that the Text to display text field will have the same value as the Enter a URL text field. Click Create link button. Verify that you will see  http://moodle.org/  in the Atto editor. Click on  Show more buttons button. Click on HTML button. Verify that you will see <a href=" http://moodle.org/ " ...  > http://moodle.org/ </a> Insert a link without providing text to display (Case 2) Repeat the steps from 1-9 in Case 1. Delete all the value in the Text to display text field. Click Create link button. Verify that you will see  http://moodle.org/  in the Atto editor. Click on  Show more buttons button. Click on HTML button. Verify that you will see <a href=" http://moodle.org/ " ...  > http://moodle.org/ </a> Insert a link with providing text to display Login as admin. (Or any other user). Go to the created Course. Go to the created Forum. Click on  Add a new topic button. In the Atto editor, click on the Link button. Set the Text to display text field with this value: Moodle - Open-source learning platform. Set the Enter a URL text field with this value: https://moodle.org/. Click Create link button. Verify that you will see  Moodle - Open-source learning platform in the Atto editor. Click on  Show more buttons button. Click on HTML button. Verify that you will see <a href=" http://moodle.org/ " ...  >Moodle - Open-source learning platform</a> Edit a link that already had a custom text to display Login as admin. (Or any other user). Go to the created Course. Go to the created Forum. Click on  Add a new topic button. Click on  Show more buttons button. Click on HTML button. Delete all the content in the editor. Set the Atto editor content to: <a href="https://moodle.org/">Moodle - Open-source learning platform</a>. Click on HTML button. Verify that you will see  Moodle - Open-source learning platform in the Atto editor. Select the  Moodle - Open-source learning platform in the Atto editor. Click on the Link button. Verify that the Text to display text field value is: Moodle - Open-source learning platform. Verify that the Enter a URL text field value is: https://moodle.org/
    • Affected Branches:
      MOODLE_35_STABLE
    • Pull 3.9 Branch:
    • Pull 3.10 Branch:
      MDL-66539-310
    • Pull 3.11 Branch:
      MDL-66539-311
    • Pull Master Branch:
      MDL-66539-master

      Description

      User clicks Link button in Atto editor and only gets option to set destination address.

      Link is created with the link address as link name. This is especial unpleasant when selecting a Moodle file as the link destination due to the nature of the URLs.

       

      Should contain field to specify link name.

       

      Work around: Enter link name directly in Atto editor, select link name text then click on Link button. Destination address is no longer used as link name.

        Attachments

          Activity

            People

            Assignee:
            huongn@moodle.com Huong Nguyen
            Reporter:
            rob@skills4stem.co.uk Rob Davis
            Participants:
            Component watchers:
            Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 6 hours, 30 minutes
                1d 6h 30m