Uploaded image for project: 'Reference Application'
  1. Reference Application
  2. RA-1370

Clean up the constraints on the Dashboard widgets to show data within the Reference Application

    XMLWordPrintable

    Details

    • Complexity:
      Undetermined

      Description

      Background

      If there is no recent data available, the default-configured patient dashboard looks confusing since there are some headings without any data under them.

      Dev Notes

      Go through all of the widgets listed on https://wiki.openmrs.org/x/IoC8Bg, and:

      • ensure that if there is no data available, the display is not blank. (E.g. the "LATEST OBSERVATIONS" widget on the demo server currently shows nothing for a new patient.)
      • If there is no data available, and a maxAge parameter was configured on the widget, then instead of just displaying "None", it should display "None in the last (time period)".

      See how these are configured out of the box at:
      https://github.com/openmrs/openmrs-module-coreapps/blob/master/omod/src/main/resources/apps/dashboardWidgets_app.json

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ibacher Ian Bacher
                Reporter:
                ssmusoke Stephen Senkomago Musoke
                Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: