Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

About

We're building a new frontend for OpenMRS via a collaborative process that leverages modern frontend technologies. These technologies will enable OpenMRS users and developers around the world to share more frontend functionality, reduce duplicated effort, and have a better user experience. 

Quick Links

Here are the most important links for this project, aside from the actual code. High-level project documentation and information about how to join us can be found below.

Note: If you are new to this page, please review this page's contents before clicking on these buttons. These are convenient links to team resources but should only be utilized after completing basic onboarding.

Auibutton
custom-iconcheckbox
iconview
titleDEMO SITE
typeprimary
urlhttps://openmrs-spa.org/openmrs/spa
targettrue
 u: admin p: Admin123

Project documentation

Auibutton
custom-iconcode
iconcustom
titleDeveloper Documentation
typeprimary
urlhttps://openmrs.github.io/openmrs-esm-core/#/
targettrue
 
Auibutton
custom-iconqueues
iconcustom
titleImplementer Documentation
typeprimary
urlFrontend 3.0 Documentation for Implementers
targettrue

Where to find work

Auibutton
custom-iconcheckbox
iconcustom
titleLive Tickets Dashboard
typeprimary
urlhttps://issues.openmrs.org/secure/Dashboard.jspa?selectPageId=15950
targettrue
 
Auibutton
custom-iconbacklog
iconcustom
titleTeam Jira Board
typeprimary
urlhttps://issues.openmrs.org/secure/RapidBoard.jspa?rapidView=231&view=planning&selectedIssue=MF-449&epics=visible&issueLimit=100&selectedEpic=MF-335
targettrue
 
Auibutton
iconconfigure
titleKey GitHub Repos
typeprimary
urlhttps://wikiopenmrs.openmrsatlassian.orgnet/wiki/display/projects/OpenMRS+3.0%3A+A+Frontend+Framework+that+enables+collaboration+and+better+User+Experience#OpenMRS3.0:AFrontendFrameworkthatenablescollaborationandbetterUserExperience-RepositoriesYouShouldKnowAbout
targettrue

Designs

Auibutton
custom-iconworld
iconcustom
titlePublic: Patient Chart Designs
typeprimary
urlhttps://app.zeplin.io/workspace/60d4d9bc220676b218e75ed2/projects
targettrue
 
Auibutton
custom-iconworld
iconcustom
titlePublic: Offline Designs
typeprimary
urlhttps://app.zeplin.io/workspace/60d4d9bc220676b218e75ed2/projects
targettrue
Auibutton
custom-iconworld
iconcustom
titlePublic: OHRI Designs
typeprimary
urlhttps://app.zeplin.io/workspace/60d4d9bc220676b218e75ed2/projects
targettrue
Auibutton
custom-iconnew-edit
iconcustom
titleDetailed: Designs Ready for Development
typeprimary
urlhttps://app.zeplin.io/workspace/60d4d9bc220676b218e75ed2/projects
targettrue
Auibutton
custom-icongallery
iconcustom
titleDetailed: Styleguide
typeprimary
urlhttps://app.zeplin.io/styleguide/60d5ecb9efdcd81256117e7d/components
targettrue

How to Work with the Designs

Auibutton
custom-iconvideo-filled
iconcustom
titleZeplin how-to for devs
typeprimary
urlhttps://youtu.be/SjluEGDH4LU
targettrue
 
Auibutton
custom-iconcamera
iconcustom
titleStyleguide (Re-useable Styled Components)
typeprimary
urlhttps://app.zeplin.io/project/5f7223cfda10f94d67cec6d0/styleguide/components
targettrue

Current Status 

Status
colourGreen
titleVERY ACTIVE

How does this project fit in with the strategy?

We are working on 3 main goals that will unlock better frontend collaboration across OpenMRS:

  1. Plug-and-Play Frontend Architecture: makes it possible for frontend feature development to be shared across teams, organizations, and distributions
  2. Implementer Tooling: makes it easier for non-developers to configure the product to the needs of their organization or site
  3. A friendly, modern, consistent User Experience: with a professional UX framework, this further unlocks frontend feature-sharing, and creates a 3.0 option of the OpenMRS RefApp

Background

Watch this 15 minute video that will give you a better understanding of our vision.

Strategic Fit for OpenMRS

Auibutton
custom-iconvideo-filled
iconcustom
titleWhy Microfrontends?
typestandard
urlhttps://www.youtube.com/watch?v=XDIIuM7Ffas&list=PL5jj7JoBifSnuNkGytL6m4IQ2OuV9lbq1&index=8&ab_channel=OpenMRS
targettrue
Auibutton
custom-iconvideo-filled
iconinfo
titleHigh-Level Strategy
typestandard
urlhttps://talk.openmrs.org/t/an-amazing-future-for-openmrs/22328
targettrue
Auibutton
custom-iconvideo-filled
iconinfo
titleSPA Proposal Explained
typestandard
urlhttps://docs.google.com/presentation/d/1sv0n_15Zp9HNusdSagOXnBO7Kbh2qURMQj3a8OR8ndo/edit#slide=id.g5681fc88ca_0_171
targettrue
Auibutton
custom-iconvideo-filled
iconinfo
titleDetailed Technical Vision
typestandard
urlhttps://www.youtube.com/watch?v=XDIIuM7Ffas&list=PL5jj7JoBifSnuNkGytL6m4IQ2OuV9lbq1&index=8&ab_channel=OpenMRS
targettrue

