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

Move the activity modules title, description, and activity completion into a standard module API

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_400_STABLE
    • Pull Master Branch:
      MDL-72413-master-v2
    • Testing Instructions:
      Hide

      Confirm behat passes.

      Prerequisites:

      1. Restore the attached backup to a course backup-moodle2-course-61-activity_examples_1-20211011-1211.mbz
      2. A student enrolled in the course.
      3. Glossary auto-linking enabled for ‘Content and headings’. Refer https://docs.moodle.org/311/en/Glossary_auto-linking_filter
      4. Activity names auto-linking enabled for ‘Content and headings’
      5. In Site admin, search for 'displayoptions' and enable all the options for the plugins:
        1. URL
        2. File
        3. Page

      Note:

      1. Test on classic initially
      2. Activity title is ONLY the name of the activity
      3. An old resource was created that will throw some warnings/notice on the course homepage. This is expected.

      Testing:

      1. Go to the site admin page
      2. Right click on the page
      3. Select the 'Inspect'
      4. Confirm there is only a single html element with the id "maincontent"
      5. Repeat #1-#4 when within an activity

      Common functionality test:

      Repeat the following test with all the activities in the course

      Test

      1. Login as a teacher
      2. Go to the activity in the course
      3. Confirm you see the assignment title, completion information and description

      Repeat as a student

      Delete the resource labelled 'ResourceMarkedAsToBeMigrated'

      Additional detailed test

      Assignment

      1. Log in a teacher
      2. Go to the activity
      3. Click on ‘User Overrides’
      4. Confirm you only see the activity title
      5. Click on 'Add user override'
      6. Confirm you only see the activity title
      7. Enter some override and save
      8. Click on the delete icon against the override
      9. Confirm you only see the activity title
      10. Click on ‘Group overrides’
      11. Confirm you only see the activity title
      12. Click on the settings tab
      13. Confirm you do not see the assignment title, completion information and description
      14. Go to the ‘Advanced grading’
      15. Confirm you do not see the assignment title, completion information and description
      16. Go to the settings tab and update the following:
        1. Set Completion tracking to ‘Do not indicate activity completion’
      17. Confirm you only see the assignment title and description
      18. Go to the settings tab and update the following:
        1. Disable ‘Always show description’
        2. Set Completion tracking to ‘Students can manually mark the activity as completed’
        3. Set 'Allow submissions from' to sometime in the future
        4. Set 'Due date' to sometime in the future
        5. Set 'Remind me to grade by' to sometime in the future
      19. Confirm you only see assignment title and completion information
      20. Go to the settings tab and update the following:
        1. Enable ‘Display description on course page’
      21. Click on the ‘Backup’ item in the more menu
      22. Confirm you do not see the assignment title, completion information and description
      23. Click on the ‘Restore’ item in the more menu
      24. Confirm you do not see the assignment title, completion information and description
      25. Click on the ‘Locally assigned roles’ item in the more menu
      26. Confirm you do not see the assignment title, completion information and description
      27. Click on the ‘Check Permissions’ item in the more menu
      28. Confirm you do not see the assignment title, completion information and description
      29. Right click and inspect the page content
      30. Confirm you only find a single element with the id 'maincontent'
      31. Click on the ‘Permissions’ item in the more menu
      32. Confirm you do not see the assignment title, completion information and description
      33. Click on the ‘Filters’ item in the more menu
      34. Confirm you do not see the assignment title, completion information and description
      35. Log in as a student
      36. Go to the assignment
      37. Click the add submission button
      38. Confirm you see the assignment title, completion information and description

      Book

      1. Login as a teacher
      2. Go to the book activity in the course
      3. Go to the ‘Import chapter’ tab
      4. Confirm you only see the title
      5. Confirm you do not see the completion info and description
      6. Turn on editing
      7. Go to the 'Table of contents' block
      8. Delete all the chapters within the book
      9. Click on the 'Download' link
      10. Confirm you do not see the title, completion info and description

      Chat

      1. Log in as a teacher
      2. Go to the chat activity
      3. Confirm the description content has links to the assignment
      4. Confirm the description content has links to the glossary
      5. Click on ‘Use more accessible interface’
      6. Confirm you do not see the standard activity header.
        Note: title will be viewable but not handled by the header
      7. Click on the ‘Past sessions’ tab
      8. Confirm you only see the “ {activity title}:Chat sessions”

      Choice

      1. Log in as a teacher
      2. Go to the activity
      3. Click on the ‘Responses’ tab
      4. Confirm you only see the activity title
      5. Confirm you do not see the completion and description

      Feedback

      1. Log in as a teacher
      2. Go to the activity
      3. Click on the Analysis tab
      4. Confirm you only see the activity title
      5. Confirm you do not see the completion and description
      6. Click the preview link
      7. Confirm you see only the activity title
      8. Click continue
      9. Click the ‘Edit questions’ link
      10. Repeat #4-#5
      11. Choose a numeric question from the 'Add question' dropdown
      12. Confirm you do not see the completion and description
      13. Click on ‘Show responses’
      14. Repeat #4-#5
      15. Click on ‘Show non-respondents’
      16. Repeat #4-#5
      17. Click on Questions > Edit questions
      18. Click 'Save as new template'
      19. Enter a name under 'Save these questions as a new template'
      20. In the 'Use a template' section, select a template
      21. Repeat #4-#5
      22. Click on Questions > Templates
      23. Click on 'Import questions' link
      24. Repeat #4-#5

      Folder

      1. Log in as a teacher
      2. Go to the activity
      3. Click on the ‘Edit’ button
      4. Confirm you only see the activity title
      5. Confirm you do not see the completion and description

      Forum

      1. Log in as a teacher
      2. Go to the activity
      3. Click on a discussion
      4. Confirm you do not see the completion and description
      5. Click on ‘Export’ from the more menu
      6. Confirm you do not see the activity title, completion and description
      7. Click on the ‘Add a new discussion topic’
      8. Click on ‘Advanced link
      9. Confirm you do not see completion details
      10. Confirm you only see the title and description
      11. Click on the ‘Forum’ tab.
      12. Click on a discussion
      13. Click on ‘Reply’ on a post
      14. Click on ‘Advanced’ link
      15. Confirm you do not see the completion and description
      16. Confirm you see the title
      17. Click on ‘Forum summary report’
      18. Confirm you do not see the standard activity title, completion and description
      19. Click on ‘Settings’ tab and update:
        1. Forum type to ‘A simple single discussion’
      20. Confirm you see the standard activity title, completion
      21. Confirm you do not see the description

      Glossary

      1. Log in as a teacher
      2. Go to the activity
      3. Click on ‘Add a entry’
      4. Confirm you see the standard activity title, description
      5. Confirm you do not see the completion information
      6. Create an entry
      7. Click on the 'link'(Permalink) icon against the entry
      8. Confirm you do not see the standard activity title, completion and description
      9. Click on the Glossary tab
      10. Click on the delete icon against a glossary entry
      11. Confirm you do not see the standard activity title, completion and description
      12. Click on ‘Export entries’ tab
      13. Confirm you do not see the standard activity title, completion and description
      14. Click on ‘Import entries’ tab
      15. Confirm you do not see the standard activity title, completion and description
      16. Click on the 'Pending approval' tab
      17. Confirm you see the activity title and completion details
      18. Go back to the glossary view page
      19. Click on the 'Printer-friendly version' link in the ellipsis dropdown
      20. Confirm you do not see the activity title, completion and description
      21. Right click on the page
      22. Select the 'Inspect'
      23. Confirm there is only a single html element with the id "maincontent"

      H5p

      1. Log in as a teacher
      2. Go to the activity
      3. Click on ‘View all attempts’ link
      4. Confirm you do not see the standard activity title, completion and description

      Data

      1. Log in as a teacher
      2. Go to the activity
      3. Click on ‘Add entry’
      4. Confirm you see the standard activity title, completion and description
      5. Click on 'Cancel'
      6. Click on ‘Export entries’
      7. Confirm you see the standard activity title, completion and description
      8. Click on ‘Import entries’ from the more menu
      9. Confirm you do not see the standard activity title, completion and description
      10. Click on ‘Presets’ from the more menu
      11. Confirm you see the standard activity title, completion and description
      12. Click on ‘Templates’ tab from the more menu
      13. Confirm you see the standard activity title, completion and description

      Lesson

      1. Log in as a teacher
      2. Go to the activity
      3. Confirm you see the standard activity title with a help icon, completion and description
      4. Click on the ‘Edit’ link
      5. Click on 'Add a question page' link
      6. Confirm you see the title and description and not completion info
      7. Click on the 'Lesson' tab
      8. Click on the ‘Edit’ link
      9. Click on the 'Expanded' link
      10. Click on the ‘Import questions’
      11. Confirm you see the standard activity title
      12. Confirm you not see the completion and description
      13. Log in as a student
      14. Confirm you see the standard activity title WITHOUT a help icon, completion and description

      LTI

      1. Log in as a teacher
      2. Go to the activity
      3. Click on the settings page
      4. Disable the following and save:
        1. Display activity description when launched
        2. Display activity name when launched
      5. Confirm you do not see the standard activity title and description
      6. Confirm you see the completion criteria

      Quiz

      1. Log in as a teacher
      2. Go to the activity
      3. Click on the settings page
      4. Delete the description contents and save the activity
      5. Confirm you see the standard activity title and completion
      6. Confirm you do not see the description
      7. Click on the ‘Attempts’ link
      8. Confirm you only see the activity title
      9. Go back to the previous page
      10. Click on the attempt quiz button
      11. Confirm you do not see the standard activity title, completion and description
      12. Complete the quiz
      13. On the summary page, you only see the activity title
      14. Confirm you do not see completion and description
      15. Click on the ‘Submit all and finish’
      16. Confirm you do not see the standard activity title, completion and description
      17. Click on the 'Finish review' link
      18. Click on the ‘Edit Quiz’ link in the ‘More’ menu
      19. Click on the magnifying glass against a question
      20. Confirm you do not see the title, description and activity completion.
      21. Close the popup
      22. Confirm you do not see the standard activity title, completion and description
      23. Click on ‘User Overrides’
      24. Confirm you do not see the standard activity title, completion and description
      25. Click on 'Add user override'
      26. Confirm you do not see completion and description
      27. Confirm you do see the standard activity title
      28. Create an entry and save
      29. Click on the delete icon
      30. Confirm you do not see completion and description
      31. Confirm you do see the standard activity title
      32. Click on the 'Continue' button
      33. Click on ‘Group overrides’
      34. Confirm you do not see the standard activity title, completion and description
      35. Click on ‘Question Bank’ in the more menu
      36. Confirm you do not see the quiz’s activity title, completion and description
      37. Click on ‘Create a new question’ button
      38. Confirm you do not see the quiz’s activity title, completion and description
      39. Click on ‘Import’ link
      40. Confirm you do not see the quiz’s activity title, completion and description
      41. Click on ‘Export’ link
      42. Confirm you do not see the quiz’s activity title, completion and description
      43. Click on ‘Categories’ link
      44. Confirm you do not see the quiz’s activity title, completion and description

      Resource / File

      1. Log in as a teacher
      2. Go to the activity
      3. Click on the settings page
      4. Update the settings:
        1. Display - Embed
        2. Display resource description - Disabled
      5. Confirm you do not see the activity’s description
      6. Confirm you do see the activity title and completion
      7. Update the settings:
        1. Display - Automatic
      8. Confirm you do not see the activity’s description
      9. Confirm you do see the activity title and completion
      10. Click on the settings page
      11. Update the settings:
        1. Show size - checked
        2. Show type - checked
      12. Confirm you do see the activity’s description, activity title and completion
      13. Confirm you see the file information - size and type
      14. Click on the settings page
      15. Update the settings:
        1. Display - Inframe
      16. Click the 'Save and display' button
      17. Confirm in the top portion of the screen you see the following:
        1. title
        2. Description
        3. File size and type
      18. Right click on the moodle page
      19. Inspect the content
      20. Confirm there is only a single element with the id 'maincontent'

      Scorm

      1. Log in as a teacher
      2. Go to the activity
      3. Confirm you do not see the activity’s description in the activity header (NOTE: Description appears within the tabbed content)
      4. Confirm you do see the activity title and completion
      5. Click on Reports
      6. Confirm you do see the activity title
      7. Confirm you do not see the activity completion and description

      Survey - Requires 2 browsers

      1. In browser 1, login as a teacher
      2. Go to the activity
      3. Confirm you see the title, completion info and description in the header
      4. Click on ‘Response reports’
      5. Confirm you do see the activity title
      6. Confirm you do not see the activity completion and description
      7. In browser2, login as a student
      8. Go to the survey page
      9. Confirm you see the title, completion info and description in the header
      10. Complete the survey
      11. Once finished, confirm you do see the title, completion info in the header
      12. Confirm you do not see the description in the header
      13. In browser1, go to the settings tab
      14. Update the following settings:
        1. Survey type - Critical Incidents
      15. In browser2, refresh the page
      16. Confirm you do see the title, completion info and description in the header

      URL

      1. Log in as a teacher
      2. Go to the ‘URL’ activity
      3. Confirm you see the activity title, completion and description
      4. Click on the settings page and update the following:
        1. Display - ‘Embed’
      5. Confirm you see the activity title, completion
      6. Confirm you do not see the description
      7. Click on the settings page and update the following:
        1. Display - ‘inframe’
      8. Confirm you see the activity title
      9. Right click on the moodle page
      10. Inspect the content
      11. Confirm there is only a single element with the id 'maincontent'
      12. Go to the ‘BrokenURL’ activity
      13. Confirm you see the activity title and completion
      14. Confirm you see the description only displayed once.

      Wiki

      1. Log in as a teacher
      2. Go to the activity
      3. Click on the ‘Files’ link
      4. Confirm you do see the activity title, completion and description
      5. Click on the 'Edit files' button
      6. Confirm you see title and description
      7. Confirm you do not see the completion info
      8. Click on the Comments link
      9. Confirm you do see the activity title, completion and description
      10. Log in as a student
      11. Repeat #2-#6

      Page

      1. Log in as a teacher
      2. Go to the activity
      3. Go to settings tab and update the settings:
        1. Display page name - unchecked
        2. Display page description - unchecked
      4. Click on ‘Save and display’
      5. Confirm you do NOT see the activity title and description
      6. Confirm you see the completion displayed
      7. Go to settings tab and update the settings:
        1. Display - 'In pop-up'
        2. Display page name - checked
        3. Display page description - checked
      8. Click on ‘Save and display’
      9. Go back to the course home page
      10. Click on the Page activity
      11. In the pop up window, confirm you see the completion details and description
      12. Confirm you do not see activity title

      Workshop (Requires 2 browser)

      1. In browser 1, Log in as a teacher
      2. Go to the activity
      3. Confirm you do see the title WITH a help icon and completion details in the header
      4. Click on the 'Assessment form'
      5. Click on the 'Save and preview' button
      6. Confirm you can see the activity title
      7. Confirm you do not see the completion details and description
      8. Click on the ‘Switch to the submission phase’
      9. Confirm you do not see the activity’s completion and description
      10. Confirm you see the activity title
      11. Click on the ‘Confirm’ button
      12. Click on the ‘Allocate submissions’ within the ‘Submission Phase’ column
      13. Confirm you do not see the completion and description
      14. Confirm you see the activity title
      15. Click on the ‘Submit your work’ link in the ‘Submission phase’ column
      16. Confirm you do not see the activity’s completion and description
      17. Confirm you see the activity title
      18. Click on the ‘Edit assessment form’ in the Setup phase column
      19. Confirm you do not see the activity’s completion and description
      20. Confirm you see the activity title
      21. Go to the settings page and update the following:
        1. Enable Assessment settings > 'Use self-assessment'
      22. In the activity page, click on 'Switch to the submission phase'
      23. In Browser2, Login as a student
      24. Go to the workshop page
      25. Click on the 'Submit your work' link
      26. Provide a submission
      27. In browser1, click on the 'Allocate submissions' link
      28. In the 'Participant is reviewed by' column, select the student in the Add reviewer dropdown
      29. Click on the 'Workshop' tab
      30. Click on the 'Switch to the assessment phase'
      31. In browser 2, go to the workshop view page
      32. Click on the 'Assess' button
      33. Confirm you do not see the activity description and completion details
      34. Confirm you see the activity title

      Repeat all on boost
      Note: Activity titles are disabled by default

      Show
      Confirm behat passes. Prerequisites: Restore the attached backup to a course backup-moodle2-course-61-activity_examples_1-20211011-1211.mbz A student enrolled in the course. Glossary auto-linking enabled for ‘Content and headings’. Refer https://docs.moodle.org/311/en/Glossary_auto-linking_filter Activity names auto-linking enabled for ‘Content and headings’ In Site admin, search for 'displayoptions' and enable all the options for the plugins: URL File Page Note : Test on classic initially Activity title is ONLY the name of the activity An old resource was created that will throw some warnings/notice on the course homepage. This is expected. Testing: Go to the site admin page Right click on the page Select the 'Inspect' Confirm there is only a single html element with the id "maincontent" Repeat #1-#4 when within an activity Common functionality test: Repeat the following test with all the activities in the course Test Login as a teacher Go to the activity in the course Confirm you see the assignment title, completion information and description Repeat as a student Delete the resource labelled 'ResourceMarkedAsToBeMigrated' Additional detailed test Assignment Log in a teacher Go to the activity Click on ‘User Overrides’ Confirm you only see the activity title Click on 'Add user override' Confirm you only see the activity title Enter some override and save Click on the delete icon against the override Confirm you only see the activity title Click on ‘Group overrides’ Confirm you only see the activity title Click on the settings tab Confirm you do not see the assignment title, completion information and description Go to the ‘Advanced grading’ Confirm you do not see the assignment title, completion information and description Go to the settings tab and update the following: Set Completion tracking to ‘Do not indicate activity completion’ Confirm you only see the assignment title and description Go to the settings tab and update the following: Disable ‘Always show description’ Set Completion tracking to ‘Students can manually mark the activity as completed’ Set 'Allow submissions from' to sometime in the future Set 'Due date' to sometime in the future Set 'Remind me to grade by' to sometime in the future Confirm you only see assignment title and completion information Go to the settings tab and update the following: Enable ‘Display description on course page’ Click on the ‘Backup’ item in the more menu Confirm you do not see the assignment title, completion information and description Click on the ‘Restore’ item in the more menu Confirm you do not see the assignment title, completion information and description Click on the ‘Locally assigned roles’ item in the more menu Confirm you do not see the assignment title, completion information and description Click on the ‘Check Permissions’ item in the more menu Confirm you do not see the assignment title, completion information and description Right click and inspect the page content Confirm you only find a single element with the id 'maincontent' Click on the ‘Permissions’ item in the more menu Confirm you do not see the assignment title, completion information and description Click on the ‘Filters’ item in the more menu Confirm you do not see the assignment title, completion information and description Log in as a student Go to the assignment Click the add submission button Confirm you see the assignment title, completion information and description Book Login as a teacher Go to the book activity in the course Go to the ‘Import chapter’ tab Confirm you only see the title Confirm you do not see the completion info and description Turn on editing Go to the 'Table of contents' block Delete all the chapters within the book Click on the 'Download' link Confirm you do not see the title, completion info and description Chat Log in as a teacher Go to the chat activity Confirm the description content has links to the assignment Confirm the description content has links to the glossary Click on ‘Use more accessible interface’ Confirm you do not see the standard activity header. Note: title will be viewable but not handled by the header Click on the ‘Past sessions’ tab Confirm you only see the “ {activity title}:Chat sessions” Choice Log in as a teacher Go to the activity Click on the ‘Responses’ tab Confirm you only see the activity title Confirm you do not see the completion and description Feedback Log in as a teacher Go to the activity Click on the Analysis tab Confirm you only see the activity title Confirm you do not see the completion and description Click the preview link Confirm you see only the activity title Click continue Click the ‘Edit questions’ link Repeat #4-#5 Choose a numeric question from the 'Add question' dropdown Confirm you do not see the completion and description Click on ‘Show responses’ Repeat #4-#5 Click on ‘Show non-respondents’ Repeat #4-#5 Click on Questions > Edit questions Click 'Save as new template' Enter a name under 'Save these questions as a new template' In the 'Use a template' section, select a template Repeat #4-#5 Click on Questions > Templates Click on 'Import questions' link Repeat #4-#5 Folder Log in as a teacher Go to the activity Click on the ‘Edit’ button Confirm you only see the activity title Confirm you do not see the completion and description Forum Log in as a teacher Go to the activity Click on a discussion Confirm you do not see the completion and description Click on ‘Export’ from the more menu Confirm you do not see the activity title, completion and description Click on the ‘Add a new discussion topic’ Click on ‘Advanced link Confirm you do not see completion details Confirm you only see the title and description Click on the ‘Forum’ tab. Click on a discussion Click on ‘Reply’ on a post Click on ‘Advanced’ link Confirm you do not see the completion and description Confirm you see the title Click on ‘Forum summary report’ Confirm you do not see the standard activity title, completion and description Click on ‘Settings’ tab and update: Forum type to ‘A simple single discussion’ Confirm you see the standard activity title, completion Confirm you do not see the description Glossary Log in as a teacher Go to the activity Click on ‘Add a entry’ Confirm you see the standard activity title, description Confirm you do not see the completion information Create an entry Click on the 'link'(Permalink) icon against the entry Confirm you do not see the standard activity title, completion and description Click on the Glossary tab Click on the delete icon against a glossary entry Confirm you do not see the standard activity title, completion and description Click on ‘Export entries’ tab Confirm you do not see the standard activity title, completion and description Click on ‘Import entries’ tab Confirm you do not see the standard activity title, completion and description Click on the 'Pending approval' tab Confirm you see the activity title and completion details Go back to the glossary view page Click on the 'Printer-friendly version' link in the ellipsis dropdown Confirm you do not see the activity title, completion and description Right click on the page Select the 'Inspect' Confirm there is only a single html element with the id "maincontent" H5p Log in as a teacher Go to the activity Click on ‘View all attempts’ link Confirm you do not see the standard activity title, completion and description Data Log in as a teacher Go to the activity Click on ‘Add entry’ Confirm you see the standard activity title, completion and description Click on 'Cancel' Click on ‘Export entries’ Confirm you see the standard activity title, completion and description Click on ‘Import entries’ from the more menu Confirm you do not see the standard activity title, completion and description Click on ‘Presets’ from the more menu Confirm you see the standard activity title, completion and description Click on ‘Templates’ tab from the more menu Confirm you see the standard activity title, completion and description Lesson Log in as a teacher Go to the activity Confirm you see the standard activity title with a help icon, completion and description Click on the ‘Edit’ link Click on 'Add a question page' link Confirm you see the title and description and not completion info Click on the 'Lesson' tab Click on the ‘Edit’ link Click on the 'Expanded' link Click on the ‘Import questions’ Confirm you see the standard activity title Confirm you not see the completion and description Log in as a student Confirm you see the standard activity title WITHOUT a help icon, completion and description LTI Log in as a teacher Go to the activity Click on the settings page Disable the following and save: Display activity description when launched Display activity name when launched Confirm you do not see the standard activity title and description Confirm you see the completion criteria Quiz Log in as a teacher Go to the activity Click on the settings page Delete the description contents and save the activity Confirm you see the standard activity title and completion Confirm you do not see the description Click on the ‘Attempts’ link Confirm you only see the activity title Go back to the previous page Click on the attempt quiz button Confirm you do not see the standard activity title, completion and description Complete the quiz On the summary page, you only see the activity title Confirm you do not see completion and description Click on the ‘Submit all and finish’ Confirm you do not see the standard activity title, completion and description Click on the 'Finish review' link Click on the ‘Edit Quiz’ link in the ‘More’ menu Click on the magnifying glass against a question Confirm you do not see the title, description and activity completion. Close the popup Confirm you do not see the standard activity title, completion and description Click on ‘User Overrides’ Confirm you do not see the standard activity title, completion and description Click on 'Add user override' Confirm you do not see completion and description Confirm you do see the standard activity title Create an entry and save Click on the delete icon Confirm you do not see completion and description Confirm you do see the standard activity title Click on the 'Continue' button Click on ‘Group overrides’ Confirm you do not see the standard activity title, completion and description Click on ‘Question Bank’ in the more menu Confirm you do not see the quiz’s activity title, completion and description Click on ‘Create a new question’ button Confirm you do not see the quiz’s activity title, completion and description Click on ‘Import’ link Confirm you do not see the quiz’s activity title, completion and description Click on ‘Export’ link Confirm you do not see the quiz’s activity title, completion and description Click on ‘Categories’ link Confirm you do not see the quiz’s activity title, completion and description Resource / File Log in as a teacher Go to the activity Click on the settings page Update the settings: Display - Embed Display resource description - Disabled Confirm you do not see the activity’s description Confirm you do see the activity title and completion Update the settings: Display - Automatic Confirm you do not see the activity’s description Confirm you do see the activity title and completion Click on the settings page Update the settings: Show size - checked Show type - checked Confirm you do see the activity’s description, activity title and completion Confirm you see the file information - size and type Click on the settings page Update the settings: Display - Inframe Click the 'Save and display' button Confirm in the top portion of the screen you see the following: title Description File size and type Right click on the moodle page Inspect the content Confirm there is only a single element with the id 'maincontent' Scorm Log in as a teacher Go to the activity Confirm you do not see the activity’s description in the activity header (NOTE: Description appears within the tabbed content) Confirm you do see the activity title and completion Click on Reports Confirm you do see the activity title Confirm you do not see the activity completion and description Survey - Requires 2 browsers In browser 1, login as a teacher Go to the activity Confirm you see the title, completion info and description in the header Click on ‘Response reports’ Confirm you do see the activity title Confirm you do not see the activity completion and description In browser2, login as a student Go to the survey page Confirm you see the title, completion info and description in the header Complete the survey Once finished, confirm you do see the title, completion info in the header Confirm you do not see the description in the header In browser1, go to the settings tab Update the following settings: Survey type - Critical Incidents In browser2, refresh the page Confirm you do see the title, completion info and description in the header URL Log in as a teacher Go to the ‘URL’ activity Confirm you see the activity title, completion and description Click on the settings page and update the following: Display - ‘Embed’ Confirm you see the activity title, completion Confirm you do not see the description Click on the settings page and update the following: Display - ‘inframe’ Confirm you see the activity title Right click on the moodle page Inspect the content Confirm there is only a single element with the id 'maincontent' Go to the ‘BrokenURL’ activity Confirm you see the activity title and completion Confirm you see the description only displayed once. Wiki Log in as a teacher Go to the activity Click on the ‘Files’ link Confirm you do see the activity title, completion and description Click on the 'Edit files' button Confirm you see title and description Confirm you do not see the completion info Click on the Comments link Confirm you do see the activity title, completion and description Log in as a student Repeat #2-#6 Page Log in as a teacher Go to the activity Go to settings tab and update the settings: Display page name - unchecked Display page description - unchecked Click on ‘Save and display’ Confirm you do NOT see the activity title and description Confirm you see the completion displayed Go to settings tab and update the settings: Display - 'In pop-up' Display page name - checked Display page description - checked Click on ‘Save and display’ Go back to the course home page Click on the Page activity In the pop up window, confirm you see the completion details and description Confirm you do not see activity title Workshop (Requires 2 browser) In browser 1, Log in as a teacher Go to the activity Confirm you do see the title WITH a help icon and completion details in the header Click on the 'Assessment form' Click on the 'Save and preview' button Confirm you can see the activity title Confirm you do not see the completion details and description Click on the ‘Switch to the submission phase’ Confirm you do not see the activity’s completion and description Confirm you see the activity title Click on the ‘Confirm’ button Click on the ‘Allocate submissions’ within the ‘Submission Phase’ column Confirm you do not see the completion and description Confirm you see the activity title Click on the ‘Submit your work’ link in the ‘Submission phase’ column Confirm you do not see the activity’s completion and description Confirm you see the activity title Click on the ‘Edit assessment form’ in the Setup phase column Confirm you do not see the activity’s completion and description Confirm you see the activity title Go to the settings page and update the following: Enable Assessment settings > 'Use self-assessment' In the activity page, click on 'Switch to the submission phase' In Browser2, Login as a student Go to the workshop page Click on the 'Submit your work' link Provide a submission In browser1, click on the 'Allocate submissions' link In the 'Participant is reviewed by' column, select the student in the Add reviewer dropdown Click on the 'Workshop' tab Click on the 'Switch to the assessment phase' In browser 2, go to the workshop view page Click on the 'Assess' button Confirm you do not see the activity description and completion details Confirm you see the activity title Repeat all on boost Note: Activity titles are disabled by default
    • Story Points:
      5
    • Sprint:
      Navigation push 6, Navigation push 7, Navigation push 9

      Description

      Currently the activity module is responsible for displaying the activity title, description, and activity completion information.

      For the purpose of being able to place a select menu, if required, for navigation setting backward compatibility we want to be able to place the select menu with all of the other 'tertiary' navigation buttons.

      So we need an API which each module can feed information into and we can standardise how this is shown through out all of Moodle.

       

      EDIT: after reviewing the final designs for the activity cards and the order of how we will display the information there, we want to ensure that inside the activity the information is displayed in the same order:

      1. Completion conditions
      2. Activity dates
      3. Description

      It would look like this:

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              peterdias Peter Dias
              Reporter:
              abgreeve Adrian Greeve
              Peer reviewer:
              Mihail Geshoski Mihail Geshoski
              Integrator:
              Ilya Tregubov Ilya Tregubov
              Participants:
              Component watchers:
              Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Fix Release Date:
                13/Dec/21

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days, 1 hour, 32 minutes
                  4d 1h 32m