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

Replace the YUI with AMD module in the glossary filter

XMLWordPrintable

    • MOODLE_404_STABLE
    • MDL-78294-master
    • Hide

      1. Login as admin.

      2. Go to Site administration > Plugins > Filters > Manage filters and enable the 'Glossary auto-linking' filter.

      3. Create a course.

      4. In the course create a glossary activity.

      5. Add the following entries in the glossary (make sure that all of them have auto-linking enabled):

      Concept Definition tags attachments
      Entry 1 Test definition    
      Entry 2 Test definition tag1, tag2, tag3  
      Entry 3 Test definition   [image file], [text file]
      Entry 4 Test definition tag1, tag2, tag3, tag4, tag5, tag6, tag7, tag8, tag9, tag10, tag11, tag12 [image file], [text file], [zip file]
       

      6. Create a forum in the course and create a discussion topic.

      7. Post the following separate replies in the created discussion:

      Message
      Testing the auto-linking of Entry 1 glossary entry
      Testing the auto-linking of Entry 2 glossary entry
      Testing the auto-linking of Entry 3 glossary entry
      Testing the auto-linking of Entry 4 glossary entry

      8. In each of the replies the concept of the glossary entries should be presented as a link.

      9. Click on each of the entry links within the discussion replies.

      • confirm that the click action opens as a vertically centred modal on the page.
      • confirm that the entry concept is shown in the modal's header.
      • confirm that the entry definition is shown in the modal's body.
      • confirm that you see the correct entry tags (if present).
        • confirm that clicking on a tag takes you to the relevant tag page.
        • confirm if the entry has more than 10 tags (e.g. Entry 4) the first 10 tags are initially displayed while the rest are hidden. Also, confirm that you can see all tags by clicking 'more...'.
      • confirm that you see the correct entry attachments (if present) with the correct file icons.
      Show
      1. Login as admin. 2. Go to Site administration > Plugins > Filters > Manage filters and enable the 'Glossary auto-linking' filter. 3. Create a course. 4. In the course create a glossary activity. 5. Add the following entries in the glossary (make sure that all of them have auto-linking enabled): Concept Definition tags attachments Entry 1 Test definition     Entry 2 Test definition tag1, tag2, tag3   Entry 3 Test definition   [image file] , [text file] Entry 4 Test definition tag1, tag2, tag3, tag4, tag5, tag6, tag7, tag8, tag9, tag10, tag11, tag12 [image file] , [text file] , [zip file]   6. Create a forum in the course and create a discussion topic. 7. Post the following separate replies in the created discussion: Message Testing the auto-linking of Entry 1 glossary entry Testing the auto-linking of Entry 2 glossary entry Testing the auto-linking of Entry 3 glossary entry Testing the auto-linking of Entry 4 glossary entry 8. In each of the replies the concept of the glossary entries should be presented as a link. 9. Click on each of the entry links within the discussion replies. confirm that the click action opens as a vertically centred modal on the page. confirm that the entry concept is shown in the modal's header. confirm that the entry definition is shown in the modal's body. confirm that you see the correct entry tags (if present). confirm that clicking on a tag takes you to the relevant tag page. confirm if the entry has more than 10 tags (e.g. Entry 4) the first 10 tags are initially displayed while the rest are hidden. Also, confirm that you can see all tags by clicking 'more...'. confirm that you see the correct entry attachments (if present) with the correct file icons.
    • 5
    • Team Alpha - Planning I4-2023

      Remove the YUI code from the glossary filter and replace it with AMD that is based on the core/modal module.

            Geshoski Mihail Geshoski
            l.gil Lior Gil
            Kevin Percy Kevin Percy
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 3 hours, 32 minutes
                2d 3h 32m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.