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

Add "show more" / "show less" options for access restrictions on course page

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • MDL-78204-master
    • Hide

      Setup

      1. Login as administrator
      2. Create a User
      3. Create a Course and enrol User as a student
      4. Create an activity in the course with just one access restriction
        1.  A date in the future
      5. Create another activity in the course with multiple access restrictions
        1. A date in the future
        2. A grade in the course >= 100
        3. Profile field "Country" equal to "Fantasia"
      6. Edit a section and add just one access restriction
      7. Edit another section adding multiple access restrictions
      8. Install and run Component library following Component Library documentation

      Test

      1. Login as student user and acees the course
      2. Confirm restrictions are displayed in sections and activities
      3. Confirm restrictions with one element (both in section and activity) do not display "Show more" button
      4. Confirm restrictions with multiple elements (both in section and activity) display "Show more" button
      5. Confirm "Show more" / "Show less" functionality works correctly
      6. Confirm the UI styling fits the prototype
      7. Confirm the UI styling fits the prototype also in small screens

      Test Component Library

      1. Login as administrator
      2. Go to Site Administration > Development > UI Component library
      3. In the Component library's left menu go to Moodle > Moodle Components > Show more
      4. Confirm Show more component documentation is displayed
      5. Confirm Template examples work correctly
      Show
      Setup Login as administrator Create a User Create a Course and enrol User as a student Create an activity in the course with just one access restriction  A date in the future Create another activity in the course with multiple access restrictions A date in the future A grade in the course >= 100 Profile field "Country" equal to "Fantasia" Edit a section and add just one access restriction Edit another section adding multiple access restrictions Install and run Component library following Component Library documentation Test Login as student user and acees the course Confirm restrictions are displayed in sections and activities Confirm restrictions with one element (both in section and activity) do not display "Show more" button Confirm restrictions with multiple elements (both in section and activity) display "Show more" button Confirm "Show more" / "Show less" functionality works correctly Confirm the UI styling fits the prototype Confirm the UI styling fits the prototype also in small screens Test Component Library Login as administrator Go to Site Administration > Development > UI Component library In the Component library's left menu go to Moodle > Moodle Components > Show more Confirm Show more component documentation is displayed Confirm Template examples work correctly
    • 3
    • HQ 2023 Sprint i2.2 Moppies

      The new activity cards proposed for 4.3 represent activity access restrictions more compactly. This issue is about implementing it.

      Edit mode

      View mode

        1. Edit mode.png
          Edit mode.png
          125 kB
        2. MDL-78204.png
          MDL-78204.png
          436 kB
        3. View mode.png
          View mode.png
          110 kB

            mikelmartíncorrales Mikel Martín Corrales
            tusefomal Ferran Recio
            Amaia Anabitarte Amaia Anabitarte
            Ferran Recio Ferran Recio
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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