Uploaded image for project: 'App Framework'
  1. App Framework
  2. AF-9

Placeholder "list of apps" homepage for testing purposes

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Complexity:
      Medium

      Description

      You should be able to go to a known URL (e.g. host/openmrs/listOfApps.form) and see a placeholder version of a "homepage showing a list of apps".

      It's likely that OpenMRS distributions will want to override or replace this, so we shouldn't spend significant time on this page at this point.

      The quick solution would be to have a page that just includes the "appFrameworkHomepage" portlet, which already exists in the module. However that might require including the OpenMRS 1.x decorations, whereas this page should really be undecorated.

      If we're not worried about letting client-side code determine which apps are visible for a given user at a given time, then I suggest just creating a Spring MVC controller, and a single JSP page, that show a relatively undecorated page, with appropriate ids and classes so that external CSS can pretty it up.

      If we do want to support letting client-side code determine which apps are visible for a given user at a given time, we'd need to also provide the complete list of apps, along with whatever properties are used to determine whether they're visible, as json, either on page load or via REST.

        Attachments

          Activity

            People

            Assignee:
            nutsiepully Pulkit Bhuwalka
            Reporter:
            darius Darius Jazayeri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: