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

Add page limit persistence to timeline block

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6
    • 3.5, 3.6
    • Blocks
    • MOODLE_35_STABLE, MOODLE_36_STABLE
    • MOODLE_36_STABLE
    • MDL-63817-master
    • Hide

      PHPUnit tests provided
      Prerequisites:

      1. (single/multiple) courses with atleast 10 activities in total with due dates in the future
      2. Have the Timeline block in the dashboard

      Manual instructions (Test with Boost and clean):

      1. Login as any user
      2. Set sort to 'sort by dates' option
      3. Select the filter "All" from the dropdown
      4. Toggle the page limit
      5. Confirm additional activities show up
      6. Reload page
      7. Limit should persist and be automatically selected (and match selected value in 4)
      8. The number of assignments displayed should match upto the limit specified( in 4)
      Show
      PHPUnit tests provided Prerequisites: (single/multiple) courses with atleast 10 activities in total with due dates in the future Have the Timeline block in the dashboard Manual instructions (Test with Boost and clean): Login as any user Set sort to 'sort by dates' option Select the filter "All" from the dropdown Toggle the page limit Confirm additional activities show up Reload page Limit should persist and be automatically selected (and match selected value in 4) The number of assignments displayed should match upto the limit specified( in 4)

      The blocks should remember the "per page" option the user has selected in their paged content widgets so that when the page is reloaded the same number of items is rendered again rather than being reset to the default value.

      E.g. the timeline block has options to view 5,10,25 courses per page but it doesn't remember which option the user selected and will default back to 5 on each page load.

        1. MDL-63817.PNG
          57 kB
          Anna Carissa Sadia

            peterdias Peter Dias
            peterdias Peter Dias
            Simey Lameze Simey Lameze
            David Monllaó David Monllaó
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m

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