Decision Making Process

We use an RFC (Request For Comments). Major decisions are made through GitHub pull requests where anyone can comment.

Auibutton
custom-iconvideo-filled
iconinfo
titleOMRS Frontend RFC
typestandard
urlhttps://github.com/openmrs/openmrs-rfc-frontend
targettrue

How to Join

Weekly Meeting Information

When: Thursdays at 4pm UTC / 9:30pm IST/ 7pm EAT / 5pm CET / 11am ET / 8am PT

Where: Zoom link for computer or mobile

What Happens On These Calls:

  1. Dev Demo: latest work done (if it’s the end of a sprint, we also do the full sprint demo)
  2. Dev Discussion: Any blockers or things to clarify
  3. Product Priorities: We clarify any epics or issues that need more ownership or to be prioritized
  4. Design Updates: We wrap up by looking together at the latest design work, so we know what designs are soon to be ready for development 

Notes: Notes for meetings

Other Meeting Resources

Talk: Hyperlink

Slack channel: #microfrontends

GitHub: Link to Git page

Website Board/Additional Forum: Additional site link

How to Contribute

  1. Check the Developer's Guide: Use our Developer's Guide to get started. Look for answers there. 
    Auibutton
    iconinfo
    titleDev Guide
    typeprimary
    urlhttps://openmrs.github.io/openmrs-esm-core/#/
    targettrue
     If you are still unsure about a question, double check the short videos in the Dev Tutorials, and make sure you're familiar with the MF Tooling tutorial  and the MF Extensions Tutorial. If you are still stuck after double-checking the Dev Guide for answers, ask our squad in the #microfrontends.
  2. Introduce Yourself: Come say hello on our Slack channel (listed above).
  3. Find Intro Tickets: Intro tickets you can use to start contributing are available here: 
    Auibutton
    custom-iconcheckbox
    iconcustom
    titleOpen Issues to Get Started
    typeprimary
    urlhttps://issues.openmrs.org/secure/Dashboard.jspa?selectPageId=15950
    This dashboard shows the latest Intro and Non-Intro tickets that need to be taken on to support the MicroFrontend work. This also shows the different features (via Epics) that are currently underway. 
    1. Note: To view the designs in detail, you'll need an invite to our Zeplin account. Ask Grace Potma& Eric Achillah for help - @grace & @Eric on Slack. Make sure you also review our short How to Use Zeplin video.
    2. Please assign tickets to yourself before starting work. This helps avoid confusion and accidental duplication of work. Double-check the ticket's Epic for other related work before working on things outside the described scope of the ticket - you may accidentally be replicating a feature someone else is already working on.
    3. Please only take 1-2 tickets at a time. This helps you to focus on getting 1-2 things done at a time. If you assign yourself to multiple tickets, this prevents others from working on them, so please be considerate of others and only pick up 1-2 tasks at a time. When those are done, you can assign yourself another 1-2 other tasks. If you have submitted your PR for 2 tickets and are still waiting for feedback, it is okay to pick up another ticket, so long as you promptly respond to the feedback on your original tickets so that work can be merged promptly.
  4. Meet Us! Come to a weekly squad call to learn more about what we do and get hands-on experience.
  5. Sprints: Become part of our regular sprints. This will happen naturally as you join our calls, though you don't need to join all calls in order to participate. Here is our active board. We use epics to break down features and widgets, and we typically work in 3-week sprints. 
    Auibutton
    custom-iconboard
    iconcustom
    titleActive Sprint Board
    typestandard
    urlhttps://om.rs/mfboard
    targettrue
    Auibutton
    custom-iconbacklog
    iconcustom
    titleSquad Backlog & Sprints
    typestandard
    urlhttps://issues.openmrs.org/secure/RapidBoard.jspa?rapidView=231&view=planning.nodetail&epics=visible&issueLimit=100
    targettrue

More Information


Background Color
colorblue

(1) Plug & Play Architecture: The frontend stack we're building on using Micro Frontends

Goal: Frontend architecture designed for extensible and configurable apps and widgets.


What are Microfrontends? Microfrontends are in-browser javascript modules (ESMs) that provide application UI. They make it possible to have extensible, configurable and independently deployable frontend features. It means you can get your frontend live and updated fast

Our MF Framework is Single-SPA: We chose to use single-spa, the most popular microfrontends framework, as the basis upon which to build this new frontend architecture.

Our MF Tech Stack: Primarily React, HTML and CSS, but it's not unfeasible that one could choose to develop in a JavaScript framework of their choosing - that's the whole premise behind microfrontends after all.

Repositories You Should Know About

Frontend 3.0 uses a framework called esm-framework, which is housed in openmrs-esm-core, along with the app shell and tooling. Distributions will use these core modules and package a number of Microfrontends which are built on them. The reference application is made up of all the microfrontends found in the following repositories:

