Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-2120

Remove dojo imports from patient dashboard

    Details

    • Complexity:
      Low

      Description

      Dojo is still used in a couple places on the patient dashboard. This drastically slows down our page load time over slow connections.

      Where it's used:

      1. the graphs tab uses its concept search widget
      2. patientDashboardForm.jsp uses its addEvent function

      What to do:

      • the first should be replaced by the new jquery-based concept search widget.
      • the second should be replaced by a jQuery(document).ready(function() { ... }

        );

      • remove the imports of dojoConfig.js and dojo.js from both patientDashboardForm.jsp and patientGraphs.jsp.

        Attachments

        1. browser_tests.txt
          2 kB
        2. cache.zip
          468 kB
        3. no_cache.zip
          479 kB
        4. TRUNK-2120.patch
          3 kB

          Activity

            People

            • Assignee:
              ehkimme Emile Kimme [X] (Inactive)
              Reporter:
              darius Darius Jazayeri [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: