ThreadCount Community edition

Uniform stock management for healthcare linen rooms: the coordinator app, the phone counter and the staff app, for your own server. Built from 440e645 on 2026-09-13. Licensed under the Functional Source License (FSL-1.1-ALv2).
This commit is contained in:
ThreadCount
2026-09-13 12:12:58 +10:00
commit cbf533d90b
275 changed files with 43340 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
import { MBar, MBody, MEmpty, MRule, MTop } from "@/components/m";
/* What a staff screen shows when there is nothing behind it.
*
* Nine routes under /my call notFound(): a kit check between rounds, the waitlist with nothing
* offered, the ward and desk screens for somebody without that role, an order that isn't theirs.
* Without this file every one of them rendered the WEBSITE's 404 — marketing nav, "Open the demo",
* a footer — inside the app, over the top of the tab bar, with the hardware back button as the
* only way home. Seen on a Pixel 8 Pro on 2026-09-12 by opening Kit check with no check open.
*
* Next renders the nearest not-found.tsx, so this one stays inside the signed-in layout: same
* chrome, same provider, and a bar that goes home.
*/
export default function StaffNotFound() {
return (
<>
<MTop title="Nothing here" back />
<MRule />
<MBody>
<MEmpty
title="Nothing to show right now"
sub="Theres no screen behind that link at the moment — a kit check that isnt open, a list with nothing on it, or something that isnt yours to see. Nothing on your record has changed."
/>
</MBody>
<MBar label="Back to home" href="/my" />
</>
);
}