We’ve have some discussions about building reusuable UI widgets that can be shared across multiple OWAs so that each OWA doesn’t need to create it’s own header, patient header, breadcrumbs, etc, see:
To start us moving in that direction, I’ve created a new project the “Reference App Reusable UI Components” to start tracking some of the key things that need to be designed and built out. Hopefully, we can wrangle some resources to start working on this stuff soon. I encourage anyone who is interested to review the tickets and feel free to comment on them, or comment here.
@mogoodrich I see that the linked project so far only has tickets for ReactJS components. Just to be clear, is the project intended only for ReactJS components or is it intended for other frameworks as well (the obvious being angular of course)? If it is the later how does openmrs-contrib-uicommons module factor into all this? Also considering that angular has moved to angular 6 (if I am up to date enough ) and this may be a separate topic, are there any plans to move to later versions of angular?
In the meantime I am willing to create an angular patient header component but I am not exactly sure where this would go. Any pointers?
I just realized I need something very simple to begin with. I won’t be working on the angular patient header, at least not soon.
If you are not going to have synchronized release versions and artifacts across these codebases, I suggest you do not have a shared JIRA project for them. And definitely I wouldn’t put them in the same github repo if they’re not going to be worked on by the same developers, or released on the same cadence.
A fair point… so I will definitely keep openmrs-contrib-reactcomponents separate.
I also renamed the project to “React UI Components”.
So @willa we’d either want to create a JIRA project for “contrib-uicommons” (if it doesn’t already exist) or create a new project to along with with whatever new package is created for angular components.