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

Dashboard Template Widget

    XMLWordPrintable

Details

    • Story
    • Status: Approved
    • TBD
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Create a template app together with a fragment, which allows one to define an icon and a title of the widget.

      All widgets will share icon and title config options, which should be defined in a template app as e.g. in https://github.com/openmrs/openmrs-module-coreapps/blob/master/omod/src/main/resources/apps/coreappsAppTemplates.json

      Apps should be defined using instanceof pointing to that template as in https://github.com/openmrs/openmrs-module-coreapps/blob/master/omod/src/main/resources/apps/activeVisits_app.json#L4

      Along with the app template, they should reuse a fragment for displaying icon and title.

      You can extract the template and the fragment from any exisiting widget, see e.g. RA-1293.

      Both the template and the fragment should be created before any widget from the Patient summary widgets epic (RA-1299).

      Gliffy Diagrams

        Attachments

          Activity

            People

              raff Rafal Korytkowski
              raff Rafal Korytkowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d