Special mention for openmrs-rfc-frontend which is a git repo that facilitates a democratic process where folks can propose changes to the frontend implementation via RFCs (Request For Comments). Please read, for example, the Contributing Guidelines for Microfrontends, which were established with RFC #20.

Auibutton
iconconfigure
titleGitHub: esm-core
typeprimary
urlhttps://github.com/openmrs/openmrs-esm-core
targettrue
Auibutton
iconinfo
titleDev Guide
typeprimary
urlhttps://github.com/openmrs/openmrs-esm-core/tree/master/docs
targettrue
Auibutton
custom-iconvideo-filled
iconcustom
titleTutorial
typeprimary
urlhttps://www.youtube.com/watch?v=KDC8DwPWwjc&ab_channel=FlorianRappl
targettrue


Background Color
colorblue

(2) Implementer Tooling: Tooling we're building to make MFE easier for implementers to configure

Goal: Enable both developers and non-developers to easily configure their distribution, and re-use that configuration rapidly. 


Auibutton
custom-iconvideo-filled
iconcustom
titleDemo
typeprimary
urlhttps://www.youtube.com/watch?v=xhtVoNnZoec&list=PL5jj7JoBifSnuNkGytL6m4IQ2OuV9lbq1&index=7&ab_channel=OpenMRS
targettrue

Auibutton
iconconfigure
titleImplementer Tool App on GitHub
typeprimary
urlhttps://github.com/openmrs/openmrs-esm-core/tree/master/packages/esm-implementer-tools-app
targettrue
  openmrs-esm-implementer-tools-app is an in-browser javascript module provides a UI for viewing and editing configurations, and viewing other administrative information about the frontend application. It is part of the Extension System.

Auibutton
iconconfigure
titleImplementer Config Library on GitHub
typeprimary
urlhttps://github.com/openmrs/openmrs-esm-core/tree/master/packages/esm-config
targettrue
This is the configuration library for OpenMRS Microfrontends. It makes configurability easier for developers and configuring easier for implementers.


Background Color
colorblue

(3) Building a Friendly, Modern UX in RefApp v3.0

Goal: Create a better means for building out a shared UI. Modernizing the entire RefApp frontend, using Carbon Design System for UI consistency and faster dev value. Our OpenMRS Reference Application needs to become a Point of Care application, that’s modern, friendly, and works well on tablets. 


We are working on a re-design of the patient chart, starting with end-to-end support for HIV Outpatient Workflows.

We're currently in the process of implementing new designs that leverage the carbon design system for our reference application. (More on why we chose carbon here).

We're not starting from scratch though. Rather, we're migrating from an old set of designs (and an old style guide) to the new designs (and now migrating to use Carbon Design System as well - not all the Carbonizing work is done). As such, it should not be unexpected that gaps will be found in documentation, incomplete implementations, broken functionality and so on as we move to get everything back in order.

Designs:

Auibutton
custom-iconnew-edit
icontime
titleDesigns in Progress
typeprimary
urlhttps://www.sketch.com/s/1dd7e0f7-b96b-4586-846c-5c352fc954e3
targettrue
Auibutton
custom-iconnew-edit
iconcustom
titleDesigns Ready for Development
typeprimary
urlhttps://app.zeplin.io/project/5f7223cfda10f94d67cec6d0
targettrue

Our Design System:

Auibutton
iconinfo
titleCarbon Design System
typeprimary
urlhttps://www.carbondesignsystem.com/components/overview
targettrue
Auibutton
iconinfo
titleRationale for Carbon
typeprimary
urlhttps://wikiopenmrs.openmrsatlassian.orgnet/wiki/pages/viewpage.action?pageId=23527749622572872
targettrue

Our Simple Style Guide for reference:

Auibutton
custom-iconcamera
iconcustom
titleStyleguide (Re-useable Styled Components)
typestandard
urlhttps://app.zeplin.io/project/5f7223cfda10f94d67cec6d0/styleguide/components
targettrue
Auibutton
custom-iconvideo-filled
iconcustom
titleHow to Use Zeplin in Dev Work
typeprimary
urlhttps://youtu.be/SjluEGDH4LU
targettrue

Meet the Members

Finally, member information. This will include the project’s leaders, or any other noteworthy members, sorted by their role and given contact information. It is important to maintain a distinction between teams and squads. All contact tables should be conveyed using the same format. Currently being used is this table below. The left column indicates the different positions, and the corresponding right columns will list the tags of all active members holding those positions.

Project Owners


AMPATH
OpenMRS
Mekom Solutions
Regenstrief Institute
UX Design

Ciarán Duffy, Paul Adams

Sonder Design & AMPATH
Software ArchitectureSmapiot & Mekom Solutions
PIH
Developers, DevOps, QA, BADennis Kigen Donald KibetAMPATH
OpenMRS
Romain BuissonMekom Solutions
Nikita MalyschkinSmapiot & Mekom Solutions
UCSF
PIH
BA/Clinical Feedback
Brown, Backend & FHIR Support
Bett KipchumbaAMPATH, Backend & FHIR Support