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

Clicking on Calendar date through Course page should select course in dropdown and show course events on Calendar event page

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.2, 4.2.1, 4.4
    • Calendar
    • MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_404_STABLE
    • MDL-78850-main
    • Hide

      The Behat has covered most of the testing.

      Manual Testing

      A. Course Index and the course dropdown

      1. Login as admin
      2. Create a course
      3. Go to the course
      4. Add a block calendar
      5. Verify that the block calendar has a Course calendar link at the footer
      6. Click the Course calendar link
      7. Verify that the course index drawer is not visible.
      8. Verify that the breadcrumb is not visible.
      9. Verify that the dropdown course has the course name selected.
      10. Verify that the header has a "Calendar" text followed by the course name e.g. "Calendar: Course name 1", and the course name has a link.
      11. Click the course name link
      12. Verify that the user is redirected to the correct course page.

      B. Switch between courses

      1. Login as admin
      2. Create two courses
      3. Go to the dashboard page
      4. Verify that the calendar footer has a Full calendar link.
      5. Click the Full calendar link
      6. Verify that the header has a "Calendar" text only.
      7. Create a course event for each course with the current date.
      8. Verify that the calendar displays the two course events.
      9. At the dropdown course, select the first course
      10. Verify that the header has a "Calendar" text followed by the first course name e.g. "Calendar: Course name 1", and the course name has a link.
      11. Verify that the calendar displaying the course event owned by the selected course.
      12. At the dropdown course, select the second course
      13. Verify that the header has a "Calendar" text followed by the second course name e.g. "Calendar: Course name 2", and the course name has a link. 
      14. Verify that the calendar displaying the course event owned by the selected course.
      15. Click the New event button
      16. Verify at the modal window that the second course name has been selected automatically.
      17. Close the modal.
      18. At the dropdown course, select the All courses
      19. Verify that the header has a "Calendar" text only.
      20. Verify that the calendar displaying the two course events.
      21. Click the New event button
      22. Verify at the modal window that the type of event has a user option selected.
      Show
      The Behat has covered most of the testing. Manual Testing A. Course Index and the course dropdown Login as admin Create a course Go to the course Add a block calendar Verify that the block calendar has a Course calendar link at the footer Click the Course calendar link Verify that the course index drawer is not visible. Verify that the breadcrumb is not visible. Verify that the dropdown course has the course name selected. Verify that the header has a "Calendar" text followed by the course name e.g. "Calendar: Course name 1", and the course name has a link. Click the course name link Verify that the user is redirected to the correct course page. B. Switch between courses Login as admin Create two courses Go to the dashboard page Verify that the calendar footer has a Full calendar link. Click the Full calendar link Verify that the header has a "Calendar" text only. Create a course event for each course with the current date. Verify that the calendar displays the two course events. At the dropdown course, select the first course Verify that the header has a "Calendar" text followed by the first course name e.g. "Calendar: Course name 1", and the course name has a link. Verify that the calendar displaying the course event owned by the selected course. At the dropdown course, select the second course Verify that the header has a "Calendar" text followed by the second course name e.g. "Calendar: Course name 2", and the course name has a link.  Verify that the calendar displaying the course event owned by the selected course. Click the New event button Verify at the modal window that the second course name has been selected automatically. Close the modal. At the dropdown course, select the All courses Verify that the header has a "Calendar" text only. Verify that the calendar displaying the two course events. Click the New event button Verify at the modal window that the type of event has a user option selected.
    • 2
    • Team Hedgehog 2023 Sprint 4.2, Team Hedgehog 2023 Sprint 4.3, Team Hedgehog 2023 Review 4, Team Hedgehog 2024 Sprint 1.1, Team Hedgehog 2024 Sprint 1.2

    Description

      Calendar block can be added on dashboard as well as course main page but when added on course page, it should select course in the dropdown and show only course events by default when clicked on a particular date.

      This fix will be helpful for teacher role as when he/she tries to create a course event, he/she has to select the course from the dropdown though he/she has launched the course.

      This will solve user experience issue for teacher role whenever he/she wants to create/view a course event from the calendar block added in the course.

      ==================

      During work, there are several tasks that need to be completed based on the results of our discussion with the UX team:

      1. The course selection should remain in the calendar view.
      2. The notification banner will be removed, and a new improvement issue will be created to address it.
      3. The link to the header course name should be kept.
      4. When users create a new event, the course field should automatically select the course where the user is regardless of the course they have selected in the course dropdown at the calendar view. But , this is just a default and the user can change it if they want.

      Attachments

        Issue Links

          Activity

            People

              meirza.arson@moodle.com Meirza
              santoshnagargoje Santosh Nagargoje
              David Woloszyn David Woloszyn
              Votes:
              5 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 7 hours, 22 minutes
                  1w 7h 22m

                  Clockify

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