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

Admin UI for app definitions

    XMLWordPrintable

Details

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

    Description

      As a system administrator I want to be able to define custom app configurations for my implementation, so that I can define custom apps without needing to create a module.

      Background

      See AF-44, which this story depends on.

      Scope

      The goal of this ticket is to get something minimally working, accepting that this is going to be a pretty bad user interface

      Acceptance Criteria

      Before doing this story, you need to do the ticket AF-44. (However that ticket can't be put on this sprint's board, since it's in a different project.)

      1. From within the System Administration app, there is a Manage Apps link that opens an app defined In the (appui or referenceapplication) module
      2. This app shows a table that lists all apps in AppFrameworkService.getAllApps()
      3. Each row in the table shows whether the app is enabled or disabled, and have a link to toggle enabled/disabled to the other state
      4. Each row whose app is defined in the table from AF-44 should say "implementation-defined" and have a link to edit its definition, and a link to delete it. Others should say "built-in" and have no edit or delete links.
      5. There should be an "Add App" link, which takes you to a page where you specify all columns from AF-44 (probably just app_id and json), and saves a new implementation-defined app to the database
        • the json should be defined in a big textarea. you should not be allowed to click save if the json is syntactically invalid, and cannot be deserialized to an AppDescriptor using jackson
      6. Clicking the edit link takes you to an edit page which has the same implementation as the create page from the previous AC (but the app_id is not editable)

      Notes

      Gliffy Diagrams

        Balsamiq Wireframes

          Attachments

            1. mockup.bmml
              5 kB
            2. mockup.png
              mockup.png
              83 kB

            Issue Links

              Activity

                People

                  ddesimone David DeSimone
                  darius Darius Jazayeri
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                    Created:
                    Updated:
                    Resolved:

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0 minutes
                      0m
                      Logged:
                      Time Spent - 6 hours
                      6h