Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19266

Add support for detecting when the XWiki UI and content are fully loaded

    XMLWordPrintable

Details

    • Integration
    • Medium

    Description

      Some parts of the XWiki UI are loaded asynchronously, after the HTML page is loaded. It's important to know when the XWiki UI is ready (fully loaded) for:

      • client-side PDF export
      • functional tests

      We need to:

      • Define / implement an API to (1) notify us when the page is ready and (2) to allow other JavaScript modules to "postpone" the ready state until they are ready
      • Use this API for the common JavaScript that is loaded in every page in view mode
      • Progressively use the API for macros and other JS modules that may be used in a wiki page
      • Examples of macros to change to use the API:
        • attachments (live table)
        • children (jstree)
        • gallery
        • live data
        • notifications
        • page tree (jstree)
        • pages (live table)
        • tree (jstree)

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: