Work / Case study 01 of 04
Two interfaces, one scheduling app
A desktop app for time off, weekly schedules and team availability. I added a modern React interface inside the existing executable, so people could move over when they were ready instead of waiting for a rewrite.
- 2 UIsin one executable
- ~5,800automated tests
- 20reports in five categories
- 01Employee or managerChooses classic or new UI
- 02React shellHosted in WebView2
- 03Message bridgeNamed, HTTP-shaped routes
- 04Shared C# servicesUsed by both UIs
- 05Database + flowsData, approvals, notifications

Problem
Time-off requests, weekly work schedules and team coverage lived in separate calendars, spreadsheets and follow-up messages. Employees and managers had to piece together who was working, who was away and which requests needed a decision. Every request and every weekly schedule went through that friction.
Process
The lifecycle the app supports:
- Time off: request, then overlap and balance checks, then manager review (approve, hold or reject), then notifications. Later releases added withdrawals, review queues for held and completed requests, bulk decisions, and delegated approval with a start and end date.
- Scheduling: build the week, check readiness (tasks below required staffing, people with no tasks), copy a previous week or generate a rotation, then publish. Rotations respect pending, approved and held time off.
- Exceptions: a request that breaks a rule, two managers deciding the same request, a manager who has left. Each settled decision is recorded as a numbered ruling so it isn’t reopened by accident.
Build
The app is a .NET WinForms desktop app over a relational database. The obvious move was a rewrite. Instead, I put a React and TypeScript single-page app inside the same executable, hosted in WebView2. Users switch between the classic and new interfaces at runtime. If the new shell can’t start, the app falls back to classic, so nobody is ever left without a working tool.
The React client never talks to the database. It calls named routes over a message bridge with an HTTP-shaped envelope. C# handlers on the other side reuse the existing services, authorize every id they receive, and log their duration. Because the envelope already looks like HTTP, moving off the desktop later means replacing the transport, not the app.
Keeping two UIs honest takes discipline:
- One local gate. A single command runs the build, a TypeScript check, the unit-test suite and a bundle-freshness check, and fails on any problem.
- Convention guards. About 40 test suites read the TypeScript client as text and enforce rules a compiler can’t, such as “a failed load must never render as an empty list or a zero”.
- Strict release builds. A test proves the bytes embedded in the executable match the bundle that was built.
Outcome
Time off, scheduling, availability, notifications and reporting now live in one tool. The new interface covers about 15 destinations, and the app ships regular releases with a detailed changelog. The design lets people move over gradually, with the classic UI as a safety net, instead of forcing a big-bang cutover.
What I learned
The hard part wasn’t building the new screens. It was keeping two interfaces behaving identically. A written list of known parity gaps, and tests that treat “unknown” and “zero” as different things, did more for quality than any single feature.
More screens

Screens use demo or synthetic data. Names, identifiers and internal systems are invented, generalised or blurred. Numbers are approximate.

