Legacy Frontend Modernization Without a Switch-Over Day: The OpenLMIS Case Study

Legacy frontend modernization architecture showing OpenLMIS AngularJS and React interfaces running side by side

SolDevelo has started a gradual legacy frontend modernization of OpenLMIS, moving its user interface from AngularJS to React one screen at a time while the current UI keeps running. Requisitions, stock management, orders, cold chain equipment and administration have already moved over, and they are live on the OpenLMIS test server, side by side with the interface users know.

OpenLMIS

OpenLMIS is an open-source, web-based logistics management information system designed to support health supply chains, particularly in low-resource settings. It helps governments and organizations manage and track essential medicines, vaccines, and medical supplies, ensuring their availability at health facilities.

SolDevelo has been part of the OpenLMIS Core Team since 2016. We helped build OpenLMIS v3, we take care of new OpenLMIS releases, and we maintain nationwide implementations in Malawi (700+ health facilities), Mozambique, Angola and The Gambia. That is why modernization matters to us: we support the people who use the system every day.

The Challenge: A UI built on a Framework that is Gone

The current OpenLMIS UI was built for version 3 in 2017 on AngularJS, one of the most popular front-end frameworks at the time. It has served implementations well for years. However, official support for AngularJS ended on 31 December 2021, and every year on it adds cost:

  • No official security updates. Fixes have to come from paid extended support or from the project itself.
  • A shrinking talent pool. New contributors learn React, not AngularJS.
  • Slower improvements. Modern libraries, accessibility tooling and design systems target today’s frameworks.

OpenLMIS is not alone here. Many public-sector and global health systems chose AngularJS in the mid-2010s, and all of them face the same question now.

Why not a big-bang rewrite? Rebuilding the whole UI and switching everyone over on a set date would swap one risk for a bigger one: months of parallel work with nothing in users’ hands, a feature freeze while every change lands twice, and one high-stakes cut-over followed by retraining every user at once. Health supply chains do not pause for a migration.

The Solution: Gradual Legacy Frontend Modernization

Instead, the new UI runs next to the current one – an approach we call a dual-boot:

  • Side by side. Both UIs run on the same server and use the same OpenLMIS backend. The new one lives under /v2. Same data, same accounts, and existing links and bookmarks keep working.
  • Screen by screen. Each part of the system moves over on its own, when it is ready.
  • Users choose. Every migrated screen works in both UIs. Users can complete a task in the new one and go back to the current one at any time, so nobody’s work stops.

Home Page

The new home page opens with what needs attention: requisitions to approve and to convert to orders, orders not yet received, and equipment that is not functioning. Below that are requisitions by month and by status, the approvals queue, and cold chain equipment.

Current UI
New UI

Requisitions

The whole requisition cycle runs in the new UI: create or authorize a requisition, fill in the product grid, approve it, and convert it to an order. The grid groups products by category, shows calculated columns as you type, and keeps your work saved on the device until you sync it with the server.

A Family Planning requisition

The approvers see one queue with the facility, period and emergency status of every requisition, and can approve several from the same program at once.

The approval queue

Stock Management

Stock On Hand shows what a facility holds for a program, by product and by lot, with expiry dates and a stock card behind every line. Issue, Receive, Adjustments and Transaction History sit next to it. Date fields take typed dates: type the digits and the field moves on to the month and the year for you.

Stock On Hand by product and lot

A physical inventory shows its progress as you count, and any difference from the stock on hand is highlighted until a reason explains it.

A physical inventory in progress

Orders and proof of delivery

Warehouses find the orders they received in View Orders, then print, download or filter them. Fulfill Orders prepares each shipment lot by lot, with a pick pack list to print. At the receiving facility, the proof of delivery records what was accepted, what came back and why, and who delivered and received it.

Orders received by a warehouse
Recording a delivery

Cold chain equipment

The CCE inventory lists every fridge and freezer at a facility with its functional status, so equipment that needs repair stands out. Status updates, new equipment and a CSV export are one click away.

Cold chain equipment and its status

Administration

Users and their roles were the first area to move over, followed by the reference data pages: facilities, products, programs, supervisory nodes, supply lines and more. Adding a role is guided: the administrator picks a program and a role from searchable lists, and the dialog shows what the role allows before it is added.

Adding a role

Working offline

Health facilities do not always have a connection. Requisitions opened in the new UI stay available on the device, work continues when the connection drops, and changes sync with the server once it is back.

A requisition with no connection

Everyday Improvements

  • Light and dark themes, switchable from the sidebar.
  • Ctrl K search to jump to any page from the keyboard.
  • Phones and tablets supported – layouts rearrange instead of shrinking.
  • A notification bell in the top bar, so system notifications can be read on every page.
  • Clearer errors, shown right below the field they concern and translated into the user’s language.
  • An improved sidebar that keeps several sections open, with controls to expand or collapse them all

The modern frontend stack

The new UI is a single application built on widely used, actively maintained tools, which makes it easier to secure, easier to improve and easier for new contributors to join:

  • Framework & build: React 19, TypeScript and Vite
  • Styling & UI: Tailwind CSS v4 with shadcn/ui on Base UI
  • Routing, data & forms: TanStack Router, TanStack Query and TanStack Form
  • Localization: i18next

It is built with accessibility in mind: the UI can be used with the keyboard, and states such as Active and Inactive carry an icon as well as a color, so they do not rely on color alone.

Two decisions reach beyond OpenLMIS itself:

  • Built for reuse. Shared parts, such as the data table, form fields and dialogs, are written so they can move into SolDevelo Registry unchanged, where any React project can install them with one command.
  • Ready for AI-assisted development. The repository ships written conventions for coding agents alongside the code, so AI tools follow the same patterns as our engineers. As we saw when building a React frontend with AI, speed only helps when the foundations keep the result consistent.

The code is open source, like the rest of OpenLMIS: github.com/OpenLMIS/openlmis-ui.

The results so far

Requisitions, stock management, orders and proofs of delivery, cold chain equipment and  administration are live on the OpenLMIS test server, and the current UI continues to work unchanged next to them. The community is trying them, and the feedback describes the new UI as “very fast and modern looking”.

More screens will move over the same way, one at a time. The order depends partly on the community’s feedback on which parts of OpenLMIS matter most.

The takeaway: legacy frontend modernization for a system people depend on does not require a switch-over day. What is working for us:

  1. Run both UIs side by side, so each screen ships when it is ready.
  2. Migrate by feature, not by layer, so users get complete areas they can use.
  3. Keep the backend and data the same, so there is no data migration to go wrong.
  4. Extract reusable pieces as you go, so the next screen and the next project start further ahead.
  5. Let users compare, so feedback is specific rather than a matter of opinion.

Try the new OpenLMIS UI

Open test.openlmis.org/v2 and sign in with the OpenLMIS demo account (username administrator, password password). Then try the same task in the current UI and in the new one, and share your feedback in the OpenLMIS community Slack or with the SolDevelo team.

Case studies

Discover our other OpenLMIS implementations.

Looking for a Reliable Technical Partner?

From legacy frontend modernization to open-source platforms your teams cannot afford to pause, we modernize critical systems without disrupting the people who use them. Contact our team to talk about your project.

Author

Scroll to Top