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

Render first page of coures overview (myoverview) block in PHP

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.1
    • Fix Version/s: None
    • Component/s: Blocks, Dashboard (My home)
    • Labels:

      Description

      Change the rendering of the myoverview block so that the first page of courses is loaded and rendered on the server and then all subsequent pages are loaded via ajax.

      The current implementation doesn't load any courses on the server. Instead it renders the block with loading placeholder content while it makes the first request to fetch the courses.

      This issue is an alternate approach because there has been lots of criticism of loading content after page load.

      We do NOT have to push forward with this change (even though I've added a patch). It's here to server as a discussion for the best way to implement this and if we so choose then the patch is ready to go.

        Attachments

          Activity

            People

            • Assignee:
              ryanwyllie Ryan Wyllie
              Reporter:
              ryanwyllie Ryan Wyllie
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: