Mangelrapport
Internal desktop web app for documenting missing instruments from repair trays, with T-DOC screenshots, live print preview, shared Turso storage, and automatic cleanup.
Web app for documenting missing instruments in the sterile supply department. Each report captures the tray ID, tray name, date, missing instrument numbers, quantities, and pasted screenshots from T-DOC, so the team can keep one shared overview instead of relying on notes and hallway updates.
Why I built it
When an instrument is missing from a repair tray, the information needs to be visible to the small team handling those cases. Before this, missing instruments were tracked with notes, verbal updates, and ad hoc screenshots. Mangelrapport gives the team a shared browser app where every active report can be created, edited, printed, and cleaned up consistently.
How it works
Staff use a three-column desktop interface: report list, editor, and live print preview. A report can contain multiple missing instruments, each with quantity, instrument number, and an optional pasted T-DOC screenshot. Reports older than seven days are highlighted with a yellow background, so aging cases stand out before they drift into the routine. Images are compressed in the browser, stored with the report, and shown both as editor thumbnails and in the printable image collage.
Changes save through Cloudflare Pages Functions to Turso, with debounced inputs, optimistic UI, rollback on failed saves, and periodic refresh so multiple workstations stay in sync. Reports older than 60 days are cleaned up automatically, and Cloudflare Access protects the app at the host level.
Built with vanilla HTML, CSS, and JavaScript on Cloudflare Pages, backed by Turso through Pages Functions.