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

Move the calendar into the user menu

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MDL-72834-master
    • Hide

      Testing the upgrade process

      1. Create a new instance without the patch.
      2. Modify customusermenuitems admin setting by adding this entry to the end of the list: privatefiles,moodle|/user/files.php|i/privatefiles
      3. Press Save changes.
      4. Verify that the User profile menu will be something like:
        • Profile.
        • Grades.
        • Messages.
        • Preferences.
        • Private files.
      5. Verify that the Calendar menu does exist in the Navigation menu.
      6. Pull the patch and do the upgrade process.
      7. Verify the customusermenuitems admin setting now have 5 entries. (One more entry).
      8. Verify that there is an entry with value is calendar,core_calendar|/calendar/view.php?view=month|i/calendar in the setting.
      9. Verify that the User profile menu will be something like:
        • Profile.
        • Grades.
        • Calendar. (Was added by the upgrade process)
        • Messages.
        • Preferences.
        • Private files.
      10. Verify that the Calendar menu does not exist in the Navigation menu.
      11. Open the User profile menu.
      12. Click on the Calendar menu.
      13. Verify that you will see the full calendar page.

      Testing the new instance

      1. Create a new instance with the patch.
      2. Verify the customusermenuitems admin setting now have 4 entries. (One more entry).
      3. Verify that there is an entry with value is calendar,core_calendar|/calendar/view.php?view=month|i/calendar in the setting.
      4. Verify that the User profile menu will be something like:
        • Profile.
        • Grades.
        • Calendar. (Was added by default)
        • Messages.
        • Preferences.
      5. Verify that the Calendar menu does not exist in the Navigation menu.
      6. Open the User profile menu.
      7. Click on the Calendar menu.
      8. Verify that you will see the full calendar page.
      Show
      Testing the upgrade process Create a new instance without the patch . Modify customusermenuitems admin setting by adding this entry to the end of the list: privatefiles,moodle|/user/files.php|i/privatefiles Press Save changes. Verify that the User profile menu will be something like: Profile. Grades. Messages. Preferences. Private files. Verify that the Calendar menu does exist in the Navigation menu. Pull the patch and do the upgrade process . Verify the customusermenuitems admin setting now have 5 entries. (One more entry). Verify that there is an entry with value is calendar,core_calendar|/calendar/view.php?view=month|i/calendar in the setting. Verify that the User profile menu will be something like: Profile. Grades. Calendar. (Was added by the upgrade process) Messages. Preferences. Private files. Verify that the Calendar menu does not exist in the Navigation menu. Open the User profile menu. Click on the Calendar menu. Verify that you will see the full calendar page. Testing the new instance Create a new instance with the patch . Verify the customusermenuitems admin setting now have 4 entries. (One more entry). Verify that there is an entry with value is calendar,core_calendar|/calendar/view.php?view=month|i/calendar in the setting. Verify that the User profile menu will be something like: Profile. Grades. Calendar. (Was added by default) Messages. Preferences. Verify that the Calendar menu does not exist in the Navigation menu. Open the User profile menu. Click on the Calendar menu. Verify that you will see the full calendar page.
    • 1
    • HQ Team International CI H2-21, HQ Team International CIH2-212

    Description

      The calendar is to be moved into the user menu as seen in the figma prototype.

      Please (if possible) make it context aware, so that if the user is in a course, it goes to the course calendar.

      EDIT: just discussed this with rafaellechugo and barbararamiro. The link should not be context aware. It should go to the full calendar page, month view, showing all courses.

      E.g. https://school.moodledemo.net/calendar/view.php?view=month

      Attachments

        1. MDL-72834 - New instance - customusermenuitems calendar default.png
          75 kB
          Carlos Escobedo
        2. MDL-72834 - New instance - User menu.png
          73 kB
          Carlos Escobedo
        3. MDL-72834 - Patch - Calendar full page.png
          55 kB
          Carlos Escobedo
        4. MDL-72834 - Patch - customusermenuitems 5.png
          78 kB
          Carlos Escobedo
        5. MDL-72834 - Patch - Navigation - User menu calendar.png
          66 kB
          Carlos Escobedo
        6. MDL-72834 - Without patch - customeusermenuitems.png
          63 kB
          Carlos Escobedo
        7. Screen Shot 2021-11-16 at 8.20.28 pm.png
          195 kB
          Barbara Ramiro
        8. Screenshot from 2021-10-18 16-03-31.png
          259 kB
          Adrian Greeve

        Issue Links

          Activity

            People

              huongn@moodle.com Huong Nguyen
              abgreeve Adrian Greeve
              Mathew May Mathew May
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Carlos Escobedo Carlos Escobedo
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

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