Uploaded image for project: 'OpenMRS 3.x Frontend'
  1. OpenMRS 3.x Frontend
  2. O3-1096

All extension slots should always be visible in the implementer tools

    XMLWordPrintable

Details

    • Enhancement
    • Status: To Do
    • TBD
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      This is a result of the fact that extension slots are registered by the components in which they appear, rather than in the front bundle (the index.ts file).

      We should:
      1. Create a way of "registering" an extension slot with nothing but its name & the module it belongs to. Optionally can also "attach" some extensions, the same way extensions has a "slot[s]" parameter.
      2. Modify the app shell so that the `setupOpenMRS` function can also return a `slots` array that gets passed to that registering function.
      3. Make the implementer tools or extension system complain about slots that aren't declared in the `setupOpenMRS` function.
      4. Make the implementer tools display all slots from the registry.

      Gliffy Diagrams

        Attachments

          Activity

            People

              Unassigned Unassigned
              bistenes Brandon Istenes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: